ID3D11Linker::AddClipPlaneFromCBuffer method (d3d11shader.h)

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

[in] uCBufferSlot

Type: UINT

The cbuffer slot number.

[in] 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

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

See also

ID3D11Linker