D3DHAL_DP2CREATELIGHT结构(d3dhal.h)
D3DHAL_DP2CREATELIGHT结构用于为 D3dDrawPrimitives2创建光。
语法
typedef struct _D3DHAL_DP2CREATELIGHT {
DWORD dwIndex;
} D3DHAL_DP2CREATELIGHT;
成员
dwIndex
指定要创建的光的索引。
言论
D3DHAL_DP2CREATELIGHT结构用于将索引保存在光数组中。 驱动程序应根据需要扩大其光线阵列,以容纳索引指定的至少数量的灯。
要求
要求 | 价值 |
---|---|
标头 | d3dhal.h (包括 D3dhal.h) |