Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The D3DKMDT_STANDARDALLOCATION_TYPE enumeration contains values that identify particular types of surfaces.
Syntax
typedef enum _D3DKMDT_STANDARDALLOCATION_TYPE {
D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE = 1,
D3DKMDT_STANDARDALLOCATION_SHADOWSURFACE = 2,
D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE = 3,
D3DKMDT_STANDARDALLOCATION_GDISURFACE = 4,
D3DKMDT_STANDARDALLOCATION_VGPU = 5,
D3DKMDT_STANDARDALLOCATION_FENCESTORAGE = 6
} D3DKMDT_STANDARDALLOCATION_TYPE;
Constants
D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACEValue: 1 Indicates that the surface is a shared primary surface, which is opened by multiple applications that all require direct central processing unit (CPU) access to it. |
D3DKMDT_STANDARDALLOCATION_SHADOWSURFACEValue: 2 Indicates that the surface is a shadow surface. |
D3DKMDT_STANDARDALLOCATION_STAGINGSURFACEValue: 3 Indicates that the surface is a staging surface. |
D3DKMDT_STANDARDALLOCATION_GDISURFACEValue: 4 Indicates that the surface is used for GDI hardware acceleration and Desktop Windows Manager (DWM) redirection. This constant value is available beginning with Windows 7. |
D3DKMDT_STANDARDALLOCATION_VGPUValue: 5 Indicates that the surface is an allocation for a virtual graphics processing unit (GPU). Available starting in WDDM 2.1. |
D3DKMDT_STANDARDALLOCATION_FENCESTORAGEValue: 6 Indicates that the surface is an allocation for a fence. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Header | d3dkmdt.h |