Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a constant buffer by name for a function.
ID3D11ShaderReflectionConstantBuffer * GetConstantBufferByName(
[in] LPCSTR Name
);
[in] Name
Type: LPCSTR
The constant-buffer name.
Type: ID3D11ShaderReflectionConstantBuffer*
A pointer to a ID3D11ShaderReflectionConstantBuffer interface that represents the constant buffer.
A constant buffer supplies either scalar constants or texture constants to a shader. A shader can use one or more constant buffers. For best performance, separate constants into buffers based on the frequency they are updated.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |