Texture2DDescription Constructor
In This Topic
Initializes a new instance of the
Texture2DDescription struct.
Syntax
'Declaration
Public Function New( _
ByVal As Format, _
ByVal As Integer, _
ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As BindFlags, _
Optional ByVal As ResourceUsage, _
Optional ByVal As CpuAccessFlags, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As ResourceMiscFlags _
)
public Texture2DDescription(
Format ,
int ,
int ,
int ,
int ,
BindFlags ,
ResourceUsage ,
CpuAccessFlags ,
int ,
int ,
ResourceMiscFlags
)
Parameters
- format
- width
- height
- arraySize
- mipLevels
- bindFlags
- usage
- cpuAccessFlags
- sampleCount
- sampleQuality
- miscFlags
See Also