D3D11_DMA_ENGINE_CONTEXT_DESC Structure

Describes a DMA engine context.

Syntax

typedef struct D3D11_DMA_ENGINE_CONTEXT_DESC {
    UINT CreateFlags;
    UINT RingBufferSizeBytes;
    UINT SegmentSizeBytes;
} D3D11_DMA_ENGINE_CONTEXT_DESC;  

Members

CreateFlags
Flags for the DMA engine context, as a combination of values in the enumeration D3D11_DMA_ENGINE_CONTEXT_CREATE_FLAGS.

RingBufferSizeBytes
The size of the ring buffer, in bytes. Specify 0 for the default value (512 KB). Non-zero values must be a multiple of 64 KB, and must be at least 64 KB.

SegmentSizeBytes
The segment size, in bytes. Specify 0 for the default value (8 KB). Non-zero values must be a multiple of 256 bytes, and must be at least 4 KB.

Remarks

This structure is passed into the method ID3D11DeviceX::CreateDmaEngineContext.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).