D3DX10_MESH_DISCARD_FLAGS enumeration

Specifies which pieces of mesh data to discard from the device. Used with ID3DX10Mesh::Discard.

Syntax

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;

Constants

D3DX10_MESH_DISCARD_ATTRIBUTE_BUFFER

Discard the attribute buffer.

D3DX10_MESH_DISCARD_ATTRIBUTE_TABLE

Discard the attribute table.

D3DX10_MESH_DISCARD_POINTREPS

Discard the pointer reps buffer.

D3DX10_MESH_DISCARD_ADJACENCY

Discard the adjacency buffer.

D3DX10_MESH_DISCARD_DEVICE_BUFFERS

Discard the buffers committed to the device (with ID3DX10Mesh::CommitToDevice).

Requirements

Requirement Value
Header
D3DX10Mesh.h

See also

D3DX Enumerations