D3D11DDIARG_POINTERDATA structure (d3d10umddi.h)

The D3D11DDIARG_POINTERDATA structure describes the location of the data that is reference by a class instance that has been assigned to an interface implementation.

Syntax

typedef struct D3D11DDIARG_POINTERDATA {
  UINT uCBOffset : 12;
  UINT uCBID : 4;
  UINT uBaseSamp : 4;
  UINT uBaseTex : 7;
  UINT uReserved : 5;
} D3D11DDIARG_POINTERDATA;

Members

uCBOffset

A UINT value that specifies the offset, in bytes, into the constant buffer that the uCBID member specifies to reach the data for the interface.

Setting this member is equivalent to setting the first 12 bits of a 32-bit value (0x00000FFF).

uCBID

A UINT value that identifies the constant buffer that data for the interface is in.

Setting this member is equivalent to setting bits 13 through 16 of a 32-bit value (0x0000F000).

uBaseSamp

A UINT value that specifies the index of the first sampler that is used by the class instance of the interface implementation.

Setting this member is equivalent to setting bits 17 through 20 of a 32-bit value (0x000F0000).

uBaseTex

A UINT value that specifies the index of the first texture that is used by the class instance of the interface implementation.

Setting this member is equivalent to setting bits 21 through 27 of a 32-bit value (0x07F00000).

uReserved

Reserved for future use. This member makes the size of D3D11DDIARG_POINTERDATA 32-bit aligned and should always be set to zero. Setting this member to zero is equivalent to setting the remaining 5 bits (0xF8000000) of a 32-bit value to zeros.

Remarks

D3D11DDIARG_POINTERDATA contains the location of the data for one of the interfaces that is referred to in a call to the driver's CsSetShaderWithIfaces, DsSetShaderWithIfaces, GsSetShaderWithIfaces, HsSetShaderWithIfaces, PsSetShaderWithIfaces, or VsSetShaderWithIfaces function.

Requirements

Requirement Value
Minimum supported client D3D11DDIARG_POINTERDATA is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CsSetShaderWithIfaces

DsSetShaderWithIfaces

GsSetShaderWithIfaces

HsSetShaderWithIfaces

PsSetShaderWithIfaces

VsSetShaderWithIfaces