|
Blender V5.3
|
#include <blf_internal_types.hh>
Public Attributes | |
| float * | fbuf |
| unsigned char * | cbuf |
| int | dims [2] |
| int | channel_count |
| const ColorSpace * | colorspace |
| float | col_init [4] |
| unsigned char | col_char [4] |
| float | col_float [4] |
Definition at line 238 of file blf_internal_types.hh.
| unsigned char* blender::FontBufInfoBLF::cbuf |
The same but unsigned char.
Definition at line 243 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer(), blender::BLF_draw_buffer(), blender::blf_font_fill(), and blender::blf_glyph_draw_buffer().
| int blender::FontBufInfoBLF::channel_count |
The number of channels in the buffer. Can be either 1 or 4 for grayscale and color buffers respectively. The red channel of the color is used in case of a grayscale buffer.
Definition at line 252 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer(), blender::blf_font_fill(), and blender::blf_glyph_draw_buffer().
| unsigned char blender::FontBufInfoBLF::col_char[4] |
Cached conversion from 'col_init'.
Definition at line 263 of file blf_internal_types.hh.
Referenced by blender::blf_draw_buffer__start(), and blender::blf_glyph_draw_buffer().
| float blender::FontBufInfoBLF::col_float[4] |
Definition at line 264 of file blf_internal_types.hh.
Referenced by blender::blf_draw_buffer__start(), and blender::blf_glyph_draw_buffer().
| float blender::FontBufInfoBLF::col_init[4] |
The color, the alphas is get from the glyph! (color is sRGB space). The red channel of the color is used in case of a grayscale buffer.
Definition at line 261 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer_col(), blender::BLF_buffer_state_pop(), blender::blf_draw_buffer__start(), and blender::blf_font_fill().
| const ColorSpace* blender::FontBufInfoBLF::colorspace |
Color-space of the byte buffer (float is scene linear).
Definition at line 255 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer(), and blender::blf_draw_buffer__start().
| int blender::FontBufInfoBLF::dims[2] |
Buffer size, keep signed so comparisons with negative values work.
Definition at line 246 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer(), blender::blf_font_fill(), and blender::blf_glyph_draw_buffer().
| float* blender::FontBufInfoBLF::fbuf |
For draw to buffer, always set this to NULL after finish!
Definition at line 240 of file blf_internal_types.hh.
Referenced by blender::BLF_buffer(), blender::BLF_draw_buffer(), blender::blf_font_fill(), and blender::blf_glyph_draw_buffer().