D3DX10_MESH_DISCARD_FLAGS 枚举
指定要从设备丢弃哪些网格数据片段。 与 ID3DX10Mesh::D iscard 一起使用。
语法
typedef enum D3DX10_MESH_DISCARD_FLAGS {
D3DX10_MESH_DISCARD_ATTRIBUTE_BUFFER = 0x01,
D3DX10_MESH_DISCARD_ATTRIBUTE_TABLE = 0x02,
D3DX10_MESH_DISCARD_POINTREPS = 0x04,
D3DX10_MESH_DISCARD_ADJACENCY = 0x08,
D3DX10_MESH_DISCARD_DEVICE_BUFFERS = 0x10
} D3DX10_MESH_DISCARD_FLAGS, *LPD3DX10_MESH_DISCARD_FLAGS;
常量
-
D3DX10_MESH_DISCARD_ATTRIBUTE_BUFFER
-
放弃属性缓冲区。
-
D3DX10_MESH_DISCARD_ATTRIBUTE_TABLE
-
放弃属性表。
-
D3DX10_MESH_DISCARD_POINTREPS
-
放弃指针代表缓冲区。
-
D3DX10_MESH_DISCARD_ADJACENCY
-
放弃相邻缓冲区。
-
D3DX10_MESH_DISCARD_DEVICE_BUFFERS
-
放弃提交到 ID3DX10Mesh::CommitToDevice) 设备 (的缓冲区。
要求
要求 | 值 |
---|---|
标头 |
|
另请参阅