D3D11X_CERAM_RESOURCE_ORIGIN Enumeration

Used in serialization header encodings to identify the descriptor source, in order to differentiate between shader resource view descriptors and unordered access view descriptors.

Syntax

typedef enum D3D11X_CERAM_RESOURCE_ORIGIN
{
    D3D11X_CERAM_RESOURCE_ORIGIN_STANDARD = 0,
    D3D11X_CERAM_RESOURCE_ORIGIN_ALTERNATE = 1
} D3D11X_CERAM_RESOURCE_ORIGIN;  

Constants

Constant Description
D3D11X_CERAM_RESOURCE_ORIGIN_STANDARD The descriptor source is a shader resource view descriptor.
D3D11X_CERAM_RESOURCE_ORIGIN_ALTERNATE The descriptor source is an unordered access view descriptor.

Remarks

This enumeration is used by D3D11XTinyDevice::EncodeSerializationHeader (which is for internal use only).

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.