Click or drag to resize
AB4D logo

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

CreateTexture2DDescription returns a Texture2DDescription that can be used to create a back buffer with standard format (defined by StandardBufferFormat).

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

Parameters

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

Return Value

Texture2DDescription
Texture2DDescription
See Also