ID3D11Linker::AddClipPlaneFromCBuffer method

Adds a clip plane with the plane coefficients taken from a cbuffer entry for 10Level9 shaders.

Syntax


HRESULT AddClipPlaneFromCBuffer(
  [in]  UINT uCBufferSlot,
  [in]  UINT uCBufferEntry
);

Parameters

uCBufferSlot [in]

Type: UINT

The cbuffer slot number.

uCBufferEntry [in]

Type: UINT

The cbuffer entry number.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11Linker

 

 

Community Additions

ADD
Show:
© 2015 Microsoft