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

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public InnoEditor.Rendering.Shaders.ShaderIrStage.ShaderIrStage(InnoEngine.Rendering.ShaderStage stage, InnoEditor.Rendering.Shaders.ShaderIrBlock body, System.Collections.Generic.IEnumerable<InnoEditor.Rendering.Shaders.ShaderIrStageInput> inputs, System.Collections.Generic.IEnumerable<InnoEditor.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.