Synced
RenderShaderStageArtifact.Constructor
Section titled “RenderShaderStageArtifact.Constructor”
- Creates a deployed shader stage.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.RenderShaderStageArtifact.RenderShaderStageArtifact(Inno.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.