D3DXCONSTANT_DESC struttura

Descrizione di una costante in una tabella costante.

Sintassi

typedef struct D3DXCONSTANT_DESC {
  LPCSTR              Name;
  D3DXREGISTER_SET    RegisterSet;
  UINT                RegisterIndex;
  UINT                RegisterCount;
  D3DXPARAMETER_CLASS Class;
  D3DXPARAMETER_TYPE  Type;
  UINT                Rows;
  UINT                Columns;
  UINT                Elements;
  UINT                StructMembers;
  UINT                Bytes;
  LPCVOID             DefaultValue;
} D3DXCONSTANT_DESC, *LPD3DXCONSTANT_DESC;

Members

Nome

Tipo: LPCSTR

Nome della costante.

RegisterSet

Tipo: D3DXREGISTER_SET

Tipo di dati costante. Vedere D3DXREGISTER_SET.

RegisterIndex

Tipo: UINT

Indice in base zero della costante nella tabella.

RegisterCount

Tipo: UINT

Numero di registri che contengono dati.

Classe

Tipo: D3DXPARAMETER_CLASS

Classe Parameter. Vedere D3DXPARAMETER_CLASS.

Tipo

Tipo: D3DXPARAMETER_TYPE

Tipo di parametro. Vedere D3DXPARAMETER_TYPE.

prime righe

Tipo: UINT

Numero di righe.

Colonne

Tipo: UINT

Numero di colonne.

Elementi

Tipo: UINT

Numero di elementi nella matrice.

StructMembers

Tipo: UINT

Numero di sotto parametri del membro della struttura.

Byte

Tipo: UINT

Dimensioni dei dati in numero di byte.

Defaultvalue

Tipo: LPCVOID

Puntatore al valore predefinito.

Requisiti

Requisito Valore
Intestazione
D3dx9shader.h

Vedi anche

Strutture D3DX

D3DXCONSTANTTABLE_DESC