Blender V4.5
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 110 of file blf_internal_types.hh.

Member Data Documentation

◆ active

bool BatchBLF::active

Definition at line 122 of file blf_internal_types.hh.

◆ batch

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

Definition at line 113 of file blf_internal_types.hh.

◆ col_loc

unsigned int BatchBLF::col_loc

Definition at line 116 of file blf_internal_types.hh.

◆ col_step

GPUVertBufRaw BatchBLF::col_step

Definition at line 115 of file blf_internal_types.hh.

◆ enabled

bool BatchBLF::enabled

Definition at line 122 of file blf_internal_types.hh.

◆ font

FontBLF* BatchBLF::font

Can only batch glyph from the same font.

Definition at line 112 of file blf_internal_types.hh.

◆ glyph_cache

GlyphCacheBLF* BatchBLF::glyph_cache

Definition at line 123 of file blf_internal_types.hh.

◆ glyph_flags_loc

unsigned int BatchBLF::glyph_flags_loc

Definition at line 116 of file blf_internal_types.hh.

◆ glyph_flags_step

GPUVertBufRaw BatchBLF::glyph_flags_step

Definition at line 115 of file blf_internal_types.hh.

◆ glyph_len

unsigned int BatchBLF::glyph_len

Definition at line 117 of file blf_internal_types.hh.

◆ glyph_size_loc

unsigned int BatchBLF::glyph_size_loc

Definition at line 116 of file blf_internal_types.hh.

◆ glyph_size_step

GPUVertBufRaw BatchBLF::glyph_size_step

Definition at line 115 of file blf_internal_types.hh.

◆ mat

float BatchBLF::mat[4][4]

Definition at line 121 of file blf_internal_types.hh.

◆ offset_loc

unsigned int BatchBLF::offset_loc

Definition at line 116 of file blf_internal_types.hh.

◆ offset_step

GPUVertBufRaw BatchBLF::offset_step

Definition at line 115 of file blf_internal_types.hh.

◆ ofs

int BatchBLF::ofs[2]

Copy of font->pos.

Definition at line 119 of file blf_internal_types.hh.

◆ pos_loc

unsigned int BatchBLF::pos_loc

Definition at line 116 of file blf_internal_types.hh.

◆ pos_step

GPUVertBufRaw BatchBLF::pos_step

Definition at line 115 of file blf_internal_types.hh.

◆ simple_shader

bool BatchBLF::simple_shader

Definition at line 122 of file blf_internal_types.hh.

◆ verts

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

Definition at line 114 of file blf_internal_types.hh.


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