ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Byte, _
       ByVal elements() As InputElement _
    ) As InputLayout
    public static InputLayout Create( 
       Device device,
       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