ID3D10EffectConstantBuffer::SetConstantBuffer method

Set a constant-buffer.

Syntax


HRESULT SetConstantBuffer(
  [in]  ID3D10Buffer *pConstantBuffer
);

Parameters

pConstantBuffer [in]

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

Header

D3D10Effect.h

See also

ID3D10EffectConstantBuffer Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft