Table of Contents

Struct D3D11.Texture2DDesc

Namespace
Xui.Runtime.Windows
Assembly
Xui.Runtime.Windows.dll

Describes a 2D texture resource. Mirrors D3D11_TEXTURE2D_DESC (44 bytes, fully sequential).

public struct D3D11.Texture2DDesc
Inherited Members

Fields

ArraySize

Number of textures in the array. Use 1 for a single texture.

public uint ArraySize

Field Value

uint

BindFlags

public uint BindFlags

Field Value

uint

CPUAccessFlags

public uint CPUAccessFlags

Field Value

uint

Format

public DXGI.Format Format

Field Value

DXGI.Format

Height

public uint Height

Field Value

uint

MipLevels

Number of mip levels. 1 = no mipmaps.

public uint MipLevels

Field Value

uint

MiscFlags

public uint MiscFlags

Field Value

uint

SampleDesc

public DXGI.SampleDesc SampleDesc

Field Value

DXGI.SampleDesc

Usage

Resource usage. 0 = D3D11_USAGE_DEFAULT (GPU read/write, no CPU access).

public uint Usage

Field Value

uint

Width

public uint Width

Field Value

uint