ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / DomainShader Class / Create Method
The device used to create the shader.
The compiled shader bytecode.
A dynamic class linkage interface.

In This Topic
    Create Method (DomainShader)
    In This Topic
    Initializes a new instance of the DomainShader class.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal device As Device, _
       ByVal shaderBytecode() As Byte, _
       Optional ByVal linkage As ClassLinkage _
    ) As DomainShader
    public static DomainShader Create( 
       Device device,
       byte[] shaderBytecode,
       ClassLinkage linkage
    )

    Parameters

    device
    The device used to create the shader.
    shaderBytecode
    The compiled shader bytecode.
    linkage
    A dynamic class linkage interface.
    See Also