[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.Texture1DDescription

Struct Texture1DDescription

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

D3D11_TEXTURE1D_DESC

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

Constructors

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

Initializes a new instance of the Texture1DDescription struct.

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

Parameters

format Format
width int
arraySize int
mipLevels int
bindFlags BindFlags
usage ResourceUsage
cpuAccessFlags CpuAccessFlags
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

MipLevels

unsigned int MipLevels

public int MipLevels

Field Value

int

MiscFlags

D3D11_RESOURCE_MISC_FLAG MiscFlags

public ResourceMiscFlags MiscFlags

Field Value

ResourceMiscFlags

Usage

D3D11_USAGE Usage

public ResourceUsage Usage

Field Value

ResourceUsage

Width

unsigned int Width

public int Width

Field Value

int