Interface IVertexShader<TInput, TOutput, TBindings>
Vertex shader interface that transforms vertex input data.
public interface IVertexShader<TInput, TOutput, TBindings> : IShaderStage where TInput : unmanaged where TOutput : unmanaged where TBindings : unmanaged
Type Parameters
TInputThe vertex input structure type.
TOutputThe vertex output/varyings structure type.
TBindingsThe shader resource bindings type.
Methods
Execute(TInput, in TBindings)
Executes the vertex shader for a single vertex.
TOutput Execute(TInput input, in TBindings bindings)
Parameters
inputTInputThe vertex input data.
bindingsTBindingsThe shader resource bindings.
Returns
- TOutput
The transformed vertex output.