Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Device::VSSetConstantBuffers method

Set the constant buffers used by the vertex shader pipeline stage.

Syntax


void VSSetConstantBuffers(
  [in] UINT                StartSlot,
  [in] UINT                NumBuffers,
  [in] ID3D10Buffer *const *ppConstantBuffers
);

Parameters

StartSlot [in]

Type: UINT

Index into the device's zero-based array to begin setting constant buffers to.

NumBuffers [in]

Type: UINT

Number of buffers to set.

ppConstantBuffers [in]

Type: ID3D10Buffer*

Array of constant buffers (see ID3D10Buffer) being given to the device.

Return value

Returns nothing.

Remarks

The method will not hold a reference to the interfaces passed in. For that reason, applications should be careful not to release an interface currently in use by the device.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Show:
© 2016 Microsoft