D3DXF
These constant values are used to specify operations with .x file data.
D3DXF_FILEFORMAT
The following flags specify what file type to use when saving data. All but D3DXF_FILEFORMAT_COMPRESSED are mutually exclusive.
#define | Value | Description |
---|
D3DXF_FILEFORMAT_BINARY | 0 | Legacy-format binary file. See X File Reference (Legacy). |
D3DXF_FILEFORMAT_COMPRESSED | 2 | Compressed file. May be used in combination with other D3DXF_FILEFORMAT_ flags. This flag is not sufficient to completely specify the saved file format. |
D3DXF_FILEFORMAT_TEXT | 1 | Text file. |
D3DXF_FILELOADOPTIONS
The following flags specify what file type to use when loading data. All flags are mutually exclusive.
#define | Value | Description |
---|
D3DXF_FILELOAD_FROMFILE | 0x00L | Load data from a file, with the file name specified with an LPCSTR. |
D3DXF_FILELOAD_FROMMEMORY | 0x03L | Load data from memory. |
D3DXF_FILELOAD_FROMRESOURCE | 0x02L | Load data from a resource. |
D3DXF_FILELOAD_FROMWFILE | 0x01L | Load data from a file, with the file name specified with an LPWSTR. |
D3DXF_FILESAVEOPTIONS
The following flags are used to specify the name of a file to which data is to be saved. All flags are mutually exclusive.
#define | Value | Description |
---|
D3DXF_FILESAVE_TOFILE | 0x00L | Save to the file with its name specified with an LPCSTR. |
D3DXF_FILESAVE_TOWFILE | 0x01L | Save to the file with its name specified with an LPWSTR. |
Constant Information
Header | d3dx9xof.h |
---|
Minimum operating system | Windows 98 |
---|