[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.InputLayout.Create

Create Method

Create(Device, byte[], InputElement[])

Initializes a new instance of the InputLayout object to describe the input-buffer data for the input-assembler stage.

Declaration
public static InputLayout Create(Device device, byte[] shaderBytecode, InputElement[] elements)
Parameters
Type Name Description
Device device

The device used to create the layout.

byte[] shaderBytecode

The compiled shader used to validate the input elements.

InputElement[] elements

An array of input elements describing the layout of the input data.

Returns
Type Description
InputLayout