ID3D10EffectConstantBuffer::SetConstantBuffer method (d3d10effect.h)
Set a constant-buffer.
Syntax
HRESULT SetConstantBuffer(
[in] ID3D10Buffer *pConstantBuffer
);
Parameters
[in] pConstantBuffer
Type: ID3D10Buffer*
A pointer to a constant-buffer interface. See ID3D10Buffer Interface.
Return value
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |