[]
D3D11_TEXTURE2D_DESC
public struct Texture2DDescription
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)
format
Formatwidth
intheight
intarraySize
intmipLevels
intbindFlags
BindFlagsusage
ResourceUsagecpuAccessFlags
CpuAccessFlagssampleCount
intsampleQuality
intmiscFlags
ResourceMiscFlagsunsigned int ArraySize
public int ArraySize
D3D11_BIND_FLAG BindFlags
public BindFlags BindFlags
D3D11_CPU_ACCESS_FLAG CPUAccessFlags
public CpuAccessFlags CpuAccessFlags
DXGI_FORMAT Format
public Format Format
unsigned int Height
public int Height
unsigned int MipLevels
public int MipLevels
D3D11_RESOURCE_MISC_FLAG MiscFlags
public ResourceMiscFlags MiscFlags
DXGI_SAMPLE_DESC SampleDesc
public SampleDescription SampleDesc
D3D11_USAGE Usage
public ResourceUsage Usage
unsigned int Width
public int Width