Blender V4.3
BatchBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

FontBLFfont
 
blender::gpu::Batch * batch
 
blender::gpu::VertBufverts
 
GPUVertBufRaw pos_step
 
GPUVertBufRaw col_step
 
GPUVertBufRaw offset_step
 
GPUVertBufRaw glyph_size_step
 
GPUVertBufRaw glyph_flags_step
 
unsigned int pos_loc
 
unsigned int col_loc
 
unsigned int offset_loc
 
unsigned int glyph_size_loc
 
unsigned int glyph_flags_loc
 
unsigned int glyph_len
 
int ofs [2]
 
float mat [4][4]
 
bool enabled
 
bool active
 
bool simple_shader
 
GlyphCacheBLFglyph_cache
 

Detailed Description

Definition at line 97 of file blf_internal_types.hh.

Member Data Documentation

◆ active

bool BatchBLF::active

Definition at line 109 of file blf_internal_types.hh.

Referenced by blf_batch_draw_begin(), and blf_batch_draw_end().

◆ batch

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

◆ col_loc

unsigned int BatchBLF::col_loc

Definition at line 103 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().

◆ col_step

GPUVertBufRaw BatchBLF::col_step

Definition at line 102 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ enabled

bool BatchBLF::enabled

◆ font

FontBLF* BatchBLF::font

Can only batch glyph from the same font.

Definition at line 99 of file blf_internal_types.hh.

Referenced by blf_batch_draw_begin().

◆ glyph_cache

GlyphCacheBLF* BatchBLF::glyph_cache

Definition at line 110 of file blf_internal_types.hh.

Referenced by blf_batch_cache_texture_load(), and blf_glyph_draw().

◆ glyph_flags_loc

unsigned int BatchBLF::glyph_flags_loc

Definition at line 103 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().

◆ glyph_flags_step

GPUVertBufRaw BatchBLF::glyph_flags_step

Definition at line 102 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ glyph_len

unsigned int BatchBLF::glyph_len

Definition at line 104 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ glyph_size_loc

unsigned int BatchBLF::glyph_size_loc

Definition at line 103 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().

◆ glyph_size_step

GPUVertBufRaw BatchBLF::glyph_size_step

Definition at line 102 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ mat

float BatchBLF::mat[4][4]

Definition at line 108 of file blf_internal_types.hh.

Referenced by blf_batch_draw_begin().

◆ offset_loc

unsigned int BatchBLF::offset_loc

Definition at line 103 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().

◆ offset_step

GPUVertBufRaw BatchBLF::offset_step

Definition at line 102 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ ofs

int BatchBLF::ofs[2]

Copy of font->pos.

Definition at line 106 of file blf_internal_types.hh.

Referenced by blf_batch_draw_begin(), and blf_texture_draw().

◆ pos_loc

unsigned int BatchBLF::pos_loc

Definition at line 103 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().

◆ pos_step

GPUVertBufRaw BatchBLF::pos_step

Definition at line 102 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), blf_batch_draw_init(), and blf_texture_draw().

◆ simple_shader

bool BatchBLF::simple_shader

Definition at line 109 of file blf_internal_types.hh.

Referenced by blf_batch_draw_begin().

◆ verts

blender::gpu::VertBuf* BatchBLF::verts

Definition at line 101 of file blf_internal_types.hh.

Referenced by blf_batch_draw(), and blf_batch_draw_init().


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