Show / Hide Table of Contents

Class VertMain

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

Inheritance
System.Object
VertMain
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.Vertex
Assembly: Fusee.Engine.Core.dll
Syntax
public static class VertMain

Methods

TransformNormalByBone()

Returns a GLSL method that transforms a normal by a bone. Returns the transformed normal. Parameters: normal (vec3).

Declaration
public static string TransformNormalByBone()
Returns
Type Description
System.String

TransformPosByBone()

Returns a GLSL method that transforms a vertex by a bone. Returns the transformed vertex. Parameters: vertex position (vec3).

Declaration
public static string TransformPosByBone()
Returns
Type Description
System.String

VertexMain(ShadingModel, TextureSetup, RenderFlags)

Creates the main method for the vertex shader, used in forward rendering.

Declaration
public static string VertexMain(ShadingModel shadingModel, TextureSetup texSetup, RenderFlags renderMod)
Parameters
Type Name Description
ShadingModel shadingModel
TextureSetup texSetup
RenderFlags renderMod
Returns
Type Description
System.String
Generated by DocFX
GitHub Repo
Back to top