CONST_D3DCREATEFLAGS
Defines Microsoft® Direct3D® device creation flags.
Enum CONST_D3DCREATEFLAGS
D3DCREATE_FPU_PRESERVE = 2
D3DCREATE_MULTITHREADED = 4
D3DCREATE_PUREDEVICE = 16 (&H10)
D3DCREATE_SOFTWARE_VERTEXPROCESSING = 32 (&H20)
D3DCREATE_HARDWARE_VERTEXPROCESSING = 64 (&H40)
D3DCREATE_MIXED_VERTEXPROCESSING = 128 (&H80)
End Enum
Constants
- D3DCREATE_FPU_PRESERVE
- Indicates that the application needs either double precision FPU or FPU exceptions enabled. Direct3D sets the FPU state each time it is called. Setting the flag will reduce Direct3D performance.
- D3DCREATE_MULTITHREADED
- Indicates that the application requests Direct3D to be multithread safe. This makes Direct3D take its global critical section more frequently, which can degrade performance.
- D3DCREATE_PUREDEVICE
- Specifies hardware rasterization, transform, lighting, and shading. This flag should be specified only when D3DCREATE_HARDWARE_VERTEXPROCESSING is also specified.
- D3DCREATE_SOFTWARE_VERTEXPROCESSING
- Specifies software vertex processing. See Remarks.
- D3DCREATE_HARDWARE_VERTEXPROCESSING
- Specifies hardware vertex processing. See Remarks.
- D3DCREATE_MIXED_VERTEXPROCESSING
- Specifies mixed (both software and hardware) vertex processing. See Remarks.
Remarks
Note that D3DCREATE_HARDWARE_VERTEXPROCESSING, D3DCREATE_MIXED_VERTEXPROCESSING, and D3DCREATE_SOFTWARE_VERTEXPROCESSING are mutually exclusive flags, and that at least one of these vertex processing flags must be specified when calling Direct3D8.CreateDevice.
See Also
Direct3D8.CreateDevice