DXGK_DISCARDCONTENTFLAGS structure (d3dkmddi.h)
The DXGK_DISCARDCONTENTFLAGS structure identifies the type of discard-content operation to set up in a call to the DxgkDdiBuildPagingBuffer function.
Syntax
typedef struct _DXGK_DISCARDCONTENTFLAGS {
union {
struct {
UINT AllocationIsIdle : 1;
UINT Reserved : 31;
};
[in] UINT Value;
};
} DXGK_DISCARDCONTENTFLAGS;
Members
[in] AllocationIsIdle
A UINT value that specifies whether the allocation that is referenced in the call to DxgkDdiBuildPagingBuffer is idle. If this member is not set, the driver should determine that the allocation is either currently busy or might become busy. If this member is set, the video memory manager guarantees that the allocation remains idle for the duration of the call to DxgkDdiBuildPagingBuffer.
Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).
[in] Reserved
This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit Value member to zeros.
[in] Value
A member in the union that DXGK_DISCARDCONTENTFLAGS contains that can hold a 32-bit value that identifies the discard-content-operation type.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmddi.h (include D3dkmddi.h) |