ID3D11Linker::AddClipPlaneFromCBuffer method

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

Syntax

HRESULT AddClipPlaneFromCBuffer(
  UINT uCBufferSlot,
  UINT uCBufferEntry
);

Parameters

uCBufferSlot

Type: UINT

The cbuffer slot number.

uCBufferEntry

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

   
Target Platform Windows
Header d3d11shader.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See Also

ID3D11Linker