|
DXDeviceCreateTexture2D(Int32, Int32, SampleDescription, Boolean, Boolean, Boolean, Boolean, Format) Method |
CreateTexture2D returns a buffer as Texture2D.
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,
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
Texture2DTexture2D
See Also