Synced
ShaderGraphLiteral.Emit
Section titled “ShaderGraphLiteral.Emit”
- Emits ordinary typed constants and aggregate construction into the common IR.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderGraphLiteral.Emit(Inno.Rendering.Shaders.ShaderIrBuilder builder, Inno.Rendering.Shaders.ShaderSourceType expectedType)Parameters
Section titled “Parameters”Parameter builder: Current region’s instruction owner.
Parameter expectedType: Current port type; stale defaults never undergo implicit conversion.
Returns
Section titled “Returns”A value owned by the supplied builder.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The stored type, component count or boolean bits are invalid.