Interface VertexGeomBuilder

All Superinterfaces:
ShaderBuilder
All Known Implementing Classes:
VertexShaderBuilder

public interface VertexGeomBuilder extends ShaderBuilder
Base class for vertex shader builder. This is the stage that computes input geometry for the rasterizer.
  • Method Details

    • emitAttributes

      void emitAttributes(GeometryStep geomProc)
      Emits per-vertex and per-instance attributes to vertex shader inputs.
      Parameters:
      geomProc - the geometry processor
    • emitNormalizedPosition

      void emitNormalizedPosition(ShaderVar worldPos)
      Emits world position and transforms it into the clip space.
      Parameters:
      worldPos - the world position