Synced
RenderShaderStageArtifact.Constructor
Section titled “RenderShaderStageArtifact.Constructor”
- Creates a deployed shader stage.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Rendering.RenderShaderStageArtifact.RenderShaderStageArtifact(InnoEngine.Rendering.ShaderStage stage, System.ReadOnlySpan<byte> bytes)Parameters
Section titled “Parameters”Parameter stage: The single programmable stage represented by the target binary.
Parameter bytes: The non-empty target backend program bytes.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when stage is not a single stage or bytes is empty.