diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-01-23 02:50:28 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-01-23 02:50:28 +0000 |
| commit | 723cfaf532ebd9cf1b377d625ab5020dbf9ae82b (patch) | |
| tree | 216470b6407e4e27f3ce8ba320647cc92722091b /Graphics/GraphicsEngine | |
| parent | PipelineStateBase: added more resource signature parameter validation (diff) | |
| download | DiligentCore-723cfaf532ebd9cf1b377d625ab5020dbf9ae82b.tar.gz DiligentCore-723cfaf532ebd9cf1b377d625ab5020dbf9ae82b.zip | |
Pipeline resource signature: added comments
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/PipelineResourceSignature.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/PipelineResourceSignature.h b/Graphics/GraphicsEngine/interface/PipelineResourceSignature.h index 1eab00d2..8959ced0 100644 --- a/Graphics/GraphicsEngine/interface/PipelineResourceSignature.h +++ b/Graphics/GraphicsEngine/interface/PipelineResourceSignature.h @@ -169,7 +169,12 @@ struct PipelineResourceSignatureDesc DILIGENT_DERIVE(DeviceObjectAttribs) /// The number of immutable samplers in ImmutableSamplers array. Uint32 NumImmutableSamplers DEFAULT_INITIALIZER(0); - /// AZ TODO: comment + /// Binding index that this resource signature uses. + + /// Every resource signature must be assign to one signature slot. + /// The total number of slots is given by MAX_RESOURCE_SIGNATURES constant. + /// All resource signatures used by a pipeline state must be assigned + /// to different slots. Uint8 BindingIndex DEFAULT_INITIALIZER(0); /// AZ TODO: comment |
