|
Blender V5.3
|
#include <cstring>#include "BLI_string_utf8.hh"#include "DNA_space_types.h"#include "DNA_text_types.h"#include "BKE_text.h"#include "text_format.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Local Functions (for #TextFormatType::format_line) | |
| static int | blender::txtfmt_osl_find_builtinfunc (const char *string) |
| static int | blender::txtfmt_osl_find_reserved (const char *string) |
| static int | blender::txtfmt_osl_find_specialvar (const char *string) |
| static int | blender::txtfmt_osl_find_preprocessor (const char *string) |
| static char | blender::txtfmt_osl_format_identifier (const char *str) |
Format Line Implementation (#TextFormatType::format_line) | |
| static void | blender::txtfmt_osl_format_line (SpaceText *st, TextLine *line, const bool do_next) |
Registration | |
| void | blender::ED_text_format_register_osl () |
Local Literal Definitions | |
| static const char * | blender::text_format_osl_literals_builtinfunc_data [] |
| static const char * | blender::text_format_osl_literals_reserved_data [] |
| static const char * | blender::text_format_osl_literals_specialvar_data [] |
| static const Span< const char * > | blender::text_format_osl_literals_builtinfunc (text_format_osl_literals_builtinfunc_data, ARRAY_SIZE(text_format_osl_literals_builtinfunc_data)) |
| static const Span< const char * > | blender::text_format_osl_literals_reserved (text_format_osl_literals_reserved_data, ARRAY_SIZE(text_format_osl_literals_reserved_data)) |
| static const Span< const char * > | blender::text_format_osl_literals_specialvar (text_format_osl_literals_specialvar_data, ARRAY_SIZE(text_format_osl_literals_specialvar_data)) |
Note that this formatter shares core logic with text_format_glsl.cc, improvements here may apply there too.
Definition in file text_format_osl.cc.