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 |
---|---|---|
Surface |
surfInput | The surface input class. Needed to receive the shading model. |
Returns
Type | Description |
---|---|
System. |
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 |
---|---|---|
Shading |
shadingModel | |
System. |
doRenderBillboards |
Returns
Type | Description |
---|---|
System. |