Click or drag to resize
AB4D logo

DXDeviceCreateTexture2DDescription(Int32, Int32, SampleDescription, Boolean, Boolean, Boolean, Boolean, Format) Method

CreateTexture2DDescription returns a Texture2DDescription that can be used to create a back buffer.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public virtual Texture2DDescription CreateTexture2DDescription(
	int width,
	int height,
	SampleDescription sampleDescription,
	bool isRenderTarget,
	bool isSharedResource,
	bool isStagingTexture,
	bool isShaderResource,
	Format format
)

Parameters

width  Int32
width
height  Int32
height
sampleDescription  SampleDescription
sampleDescription (defines antialiasing)
isRenderTarget  Boolean
isRenderTarget
isSharedResource  Boolean
isSharedResource
isStagingTexture  Boolean
isStagingTexture
isShaderResource  Boolean
isShaderResource
format  Format
format

Return Value

Texture2DDescription
Texture2DDescription
See Also