Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Captures a source function declaration without retaining parser or provider objects.

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderSourceFunction.ShaderSourceFunction(string name, Inno.Rendering.Shaders.ShaderSourceType returnType, System.Collections.Generic.IEnumerable<Inno.Rendering.Shaders.ShaderSourceParameter> parameters, Inno.Rendering.Shaders.ShaderSourcePosition location)

Parameter name: Implementation function name selected by import settings.

Parameter returnType: Canonical result type; void has no result port.

Parameter parameters: Unique named parameters in call order.

Parameter location: Original declaration location.

Exception T:System.ArgumentException: The name is reserved or parameters have duplicate names.