Expand Minimize

DXGK_DISCARDCONTENTFLAGS structure

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;
    };
    UINT Value;
  };
} DXGK_DISCARDCONTENTFLAGS;

Members

AllocationIsIdle

[in] 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).

Reserved

[in] 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.

Value

[in] A member in the union that DXGK_DISCARDCONTENTFLAGS contains that can hold a 32-bit value that identifies the discard-content-operation type.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_BUILDPAGINGBUFFER
DxgkDdiBuildPagingBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.