DXGK_TRANSFERFLAGS structure (d3dkmddi.h)

The DXGK_TRANSFERFLAGS structure identifies the type of transfer operation to set up in a call to the DxgkDdiBuildPagingBuffer function.

Syntax

typedef struct _DXGK_TRANSFERFLAGS {
  union {
    struct {
      UINT Swizzle : 1;
      UINT Unswizzle : 1;
      UINT AllocationIsIdle : 1;
      UINT TransferStart : 1;
      UINT TransferEnd : 1;
      UINT Reserved : 27;
    };
    [in] UINT Value;
  };
} DXGK_TRANSFERFLAGS;

Members

[in] Swizzle

A UINT value that specifies whether the driver should swizzle the source to the destination during the transfer. Note that for multiple-level allocations (for example, MIP-map textures), the driver should swizzle all levels of the allocations. For more information about swizzling allocations, see Locking Swizzled Allocations.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

[in] Unswizzle

A UINT value that specifies whether the driver should unswizzle the source to the destination during the transfer. Note that for multiple-level allocations (for example, MIP-map textures), the driver should unswizzle all levels of the allocations. For more information about swizzling allocations, see Locking Swizzled Allocations.

Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).

[in] AllocationIsIdle

A UINT value that specifies whether the graphics processing unit (GPU) is using the given allocation. If this member is set, the GPU is not using the given allocation; that is, no work was queued or will be queued to the GPU until the call to DxgkDdiBuildPagingBuffer returns.

Setting this member is equivalent to setting the third bit of the 32-bit Value member (0x00000004).

[in] TransferStart

A UINT value that specifies whether the transfer operation is starting. If this member is set, the transfer operation is starting.

Setting this member is equivalent to setting the fourth bit of the 32-bit Value member (0x00000008).

[in] TransferEnd

A UINT value that specifies whether the transfer operation is ending. If this member is set, the transfer operation is ending.

Setting this member is equivalent to setting the fifth bit of the 32-bit Value member (0x00000010).

[in] Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 27 bits (0xFFFFFFE0) of the 32-bit Value member to zeros.

[in] Value

A member in the union that DXGK_TRANSFERFLAGS contains that can hold a 32-bit value that identifies the transfer-operation type.

Remarks

You can set the transfer-operation type by setting bits in the 32-bit Value member or by setting individual members of the structure in the union that DXGK_TRANSFERFLAGS contains.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_BUILDPAGINGBUFFER

DxgkDdiBuildPagingBuffer