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 |
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