Package icyllis.arc3d.granite.shading
Interface VertexGeomBuilder
- All Superinterfaces:
ShaderBuilder
- All Known Implementing Classes:
VertexShaderBuilder
Base class for vertex shader builder. This is the stage that computes input geometry for the
rasterizer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
emitAttributes
(GeometryStep geomProc) Emits per-vertex and per-instance attributes to vertex shader inputs.void
emitNormalizedPosition
(ShaderVar worldPos) Emits world position and transforms it into the clip space.Methods inherited from interface icyllis.arc3d.granite.shading.ShaderBuilder
codeAppend, codeAppendf, codePrependf, getMangledName
-
Method Details
-
emitAttributes
Emits per-vertex and per-instance attributes to vertex shader inputs.- Parameters:
geomProc
- the geometry processor
-
emitNormalizedPosition
Emits world position and transforms it into the clip space.- Parameters:
worldPos
- the world position
-