Skip to main content

CorePlotting::RenderableGlyphBatch

CorePlotting::RenderableGlyphBatch

A batch of glyphs (e.g., Events in a Raster Plot, Points). More…

#include <RenderablePrimitives.hpp>

Public Types

Name
enum class GlyphType { Circle, Square, Tick, TopLine, Cross}

Public Attributes

Name
std::vector< glm::vec2 > positions
std::vector< glm::vec4 > colors
std::vector< EntityId > entity_ids
GlyphType glyph_type
float size
glm::mat4 model_matrix

Detailed Description

struct CorePlotting::RenderableGlyphBatch;

A batch of glyphs (e.g., Events in a Raster Plot, Points).

Designed for Instanced Rendering.

Public Types Documentation

enum GlyphType

Enumerator Value Description
Circle
Square
Tick
TopLine Horizontal segment through the glyph center (screen-space extent via size).
Cross

Public Attributes Documentation

variable positions

std::vector< glm::vec2 > positions;

variable colors

std::vector< glm::vec4 > colors;

variable entity_ids

std::vector< EntityId > entity_ids;

variable glyph_type

GlyphType glyph_type {GlyphType::Circle};

variable size

float size {5.0f};

variable model_matrix

glm::mat4 model_matrix {1.0f};

Updated on 2026-11-13 at 20:25:42 +0000