Blender V5.3
blender::BatchBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

FontBLF * font
gpu::Batch * batch
gpu::StorageBuf * glyph_buf
int glyph_len
int ofs [2]
float mat [4][4]
bool enabled
bool active
bool simple_shader
GlyphCacheBLF * glyph_cache
GlyphQuad glyph_data [BLF_BATCH_DRAW_LEN_MAX]

Detailed Description

Definition at line 114 of file blf_internal_types.hh.

Member Data Documentation

◆ active

bool blender::BatchBLF::active

◆ batch

gpu::Batch* blender::BatchBLF::batch

◆ enabled

◆ font

FontBLF* blender::BatchBLF::font

Can only batch glyph from the same font.

Definition at line 116 of file blf_internal_types.hh.

Referenced by blender::blf_batch_draw_begin().

◆ glyph_buf

◆ glyph_cache

GlyphCacheBLF* blender::BatchBLF::glyph_cache

◆ glyph_data

◆ glyph_len

int blender::BatchBLF::glyph_len

◆ mat

float blender::BatchBLF::mat[4][4]

Previous call modelmatrix.

Definition at line 123 of file blf_internal_types.hh.

Referenced by blender::blf_batch_draw_begin().

◆ ofs

int blender::BatchBLF::ofs[2]

Copy of font->pos.

Definition at line 121 of file blf_internal_types.hh.

Referenced by blender::blf_batch_draw_begin(), and blender::blf_texture_draw().

◆ simple_shader

bool blender::BatchBLF::simple_shader

Definition at line 124 of file blf_internal_types.hh.

Referenced by blender::blf_batch_draw_begin().


The documentation for this struct was generated from the following file: