Show / Hide Table of Contents

Enum ShardCategory

Used to describe the type of shader shard. A shard is a piece of shader code, usually in form of a static string. The category is used to sort the shards in order to build the complete shader source code from them. Furthermore this it can be used to describe special behavior of a shader shard in the SurfaceEffectBase. The order is given by the values of the enumeration.

Namespace: Fusee.Engine.Core.Effects
Assembly: Fusee.Engine.Core.dll
Syntax
[Flags]
public enum ShardCategory : ushort

Fields

Name Description
Header

The shader shard belongs to the header of the source shader.

InternalUniform

Those are uniforms in the shader code but should not be properties of a SurfaceEffectBase because they will be updated by the SceneRenderer.

Main

The shader shard is, or is part of, the main method of the source shader.

Method

The shader shard is a method of the source shader.

Property

The shader shard belongs is a property of the source shader.

Struct

The shader shard belongs is a struct of the source shader.

SurfOut

The shader shard the surface output method of the source shader.

SurfOutStruct

The shader shard belongs is a struct of the source shader.

Uniform

The shader shard belongs is a property of the source shader.

Generated by DocFX
GitHub Repo
Back to top