D3DRMPMESHLOADSTATUS

Contains the loading status of a progressive mesh loaded with the IDirect3DRMProgressiveMesh::Load method. This structure can be retrieved with the IDirect3DRMProgressiveMesh::GetLoadStatus method.

typedef struct _D3DRMPMESHLOADSTATUS {

DWORD dwSize;

DWORD dwPMeshSize;

DWORD dwBaseMeshSize;

DWORD dwBytesLoaded;

DWORD dwVerticesLoaded;

DWORD dwFacesLoaded;

DWORD dwFlags;

} D3DRMPMESHLOADSTATUS;

typedef D3DRMPMESHLOADSTATUS *LPD3DRMPMESHLOADSTATUS;

Members

dwSize

Size of the structure.

dwPMeshSize

Total size of the progressive mesh in bytes.

dwBaseMeshSize

Size of the base mesh in bytes.

dwBytesLoaded

Total number of bytes loaded.

dwVerticesLoaded

Number of vertices loaded.

dwFacesLoaded

Number of faces loaded.

dwFlags

Flags that indicate the status of the progressive mesh loading. Can be one of the following values:

D3DRMPMESHSTATUS_VALID - The progressive mesh object contains valid data.

D3DRMPMESHSTATUS_INTERRUPTED - The download was interrupted either because the application called IDirect3DRMProgressiveMesh::Abort or because the connection was lost.

D3DRMPMESHSTATUS_BASEMESHCOMPLETE - The base mesh has been downloaded.

D3DRMPMESHSTATUS_COMPLETE - All data has been downloaded.

D3DRMPMESHSTATUS_RENDERABLE - It is now possible to render the mesh.

See Also

IDirect3DRMProgressiveMesh::GetLoadStatus, IDirect3DRMProgressiveMesh::Load