[]
Initializes a new instance of the InputLayout object to describe the input-buffer data for the input-assembler stage.
public static InputLayout Create(Device device, byte[] shaderBytecode, InputElement[] elements)
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. |
Type | Description |
---|---|
InputLayout |