Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Validates and freezes a single stage’s interface and ordered body.

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrStage.ShaderIrStage(Inno.Rendering.ShaderStage stage, Inno.Rendering.Shaders.ShaderIrBlock body, System.Collections.Generic.IEnumerable<Inno.Rendering.Shaders.ShaderIrStageInput> inputs, System.Collections.Generic.IEnumerable<Inno.Rendering.Shaders.ShaderIrStageOutput> outputs, int threadsX = 1, int threadsY = 1, int threadsZ = 1)

Parameter stage: Exactly Vertex, Fragment or Compute.

Parameter body: Immutable typed instructions and named outputs.

Parameter inputs: Exactly the input bindings read by the body.

Parameter outputs: Exactly the GPU destinations written by the body.

Parameter threadsX: Compute workgroup X size; one for raster stages.

Parameter threadsY: Compute workgroup Y size; one for raster stages.

Parameter threadsZ: Compute workgroup Z size; one for raster stages.