ID3D10Effect::GetConstantBufferByName method (d3d10effect.h)
Get a constant buffer by name.
Syntax
ID3D10EffectConstantBuffer * GetConstantBufferByName(
[in] LPCSTR Name
);
Parameters
[in] Name
Type: LPCSTR
The constant-buffer name.
Return value
Type: ID3D10EffectConstantBuffer*
A pointer to the constant buffer indicated by the Name. See ID3D10EffectConstantBuffer.
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 |