ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / InputLayout Class / Create Method
The device used to create the layout.
The compiled shader used to validate the input elements.
An array of input elements describing the layout of the input data.

In This Topic
    Create Method (InputLayout)
    In This Topic
    Initializes a new instance of the InputLayout object to describe the input-buffer data for the input-assembler stage.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal device As Device, _
       ByVal shaderBytecode() As System.Byte, _
       ByVal elements() As InputElement _
    ) As InputLayout
    public static InputLayout Create( 
       Device device,
       System.byte[] shaderBytecode,
       InputElement[] elements
    )

    Parameters

    device
    The device used to create the layout.
    shaderBytecode
    The compiled shader used to validate the input elements.
    elements
    An array of input elements describing the layout of the input data.
    See Also