ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / Texture2DDescription Structure / Texture2DDescription Constructor

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

    Parameters

    format
    width
    height
    arraySize
    mipLevels
    bindFlags
    usage
    cpuAccessFlags
    sampleCount
    sampleQuality
    miscFlags
    See Also