|
DXDeviceCreateTexture2D(Int32, Int32, SampleDescription, Boolean, Boolean, Boolean) Method |
CreateTexture2D returns a buffer as Texture2D with standard format (defined by
StandardBufferFormat).
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public Texture2D CreateTexture2D(
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
Texture2DTexture2D
See Also