Blender  V3.3
BLF_api.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2009 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #include "BLI_compiler_attrs.h"
11 #include "BLI_sys_types.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /* Name of subfolder inside BLENDER_DATAFILES that contains font files. */
18 #define BLF_DATAFILES_FONTS_DIR "fonts"
19 
20 /* File name of the default variable-width font. */
21 #define BLF_DEFAULT_PROPORTIONAL_FONT "droidsans.ttf"
22 
23 /* File name of the default fixed-pitch font. */
24 #define BLF_DEFAULT_MONOSPACED_FONT "bmonofont-i18n.ttf"
25 
26 /* enable this only if needed (unused circa 2016) */
27 #define BLF_BLUR_ENABLE 0
28 
29 struct ColorManagedDisplay;
30 struct ResultBLF;
31 struct rctf;
32 struct rcti;
33 
34 int BLF_init(void);
35 void BLF_exit(void);
36 
37 void BLF_cache_clear(void);
38 
42 void BLF_cache_flush_set_fn(void (*cache_flush_fn)(void));
43 
47 int BLF_load(const char *name) ATTR_NONNULL();
48 int BLF_load_mem(const char *name, const unsigned char *mem, int mem_size) ATTR_NONNULL();
49 bool BLF_is_loaded(const char *name) ATTR_NONNULL();
50 
51 int BLF_load_unique(const char *name) ATTR_NONNULL();
52 int BLF_load_mem_unique(const char *name, const unsigned char *mem, int mem_size) ATTR_NONNULL();
53 
54 void BLF_unload(const char *name) ATTR_NONNULL();
55 void BLF_unload_id(int fontid);
56 void BLF_unload_all(void);
57 
58 char *BLF_display_name_from_file(const char *filepath);
59 
63 bool BLF_has_glyph(int fontid, unsigned int unicode);
64 
68 void BLF_metrics_attach(int fontid, unsigned char *mem, int mem_size);
69 
70 void BLF_aspect(int fontid, float x, float y, float z);
71 void BLF_position(int fontid, float x, float y, float z);
72 void BLF_size(int fontid, float size, int dpi);
73 
74 /* Goal: small but useful color API. */
75 
76 void BLF_color4ubv(int fontid, const unsigned char rgba[4]);
77 void BLF_color3ubv(int fontid, const unsigned char rgb[3]);
78 void BLF_color3ubv_alpha(int fontid, const unsigned char rgb[3], unsigned char alpha);
79 void BLF_color4ub(
80  int fontid, unsigned char r, unsigned char g, unsigned char b, unsigned char alpha);
81 void BLF_color3ub(int fontid, unsigned char r, unsigned char g, unsigned char b);
82 void BLF_color4f(int fontid, float r, float g, float b, float a);
83 void BLF_color4fv(int fontid, const float rgba[4]);
84 void BLF_color3f(int fontid, float r, float g, float b);
85 void BLF_color3fv_alpha(int fontid, const float rgb[3], float alpha);
86 /* Also available: `UI_FontThemeColor(fontid, colorid)`. */
87 
101 void BLF_matrix(int fontid, const float m[16]);
102 
107 void BLF_batch_draw_begin(void);
108 void BLF_batch_draw_flush(void);
109 void BLF_batch_draw_end(void);
110 
114 void BLF_draw_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info)
115  ATTR_NONNULL(2);
116 void BLF_draw(int fontid, const char *str, size_t str_len) ATTR_NONNULL(2);
117 int BLF_draw_mono(int fontid, const char *str, size_t str_len, int cwidth) ATTR_NONNULL(2);
118 
119 typedef bool (*BLF_GlyphBoundsFn)(const char *str,
120  size_t str_step_ofs,
121  const struct rcti *glyph_step_bounds,
122  int glyph_advance_x,
123  const struct rcti *glyph_bounds,
124  const int glyph_bearing[2],
125  void *user_data);
126 
135 void BLF_boundbox_foreach_glyph_ex(int fontid,
136  const char *str,
137  size_t str_len,
138  BLF_GlyphBoundsFn user_fn,
139  void *user_data,
140  struct ResultBLF *r_info) ATTR_NONNULL(2);
141 void BLF_boundbox_foreach_glyph(int fontid,
142  const char *str,
143  size_t str_len,
144  BLF_GlyphBoundsFn user_fn,
145  void *user_data) ATTR_NONNULL(2);
146 
150 size_t BLF_width_to_strlen(
151  int fontid, const char *str, size_t str_len, float width, float *r_width) ATTR_NONNULL(2);
155 size_t BLF_width_to_rstrlen(
156  int fontid, const char *str, size_t str_len, float width, float *r_width) ATTR_NONNULL(2);
157 
162 void BLF_boundbox_ex(int fontid,
163  const char *str,
164  size_t str_len,
165  struct rcti *box,
166  struct ResultBLF *r_info) ATTR_NONNULL(2);
167 void BLF_boundbox(int fontid, const char *str, size_t str_len, struct rcti *box) ATTR_NONNULL();
168 
174 float BLF_width_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info)
176 float BLF_width(int fontid, const char *str, size_t str_len) ATTR_WARN_UNUSED_RESULT
177  ATTR_NONNULL();
178 float BLF_height_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info)
180 float BLF_height(int fontid, const char *str, size_t str_len) ATTR_WARN_UNUSED_RESULT
181  ATTR_NONNULL();
182 
187 int BLF_width_max(int fontid) ATTR_WARN_UNUSED_RESULT;
188 int BLF_descender(int fontid) ATTR_WARN_UNUSED_RESULT;
189 int BLF_ascender(int fontid) ATTR_WARN_UNUSED_RESULT;
190 
196  int fontid, const char *str, size_t str_len, float *r_width, float *r_height) ATTR_NONNULL();
197 
202 float BLF_fixed_width(int fontid) ATTR_WARN_UNUSED_RESULT;
203 
208 void BLF_rotation(int fontid, float angle);
209 void BLF_clipping(int fontid, int xmin, int ymin, int xmax, int ymax);
210 void BLF_wordwrap(int fontid, int wrap_width);
211 
212 #if BLF_BLUR_ENABLE
213 void BLF_blur(int fontid, int size);
214 #endif
215 
216 void BLF_enable(int fontid, int option);
217 void BLF_disable(int fontid, int option);
218 
224 void BLF_shadow(int fontid, int level, const float rgba[4]) ATTR_NONNULL(3);
225 
232 void BLF_shadow_offset(int fontid, int x, int y);
233 
245 void BLF_buffer(int fontid,
246  float *fbuf,
247  unsigned char *cbuf,
248  int w,
249  int h,
250  int nch,
251  struct ColorManagedDisplay *display);
252 
256 void BLF_buffer_col(int fontid, const float rgba[4]) ATTR_NONNULL(2);
257 
262 void BLF_draw_buffer_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info)
263  ATTR_NONNULL(2);
264 void BLF_draw_buffer(int fontid, const char *str, size_t str_len) ATTR_NONNULL(2);
265 
269 void BLF_dir_add(const char *path) ATTR_NONNULL();
270 
274 void BLF_dir_rem(const char *path) ATTR_NONNULL();
275 
280 
284 void BLF_dir_free(char **dirs, int count) ATTR_NONNULL();
285 
286 /* blf_thumbs.c */
287 
293 void BLF_thumb_preview(const char *filepath,
294  const char **draw_str,
295  const char **i18n_draw_str,
296  unsigned char draw_str_lines,
297  const float font_color[4],
298  int font_size,
299  unsigned char *buf,
300  int w,
301  int h,
302  int channels) ATTR_NONNULL();
303 
304 /* blf_default.c */
305 
306 void BLF_default_dpi(int dpi);
307 void BLF_default_size(float size);
308 void BLF_default_set(int fontid);
312 int BLF_default(void);
316 void BLF_draw_default(float x, float y, float z, const char *str, size_t str_len) ATTR_NONNULL();
320 int BLF_set_default(void);
321 
322 /* blf_font_default.c */
323 
324 int BLF_load_default(bool unique);
325 int BLF_load_mono_default(bool unique);
326 void BLF_load_font_stack(void);
327 
328 #ifdef DEBUG
329 void BLF_state_print(int fontid);
330 #endif
331 
333 enum {
334  BLF_ROTATION = 1 << 0,
335  BLF_CLIPPING = 1 << 1,
336  BLF_SHADOW = 1 << 2,
337  // BLF_FLAG_UNUSED_3 = 1 << 3, /* dirty */
338  BLF_MATRIX = 1 << 4,
339  BLF_ASPECT = 1 << 5,
340  BLF_WORD_WRAP = 1 << 6,
342  BLF_MONOCHROME = 1 << 7,
345  BLF_HINTING_FULL = 1 << 10,
346  BLF_BOLD = 1 << 11,
347  BLF_ITALIC = 1 << 12,
349  BLF_MONOSPACED = 1 << 13,
351  BLF_DEFAULT = 1 << 14,
353  BLF_LAST_RESORT = 1 << 15,
354 };
355 
356 #define BLF_DRAW_STR_DUMMY_MAX 1024
357 
358 /* XXX, bad design */
359 extern int blf_mono_font;
360 extern int blf_mono_font_render; /* don't mess drawing with render threads. */
361 
365 struct ResultBLF {
369  int lines;
373  int width;
374 };
375 
376 #ifdef __cplusplus
377 }
378 #endif
@ BLF_ITALIC
Definition: BLF_api.h:347
@ BLF_ROTATION
Definition: BLF_api.h:334
@ BLF_HINTING_NONE
Definition: BLF_api.h:343
@ BLF_MATRIX
Definition: BLF_api.h:338
@ BLF_LAST_RESORT
Definition: BLF_api.h:353
@ BLF_MONOSPACED
Definition: BLF_api.h:349
@ BLF_WORD_WRAP
Definition: BLF_api.h:340
@ BLF_MONOCHROME
Definition: BLF_api.h:342
@ BLF_BOLD
Definition: BLF_api.h:346
@ BLF_HINTING_FULL
Definition: BLF_api.h:345
@ BLF_HINTING_SLIGHT
Definition: BLF_api.h:344
@ BLF_ASPECT
Definition: BLF_api.h:339
@ BLF_SHADOW
Definition: BLF_api.h:336
@ BLF_CLIPPING
Definition: BLF_api.h:335
@ BLF_DEFAULT
Definition: BLF_api.h:351
void BLF_draw_buffer(int fontid, const char *str, size_t str_len) ATTR_NONNULL(2)
Definition: blf.c:881
void BLF_draw_buffer_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info) ATTR_NONNULL(2)
Definition: blf.c:863
void BLF_default_set(int fontid)
Definition: blf_default.c:37
int BLF_descender(int fontid) ATTR_WARN_UNUSED_RESULT
Definition: blf.c:744
int BLF_load_mem(const char *name, const unsigned char *mem, int mem_size) ATTR_NONNULL()
Definition: blf.c:187
int BLF_load_mem_unique(const char *name, const unsigned char *mem, int mem_size) ATTR_NONNULL()
Definition: blf.c:197
void BLF_aspect(int fontid, float x, float y, float z)
Definition: blf.c:288
void BLF_color3ubv(int fontid, const unsigned char rgb[3])
Definition: blf.c:407
bool BLF_is_loaded(const char *name) ATTR_NONNULL()
Definition: blf.c:130
int BLF_init(void)
Definition: blf.c:59
int BLF_width_max(int fontid) ATTR_WARN_UNUSED_RESULT
Definition: blf.c:733
bool(* BLF_GlyphBoundsFn)(const char *str, size_t str_step_ofs, const struct rcti *glyph_step_bounds, int glyph_advance_x, const struct rcti *glyph_bounds, const int glyph_bearing[2], void *user_data)
Definition: BLF_api.h:119
void BLF_clipping(int fontid, int xmin, int ymin, int xmax, int ymax)
Definition: blf.c:775
void BLF_cache_clear(void)
Definition: blf.c:83
int BLF_load_default(bool unique)
float BLF_height(int fontid, const char *str, size_t str_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
Definition: blf.c:717
void BLF_thumb_preview(const char *filepath, const char **draw_str, const char **i18n_draw_str, unsigned char draw_str_lines, const float font_color[4], int font_size, unsigned char *buf, int w, int h, int channels) ATTR_NONNULL()
Definition: blf_thumbs.c:32
int BLF_default(void)
Definition: blf_default.c:44
void BLF_width_and_height(int fontid, const char *str, size_t str_len, float *r_width, float *r_height) ATTR_NONNULL()
Definition: blf.c:662
void BLF_color3f(int fontid, float r, float g, float b)
Definition: blf.c:460
int BLF_draw_mono(int fontid, const char *str, size_t str_len, int cwidth) ATTR_NONNULL(2)
Definition: blf.c:550
void BLF_default_dpi(int dpi)
Definition: blf_default.c:27
void BLF_color3fv_alpha(int fontid, const float rgb[3], float alpha)
Definition: blf.c:452
void BLF_color4fv(int fontid, const float rgba[4])
Definition: blf.c:437
bool BLF_has_glyph(int fontid, unsigned int unicode)
Definition: blf.c:121
char ** BLF_dir_get(int *ndir) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
Definition: blf_dir.c:76
size_t BLF_width_to_strlen(int fontid, const char *str, size_t str_len, float width, float *r_width) ATTR_NONNULL(2)
Definition: blf.c:596
void BLF_unload_all(void)
Definition: blf.c:256
void BLF_boundbox_ex(int fontid, const char *str, size_t str_len, struct rcti *box, struct ResultBLF *r_info) ATTR_NONNULL(2)
Definition: blf.c:640
void BLF_shadow_offset(int fontid, int x, int y)
Definition: blf.c:806
int blf_mono_font_render
Definition: blf.c:49
void BLF_shadow(int fontid, int level, const float rgba[4]) ATTR_NONNULL(3)
Definition: blf.c:796
void BLF_matrix(int fontid, const float m[16])
Definition: blf.c:299
float BLF_fixed_width(int fontid) ATTR_WARN_UNUSED_RESULT
Definition: blf.c:693
void BLF_batch_draw_flush(void)
Definition: blf.c:472
void BLF_boundbox_foreach_glyph_ex(int fontid, const char *str, size_t str_len, BLF_GlyphBoundsFn user_fn, void *user_data, struct ResultBLF *r_info) ATTR_NONNULL(2)
Definition: blf.c:568
size_t BLF_width_to_rstrlen(int fontid, const char *str, size_t str_len, float width, float *r_width) ATTR_NONNULL(2)
Definition: blf.c:618
void BLF_disable(int fontid, int option)
Definition: blf.c:279
void BLF_rotation(int fontid, float angle)
Definition: blf.c:766
void BLF_draw_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info) ATTR_NONNULL(2)
Definition: blf.c:521
void BLF_buffer_col(int fontid, const float rgba[4]) ATTR_NONNULL(2)
Definition: blf.c:836
void BLF_cache_flush_set_fn(void(*cache_flush_fn)(void))
Definition: blf_font.c:1188
void BLF_boundbox_foreach_glyph(int fontid, const char *str, size_t str_len, BLF_GlyphBoundsFn user_fn, void *user_data) ATTR_NONNULL(2)
Definition: blf.c:590
void BLF_default_size(float size)
Definition: blf_default.c:32
int BLF_load_unique(const char *name) ATTR_NONNULL()
Definition: blf.c:148
void BLF_color3ubv_alpha(int fontid, const unsigned char rgb[3], unsigned char alpha)
Definition: blf.c:395
int BLF_load_mono_default(bool unique)
void BLF_unload_id(int fontid)
Definition: blf.c:242
float BLF_width(int fontid, const char *str, size_t str_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
Definition: blf.c:688
void BLF_draw(int fontid, const char *str, size_t str_len) ATTR_NONNULL(2)
Definition: blf.c:538
float BLF_height_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(2)
Definition: blf.c:704
void BLF_unload(const char *name) ATTR_NONNULL()
Definition: blf.c:225
void BLF_dir_free(char **dirs, int count) ATTR_NONNULL()
Definition: blf_dir.c:100
int blf_mono_font
Definition: blf.c:48
void BLF_buffer(int fontid, float *fbuf, unsigned char *cbuf, int w, int h, int nch, struct ColorManagedDisplay *display)
Definition: blf.c:816
float BLF_width_ex(int fontid, const char *str, size_t str_len, struct ResultBLF *r_info) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(2)
Definition: blf.c:675
void BLF_exit(void)
Definition: blf.c:70
void BLF_load_font_stack(void)
void BLF_batch_draw_begin(void)
Definition: blf.c:466
void BLF_enable(int fontid, int option)
Definition: blf.c:270
void BLF_color3ub(int fontid, unsigned char r, unsigned char g, unsigned char b)
Definition: blf.c:425
int BLF_load(const char *name) ATTR_NONNULL()
Definition: blf.c:135
int BLF_height_max(int fontid) ATTR_WARN_UNUSED_RESULT
Definition: blf.c:722
void BLF_batch_draw_end(void)
Definition: blf.c:479
void BLF_color4f(int fontid, float r, float g, float b, float a)
Definition: blf.c:446
void BLF_color4ubv(int fontid, const unsigned char rgba[4])
Definition: blf.c:383
void BLF_size(int fontid, float size, int dpi)
Definition: blf.c:363
void BLF_dir_add(const char *path) ATTR_NONNULL()
Definition: blf_dir.c:50
int BLF_ascender(int fontid) ATTR_WARN_UNUSED_RESULT
Definition: blf.c:755
void BLF_draw_default(float x, float y, float z, const char *str, size_t str_len) ATTR_NONNULL()
Definition: blf_default.c:59
char * BLF_display_name_from_file(const char *filepath)
Definition: blf.c:886
int BLF_set_default(void)
Definition: blf_default.c:50
void BLF_color4ub(int fontid, unsigned char r, unsigned char g, unsigned char b, unsigned char alpha)
Definition: blf.c:412
void BLF_wordwrap(int fontid, int wrap_width)
Definition: blf.c:787
void BLF_position(int fontid, float x, float y, float z)
Definition: blf.c:308
void BLF_boundbox(int fontid, const char *str, size_t str_len, struct rcti *box) ATTR_NONNULL()
Definition: blf.c:657
void BLF_metrics_attach(int fontid, unsigned char *mem, int mem_size)
Definition: blf.c:178
void BLF_dir_rem(const char *path) ATTR_NONNULL()
Definition: blf_dir.c:64
#define ATTR_WARN_UNUSED_RESULT
#define ATTR_NONNULL(...)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble z
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble y2 _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat y2 _GL_VOID_RET _GL_VOID GLint GLint GLint y2 _GL_VOID_RET _GL_VOID GLshort GLshort GLshort y2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLuint *buffer _GL_VOID_RET _GL_VOID GLdouble t _GL_VOID_RET _GL_VOID GLfloat t _GL_VOID_RET _GL_VOID GLint t _GL_VOID_RET _GL_VOID GLshort t _GL_VOID_RET _GL_VOID GLdouble GLdouble r _GL_VOID_RET _GL_VOID GLfloat GLfloat r _GL_VOID_RET _GL_VOID GLint GLint r _GL_VOID_RET _GL_VOID GLshort GLshort r _GL_VOID_RET _GL_VOID GLdouble GLdouble r
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
Definition: btQuadWord.h:119
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
Definition: btVector3.h:356
void * user_data
#define str(s)
int count
static unsigned a[3]
Definition: RandGen.cpp:78
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
static const pxr::TfToken rgba("rgba", pxr::TfToken::Immortal)
static const pxr::TfToken g("g", pxr::TfToken::Immortal)
static const pxr::TfToken rgb("rgb", pxr::TfToken::Immortal)
int lines
Definition: BLF_api.h:369
int width
Definition: BLF_api.h:373
int ymin
Definition: DNA_vec_types.h:64
int ymax
Definition: DNA_vec_types.h:64
int xmin
Definition: DNA_vec_types.h:63
int xmax
Definition: DNA_vec_types.h:63
int wrap_width(const struct SpaceText *st, struct ARegion *region)