struct hiro::draw::Geometry — HIRO 0.7.0 documentation

# struct hiro::draw::Geometry

## Overview

Holds information about geometry. More…

    #include <PrimitiveDatabase.h>

    struct Geometry {
        // fields

        hiro::draw::GeometryName name;
        uint32_t vertex_count;
        uint32_t face_count;
        glw::PArrayObject buffer;
    };

## Detailed Documentation

Holds information about geometry.

### Fields

    hiro::draw::GeometryName name

Identifier name.

    uint32_t vertex_count

Number of vertices which are entering vertex shader.

    uint32_t face_count

Number of rendered faces.

    glw::PArrayObject buffer

Pointer to array buffer object holding OpenGL buffers.