Synced
ShaderSourceLocation.Constructor
Section titled “ShaderSourceLocation.Constructor”
- Creates a shader source location.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.ShaderSourceLocation.ShaderSourceLocation(string assetPath, string passName, Inno.Rendering.ShaderStage stage, int line = 0, int column = 0)Parameters
Section titled “Parameters”Parameter assetPath: Project-relative source asset path.
Parameter passName: Stable pass name.
Parameter stage: Shader stage.
Parameter line: One-based source line, or zero when unavailable.
Parameter column: One-based source column, or zero when unavailable.