struct
GpuProgramParameterDescription
Inherits:
IReflectable
Contains information about all parameters (i.e. uniforms) for a single GPU program, including data/object parameters and uniform buffers.
Public
Methods
TryCombine
Attempts to combine another parameter description into this one.
Parameters with the same name have their stage fields combined. Parameters with the same name but different type, slot, or array size will cause the method to fail.
- other
- The parameter description to combine into this one.
- stage
- The GPU program stage bit to apply to all parameters from .
Returns: Result indicating success or failure with an error message.
SplitBySet
void SplitBySet(TInlineArray<GpuProgramParameterDescription, 4> &output) const
Splits this parameter description into multiple descriptions, one per set.
Each output description contains only the parameters belonging to that set index.
- output
- Array to receive the per-set parameter descriptions. Will be resized as needed.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Fields
UniformBuffers
Map<String, GpuUniformBufferInformation> UniformBuffers
UniformBufferMembers
Map<String, GpuUniformBufferMemberInformation> UniformBufferMembers
Samplers
Map<String, GpuObjectParameterInformation> Samplers
SampledTextures
Map<String, GpuObjectParameterInformation> SampledTextures
StorageTextures
Map<String, GpuObjectParameterInformation> StorageTextures
Buffers
Map<String, GpuObjectParameterInformation> Buffers