class
render::GpuParameterSet
Render thread version of GpuParameterSet.
Public
Methods
~GpuParameterSet
GetOwnerPool
Returns the descriptor pool this parameter set was allocated from.
SetUniformBuffer
Sets uniform buffer using a pool suballocation at the specified slot.
- slot
- Binding slot within set.
- suballocation
- Pool suballocation handle.
- arrayIndex
- Array index if binding is an array.
Returns: True if successful, false if binding not found.
SetUniformBuffer
Sets uniform buffer using a pool suballocation (by name).
- name
- Parameter name.
- suballocation
- Pool suballocation handle.
- arrayIndex
- Array index if binding is an array.
Returns: True if successful, false if binding not found.
TrySetUniformBuffer
Tries to set uniform buffer using a pool suballocation (no warnings).
- name
- Parameter name.
- suballocation
- Pool suballocation handle
- arrayIndex
- Array index if binding is an array
Returns: True if successful, false if binding not found
~TGpuParameterSet<IsRenderProxy>
GetStructParameter
GetSampledTextureParameter
GetStorageTextureParameter
GetStorageBufferParameter
GetUniformBufferParameter
GetSamplerStateParameter
TryGetStructParameter
TryGetSampledTextureParameter
TryGetStorageTextureParameter
TryGetStorageBufferParameter
TryGetUniformBufferParameter
TryGetSamplerStateParameter
GetUniformBuffer
Gets a uniform buffer from the specified slot/array index combination.
GetSampledTexture
Gets a texture bound to the specified slot/array index combination.
GetStorageTexture
Gets a storage texture bound to the specified slot/array index combination.
GetStorageBuffer
Gets a buffer bound to the specified slot/array index combination.
GetSamplerState
Gets a sampler state bound to the specified slot/array index combination.
GetTextureSurface
Gets information that determines which texture surfaces to bind as a sampled texture parameter.
GetStorageTextureSurface
Gets information that determines which texture surfaces to bind as a storage texture parameter.
SetSampledTexture
Sets a texture at the specified slot.
Returns true if the operation succeeded, otherwise logs and errors and returns false.
SetStorageTexture
Sets a storage texture at the specified slot.
Returns true if the operation succeeded, otherwise logs and errors and returns false.
SetStorageBuffer
Sets a storage buffer at the specified slot combination.
- slot
- Slot at which to bind the buffer, as defined by the pipeline GPU program.
- buffer
- Buffer to bind.
- arrayIndex
- In case the bind point represents an array, index to bind the buffer to.
- view
- Optional view information that controls how is the buffer viewed when bound to the pipeline.
Returns: Returns true if the operation succeeded, otherwise logs and errors and returns false.
SetSamplerState
Sets a sampler state at the specified slot.
Returns true if the operation succeeded, otherwise logs and errors and returns false.
Protected
Constructors
GpuParameterSet
Methods
GetSelf
SyncFromCoreObject
Update internal data from provided memory buffer that was populated with data from the owning CoreObject.