Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a deployed shader stage.

API: engine
Project: Inno.Rendering.Assets

public Inno.Rendering.Assets.RenderShaderStageArtifact.RenderShaderStageArtifact(Inno.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.