ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.Direct3D11 Namespace / ClassInstance Class / Create Method
An instance of ClassLinkage.
The type name of a class to initialize.
Identifies the constant buffer that contains the class data.
The four-component vector offset from the start of the constant buffer where the class data will begin. Consequently, this is not a byte offset.
The texture slot for the first texture; there may be multiple textures following the offset.
The sampler slot for the first sampler; there may be multiple samplers following the offset.

In This Topic
    Create Method (ClassInstance)
    In This Topic
    Initializes a class-instance object that represents an HLSL class instance.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal linkage As ClassLinkage, _
       ByVal classTypeName As System.String, _
       ByVal constantBufferOffset As System.Integer, _
       ByVal constantVectorOffset As System.Integer, _
       ByVal textureOffset As System.Integer, _
       ByVal samplerOffset As System.Integer _
    ) As ClassInstance
    public static ClassInstance Create( 
       ClassLinkage linkage,
       System.string classTypeName,
       System.int constantBufferOffset,
       System.int constantVectorOffset,
       System.int textureOffset,
       System.int samplerOffset
    )

    Parameters

    linkage
    An instance of ClassLinkage.
    classTypeName
    The type name of a class to initialize.
    constantBufferOffset
    Identifies the constant buffer that contains the class data.
    constantVectorOffset
    The four-component vector offset from the start of the constant buffer where the class data will begin. Consequently, this is not a byte offset.
    textureOffset
    The texture slot for the first texture; there may be multiple textures following the offset.
    samplerOffset
    The sampler slot for the first sampler; there may be multiple samplers following the offset.
    See Also