Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a deployed shader stage.

API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime

public InnoEngine.Rendering.RenderShaderStageArtifact.RenderShaderStageArtifact(InnoEngine.Rendering.ShaderStage stage, System.ReadOnlySpan<byte> bytes)

Parameter stage: The single programmable stage represented by the target binary.

Parameter bytes: The non-empty target backend program bytes.

Exception T:System.ArgumentException: Thrown when stage is not a single stage or bytes is empty.