ID3D10Effect::GetConstantBufferByIndex method (d3d10effect.h)
Get a constant buffer by index.
Syntax
ID3D10EffectConstantBuffer * GetConstantBufferByIndex(
[in] UINT Index
);
Parameters
[in] Index
Type: UINT
A zero-based index.
Return value
Type: ID3D10EffectConstantBuffer*
A pointer to a ID3D10EffectConstantBuffer Interface.
Remarks
An effect that contains a variable that will be read/written by an application requires at least one constant buffer. For best performance, an effect should organize variables into one or more constant buffers based on their frequency of update.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for