D3DKMDT_STANDARDALLOCATION_TYPE enumeration (d3dkmdt.h)
The D3DKMDT_STANDARDALLOCATION_TYPE enumeration type 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_TYPE;
Constants
D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE Value: 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_SHADOWSURFACE Value: 2 Indicates that the surface is a shadow surface. |
D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE Value: 3 Indicates that the surface is a staging surface. |
D3DKMDT_STANDARDALLOCATION_GDISURFACE Value: 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_VGPU Value: 5 Indicates that the surface is an allocation for a virtual graphics processing unit (GPU). Available starting in WDDM 2.1. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmdt.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for