Show / Hide Table of Contents

Class VertShards

Contains pre-defined Shader Shards. Those are the content of the Vertex Shader's method that lets us change values of the "out"-struct that is used for the position calculation.

Inheritance
System.Object
VertShards
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 VertShards

Methods

SurfOutBody(SurfaceEffectInput)

Returns a default method body for the vertex shaders "ChangeSurf" method.

Declaration
public static List<string> SurfOutBody(SurfaceEffectInput surfInput)
Parameters
Type Name Description
SurfaceEffectInput surfInput

The surface input class. Needed to receive the shading model.

Returns
Type Description
System.Collections.Generic.List<System.String>

SurfOutBody(ShadingModel, Boolean)

Returns a default method body for the vertex shaders "ChangeSurf" method.

Declaration
public static List<string> SurfOutBody(ShadingModel shadingModel, bool doRenderBillboards)
Parameters
Type Name Description
ShadingModel shadingModel
System.Boolean doRenderBillboards
Returns
Type Description
System.Collections.Generic.List<System.String>
Generated by DocFX
GitHub Repo
Back to top