Show / Hide Table of Contents

Class FragMain

Collection of shader code strings, describing the Main method of a fragment shader.

Inheritance
System.Object
FragMain
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.ShaderShards.Fragment
Assembly: Fusee.Engine.Core.dll
Syntax
public static class FragMain

Methods

ForwardLighting(ShadingModel, String)

Lighting Main method for forward rendering.

Declaration
public static string ForwardLighting(ShadingModel shadingModel, string inStructName)
Parameters
Type Name Description
ShadingModel shadingModel
System.String inStructName
Returns
Type Description
System.String

RenderToGBuffer(ShadingModel, String)

The main method for rendering into a G-Buffer object.

Declaration
public static string RenderToGBuffer(ShadingModel shadingModel, string inStructName)
Parameters
Type Name Description
ShadingModel shadingModel
System.String inStructName
Returns
Type Description
System.String
Generated by DocFX
GitHub Repo
Back to top