[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.Texture2DDescription

Struct Texture2DDescription

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

D3D11_TEXTURE2D_DESC

public struct Texture2DDescription
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

Texture2DDescription(Format, int, int, int, int, BindFlags, ResourceUsage, CpuAccessFlags, int, int, ResourceMiscFlags)

Initializes a new instance of the Texture2DDescription struct.

public Texture2DDescription(Format format, int width, int height, int arraySize = 1, int mipLevels = 0, BindFlags bindFlags = BindFlags.ShaderResource, ResourceUsage usage = ResourceUsage.Default, CpuAccessFlags cpuAccessFlags = CpuAccessFlags.None, int sampleCount = 1, int sampleQuality = 0, ResourceMiscFlags miscFlags = ResourceMiscFlags.None)

Parameters

format Format
width int
height int
arraySize int
mipLevels int
bindFlags BindFlags
usage ResourceUsage
cpuAccessFlags CpuAccessFlags
sampleCount int
sampleQuality int
miscFlags ResourceMiscFlags

Fields

ArraySize

unsigned int ArraySize

public int ArraySize

Field Value

int

BindFlags

D3D11_BIND_FLAG BindFlags

public BindFlags BindFlags

Field Value

BindFlags

CpuAccessFlags

D3D11_CPU_ACCESS_FLAG CPUAccessFlags

public CpuAccessFlags CpuAccessFlags

Field Value

CpuAccessFlags

Format

DXGI_FORMAT Format

public Format Format

Field Value

Format

Height

unsigned int Height

public int Height

Field Value

int

MipLevels

unsigned int MipLevels

public int MipLevels

Field Value

int

MiscFlags

D3D11_RESOURCE_MISC_FLAG MiscFlags

public ResourceMiscFlags MiscFlags

Field Value

ResourceMiscFlags

SampleDesc

DXGI_SAMPLE_DESC SampleDesc

public SampleDescription SampleDesc

Field Value

SampleDescription

Usage

D3D11_USAGE Usage

public ResourceUsage Usage

Field Value

ResourceUsage

Width

unsigned int Width

public int Width

Field Value

int