D3DDDICB_RENDERFLAGS structure

The D3DDDICB_RENDERFLAGS structure identifies information about a command buffer to be rendered.

Syntax


typedef struct _D3DDDICB_RENDERFLAGS {
  union {
    struct {
      UINT ResizeCommandBuffer  :1;
      UINT ResizeAllocationList  :1;
      UINT ResizePatchLocationList  :1;
      UINT NullRendering  :1;
      UINT Reserved  :28;
    };
    UINT   Value;
  };
} D3DDDICB_RENDERFLAGS;

Members

ResizeCommandBuffer

A UINT value that specifies whether to resize the command buffer. The driver puts the requested size in the NewCommandBufferSize member of the D3DDDICB_RENDER structure.

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

ResizeAllocationList

A UINT value that specifies whether to resize the allocation list. The driver puts the requested number of elements in the NewAllocationListSize member of D3DDDICB_RENDER.

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

ResizePatchLocationList

A UINT value that specifies whether to resize the patch-location list. The driver puts the requested number of elements in the NewPatchLocationListSize member of D3DDDICB_RENDER.

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

NullRendering

A UINT value that specifies whether the graphics processing unit (GPU) should process any commands for the rendering context. The NullRendering bit-field flag is set to inform the GPU not to process any commands for the rendering 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 fourth bit of the 32-bit Value member (0x00000008).

Reserved

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

Value

A member in the union that is contained in D3DDDICB_RENDERFLAGS that can hold one 32-bit value that identifies information about a command buffer to be rendered.

Requirements

Version

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

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDICB_RENDER
pfnRenderCb

 

 

Send comments about this topic to Microsoft

Show: