Show / Hide Table of Contents

Class Header

Collection of shader code strings, describing a shader's header information, such as the version precision and preprocessor instructions.

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

Fields

BoneDefineVar

Name of the number of bones preprocessor directive.

Declaration
public static string BoneDefineVar
Field Value
Type Description
System.String

DefinePi

Adds PI as preprocessor directive (#define).

Declaration
public static string DefinePi
Field Value
Type Description
System.String

EsPrecisionHighpFloat

Sets the precision to highp float.

Declaration
public static string EsPrecisionHighpFloat
Field Value
Type Description
System.String

Version300Es

Sets the version to 330es.

Declaration
public static string Version300Es
Field Value
Type Description
System.String

Version450Core

Sets the version to 450core.

Declaration
public static string Version450Core
Field Value
Type Description
System.String

Version460Core

Sets the version to 460core.

Declaration
public static string Version460Core
Field Value
Type Description
System.String

Methods

DefineBones(Weight)

Sets preprocessor that defines the bone count.

Declaration
public static string DefineBones(Weight wc)
Parameters
Type Name Description
Weight wc
Returns
Type Description
System.String
Generated by DocFX
GitHub Repo
Back to top