文档

Unity Engine

Unity Engine

ShaderType

Identifies the stage in the rendering pipeline.
阅读时间1 分钟最后更新于 1 个月前

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.