D3D11X_DESCRIPTOR_RESOURCE Structure

Resource descriptor for a buffer or texture.

Syntax

typedef struct D3D11X_DESCRIPTOR_RESOURCE {
    union {
        __m128i Oword[D3D11X_DESCRIPTOR_RESOURCE_SIZE_IN_OWORDS];
        UINT64 Qword[D3D11X_DESCRIPTOR_RESOURCE_SIZE_IN_QWORDS];
        UINT32 Dword[D3D11X_DESCRIPTOR_RESOURCE_SIZE_IN_DWORDS];
    };
    UINT32 DescriptorSize;
} D3D11X_DESCRIPTOR_RESOURCE;  

Members

Oword
Descriptor for Oword.

Qword
Descriptor for Qword.

Dword
Descriptor for Dword.

DescriptorSize
Descriptor for bytes.

Remarks

This structure is passed into the following methods:

This structure is output by ID3D11Resource::GetDescriptor.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.