D3DDDIARG_SETVERTEXSHADERCONST structure (d3dumddi.h)
The D3DDDIARG_SETVERTEXSHADERCONST structure describes how to set vertex shader constant registers.
Syntax
typedef struct _D3DDDIARG_SETVERTEXSHADERCONST {
[in] UINT Register;
[in] UINT Count;
} D3DDDIARG_SETVERTEXSHADERCONST;
Members
[in] Register
The index of the first vertex shader constant register whose value is set.
[in] Count
The number of constant registers to set and, therefore, the number of values in the array that is passed in the pRegisters parameter in the call to the user-mode display driver's SetVertexShaderConst, SetVertexShaderConstI, or SetVertexShaderConstB function.
Remarks
The Count member specifies the following values, depending on the structure type that is used in the call to the SetVertexShaderConst, SetVertexShaderConstI, or SetVertexShaderConstB function:
- Four-element, single-precision float vectors for the D3DDDIARG_SETVERTEXSHADERCONST structure in the SetVertexShaderConst call.
- Four-integer vectors for the D3DDDIARG_SETVERTEXSHADERCONSTI structure in the SetVertexShaderConstI call.
- Boolean values for the D3DDDIARG_SETVERTEXSHADERCONSTB structure in the SetVertexShaderConstB call.
typedef D3DDDIARG_SETVERTEXSHADERCONST D3DDDIARG_SETVERTEXSHADERCONSTI;
typedef D3DDDIARG_SETVERTEXSHADERCONST D3DDDIARG_SETVERTEXSHADERCONSTB;
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |