D3D11X_COMPUTE_CONTEXT_PRIORITY Enumeration

Priority levels for compute context.

Syntax

typedef enum D3D11X_COMPUTE_CONTEXT_PRIORITY
{
    D3D11X_COMPUTE_CONTEXT_PRIORITY_LOWEST,
    D3D11X_COMPUTE_CONTEXT_PRIORITY_LOWER,
    D3D11X_COMPUTE_CONTEXT_PRIORITY_LOW,
    D3D11X_COMPUTE_CONTEXT_PRIORITY_MEDIUM,
    D3D11X_COMPUTE_CONTEXT_PRIORITY_HIGH,
    D3D11X_COMPUTE_CONTEXT_PRIORITY_HIGHEST
} D3D11X_COMPUTE_CONTEXT_PRIORITY;  

Constants

Constant Description
D3D11X_COMPUTE_CONTEXT_PRIORITY_LOWEST Lowest priority.
D3D11X_COMPUTE_CONTEXT_PRIORITY_LOWER Lower priority.
D3D11X_COMPUTE_CONTEXT_PRIORITY_LOW Low priority.
D3D11X_COMPUTE_CONTEXT_PRIORITY_MEDIUM Medium priority.
D3D11X_COMPUTE_CONTEXT_PRIORITY_HIGH High priority.
D3D11X_COMPUTE_CONTEXT_PRIORITY_HIGHEST Highest priority.

Remarks

This enumeration is passed into ID3D11ComputeContextX::SetPriority and is returned by ID3D11ComputeContextX::GetPriority.

In the D3D11_COMPUTE_CONTEXT_DESC structure, the InitialPriority field is one of the D3D11X_COMPUTE_CONTEXT_PRIORITY enumeration constants.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.