ID3D10Device::GSSetConstantBuffers method (d3d10.h)
Set the constant buffers used by the geometry shader pipeline stage.
Syntax
void GSSetConstantBuffers(
[in] UINT StartSlot,
[in] UINT NumBuffers,
[in] ID3D10Buffer * const *ppConstantBuffers
);
Parameters
[in] StartSlot
Type: UINT
Index into the device's zero-based array to begin setting constant buffers to.
[in] NumBuffers
Type: UINT
Number of buffers to set.
[in] ppConstantBuffers
Type: ID3D10Buffer*
Array of constant buffers (see ID3D10Buffer) being given to the device.
Return value
None
Remarks
The method will not hold references to the interfaces passed in. For that reason, applications should be careful not to release interfaces currently in use by the device.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |