Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShaderType

Identifies the stage in the rendering pipeline.
Read time 1 minuteLast updated 5 days ago

Definition

public enum ShaderType

Remarks

Additional Resources: ShaderType, IPreprocessShaders.OnProcessShader, Shader programming documentation.

Fields

Value

Description

CountThe number of ShaderTypes that Unity supports.
DomainIdentifier for the domain Shader stage.
FragmentIdentifier for the fragment Shader stage.
GeometryIdentifier for the geometry Shader stage.
HullIdentifier for the hull Shader stage.
RayTracingIdentifier for the ray tracing Shader stage.
VertexIdentifier for the vertex Shader stage.