|
Blender V5.3
|
Public Member Functions | |
| Preprocessor (const std::string_view str) | |
| void | preprocess () |
| void | optimize () |
| std::string | result_get () |
Fast C preprocessor implementation.
This is not a compliant implementation, but it supports most common features.
What is not supported:
Unsupported preprocessor directive (like #warning and #error) are left untouched.
Definition at line 759 of file gpu_shader_preprocessor.cc.
|
inline |
Definition at line 853 of file gpu_shader_preprocessor.cc.
|
inline |
Definition at line 976 of file gpu_shader_preprocessor.cc.
Referenced by blender::gpu::Shader::run_preprocessor().
|
inline |
Definition at line 945 of file gpu_shader_preprocessor.cc.
References blender::gpu::Directive::next().
Referenced by blender::gpu::Shader::run_preprocessor().
|
inline |
Definition at line 984 of file gpu_shader_preprocessor.cc.
Referenced by blender::gpu::Shader::run_preprocessor().