D3DDDI_CREATECONTEXTFLAGS structure (d3dukmdt.h)

The D3DDDI_CREATECONTEXTFLAGS structure describes how to create a context in a call to the pfnCreateContextCb function.

Syntax

typedef struct _D3DDDI_CREATECONTEXTFLAGS {
  union {
    struct {
      UINT NullRendering : 1;
      UINT InitialData : 1;
      UINT DisableGpuTimeout : 1;
      UINT SynchronizationOnly : 1;
      UINT HwQueueSupported : 1;
      UINT NoKmdAccess : 1;
#if ...
      UINT Reserved : 26;
#elif
      UINT Reserved : 28;
#else
      UINT Reserved : 30;
#endif
    };
    UINT Value;
  };
} D3DDDI_CREATECONTEXTFLAGS;

Members

NullRendering

A UINT value that specifies whether the graphics processing unit (GPU) should process any commands that are sent by the context that is created. The NullRendering bit-field flag is set to inform the GPU not to process any commands that are sent by the context. The NullRendering bit-field flag is set only during performance investigating and debugging to simulate an infinitely fast rendering engine that still must perform the overhead of DMA buffer submission and signaling. NullRendering is never set during typical operations.

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

InitialData

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

DisableGpuTimeout

SynchronizationOnly

HwQueueSupported

NoKmdAccess

Reserved

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

Value

A member in the union that is contained in D3DDDI_CREATECONTEXTFLAGS that can hold one 32-bit value that identifies how to create the context.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dukmdt.h (include D3dumddi.h, D3dkmddi.h)

See also

D3DDDICB_CREATECONTEXT

pfnCreateContextCb