Package icyllis.arc3d.granite.shading

# 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 Summary

  Modifier and Type
  Method
  Description
  `void`
  `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

    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