Class ShaderModule
Asset containing a module to add features to a shader.
Namespace: VRLabs.ModularShaderSystem
Syntax
[CreateAssetMenu(fileName = "ShaderModule", menuName = "Shader/VRLabs/Modular Shader/Shader Module", order = 0)]
public class ShaderModule : ScriptableObject
Fields
Name | Description |
---|---|
AdditionalSerializedData | string that can contain whatever you want, it is originally intended to contain serialized data that you may need for your own custom system based on the modular shader system. |
Author | Author of the shader module. |
Description | Description of the shader model. |
EnableProperties | List of properties declared by the module. |
Functions | List functions this shader module uses. |
Id | Id of the shader module. |
IncompatibleWith | List of ids of shader modules this shader module is incompatible. |
ModuleDependencies | List of ids of shader modules this shader module depends on. |
Name | Name of the shader module. |
Properties | List of properties declared by the module. |
Templates | List of templates this shader module uses. |
Version | Version of the shader module. |