Expandir Minimizar

D3DDDI_CREATECONTEXTFLAGS structure

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 Reserved  :31;
    };
    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).

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.

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

Version

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

Header

D3dukmdt.h (include D3dumddi.h or D3dkmddi.h)

See also

D3DDDICB_CREATECONTEXT
pfnCreateContextCb

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft