Public Member Functions

  • void
    buildVao (const GlslProg *shader, const AttribGlslMap &attributeMapping=AttribGlslMap())
  • void
    bufferIndices (size_t dataSizeBytes, const void *data)

Static Public Member Functions


Protected Member Functions

  • VboMesh (const geom::Source &source, std::vector< std::pair< Layout, VboRef >> vertexArrayBuffers, const VboRef &indexArrayVbo)
  • VboMesh (uint32_t numVertices, uint32_t numIndices, GLenum glPrimitive, GLenum indexType, const std::vector< std::pair< geom::BufferLayout, VboRef >> &vertexArrayBuffers, const VboRef &indexVbo)
  • VboMesh (uint32_t numVertices, uint32_t numIndices, GLenum glPrimitive, GLenum indexType, const std::vector< Layout > &vertexArrayLayouts, const VboRef &indexVbo)
  • void
    allocateIndexVbo ()
  • void
    echoVertices (std::ostream &os, const std::vector< uint32_t > &indices, bool printElements)
  • mapAttribImpl (geom::Attrib attr, int dims, bool orphanExisting)
  • void
    unmapVboImpl (const VboRef &vbo)

Protected Attributes


Friends

  • friend class
    VboMeshGeomTarget
  • friend class