Blender V5.0
BatchBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

FontBLFfont
blender::gpu::Batch * batch
blender::gpu::StorageBufglyph_buf
int glyph_len
int ofs [2]
float mat [4][4]
bool enabled
bool active
bool simple_shader
GlyphCacheBLFglyph_cache
GlyphQuad glyph_data [BLF_BATCH_DRAW_LEN_MAX]

Detailed Description

Definition at line 111 of file blf_internal_types.hh.

Member Data Documentation

◆ active

bool BatchBLF::active

Definition at line 121 of file blf_internal_types.hh.

◆ batch

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

Definition at line 114 of file blf_internal_types.hh.

◆ enabled

bool BatchBLF::enabled

Definition at line 121 of file blf_internal_types.hh.

◆ font

FontBLF* BatchBLF::font

Can only batch glyph from the same font.

Definition at line 113 of file blf_internal_types.hh.

◆ glyph_buf

blender::gpu::StorageBuf* BatchBLF::glyph_buf

Definition at line 115 of file blf_internal_types.hh.

◆ glyph_cache

GlyphCacheBLF* BatchBLF::glyph_cache

Definition at line 122 of file blf_internal_types.hh.

◆ glyph_data

GlyphQuad BatchBLF::glyph_data[BLF_BATCH_DRAW_LEN_MAX]

Definition at line 124 of file blf_internal_types.hh.

◆ glyph_len

int BatchBLF::glyph_len

Definition at line 116 of file blf_internal_types.hh.

◆ mat

float BatchBLF::mat[4][4]

Previous call modelmatrix.

Definition at line 120 of file blf_internal_types.hh.

◆ ofs

int BatchBLF::ofs[2]

Copy of font->pos.

Definition at line 118 of file blf_internal_types.hh.

◆ simple_shader

bool BatchBLF::simple_shader

Definition at line 121 of file blf_internal_types.hh.


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