(0) exportieren Drucken
Alle erweitern
End
Map
Erweitern Minimieren

ID3D11DeviceContext::PSSetConstantBuffers Method

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

Syntax

void PSSetConstantBuffers(
  [in]  UINT StartSlot,
  [in]  UINT NumBuffers,
  [in]  ID3D11Buffer *const *ppConstantBuffers
);

Parameter

StartSlot [in]

Typ: UINT

Index into the device's zero-based array to begin setting constant buffers to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).

NumBuffers [in]

Typ: UINT

Number of buffers to set (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot).

ppConstantBuffers [in]

Typ: ID3D11Buffer*

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

Rückgabewert

Methode gibt keinen Wert zurück.

Hinweise

The method will hold a reference to the interfaces passed in. This differs from the device state behavior in Direct3D 10.

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11DeviceContext

 

 

Anzeigen:
© 2014 Microsoft