|
Blender V4.5
|
#include "MEM_guardedalloc.h"#include "DNA_material_types.h"#include "BLI_span.hh"#include "BLI_string.h"#include "BLI_vector.hh"#include "BKE_cryptomatte.hh"#include "IMB_colormanagement.hh"#include "GPU_capabilities.hh"#include "GPU_shader.hh"#include "GPU_uniform_buffer.hh"#include "GPU_vertex_format.hh"#include "gpu_codegen.hh"#include "gpu_shader_dependency_private.hh"#include <cstdarg>#include <cstring>Go to the source code of this file.
Classes | |
| struct | GPUConstant |
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::gpu::shader |
Type > string conversion | |
| #define | SRC_NAME(io, list, link, type) |
| static std::ostream & | operator<< (std::ostream &stream, const GPUInput *input) |
| static std::ostream & | operator<< (std::ostream &stream, const GPUOutput *output) |
| static std::ostream & | operator<< (std::ostream &stream, const Span< float > &span) |
| static std::ostream & | operator<< (std::ostream &stream, const GPUConstant *input) |
Convert material node-trees to GLSL.
Definition in file gpu_codegen.cc.
| #define SRC_NAME | ( | io, | |
| list, | |||
| link, | |||
| type ) |
Definition at line 46 of file gpu_codegen.cc.
Referenced by operator<<(), and operator<<().
|
static |
Definition at line 104 of file gpu_codegen.cc.
References input.
|
static |
Definition at line 49 of file gpu_codegen.cc.
References BLI_assert, GPU_SOURCE_ATTR, GPU_SOURCE_CONSTANT, GPU_SOURCE_FUNCTION_CALL, GPU_SOURCE_LAYER_ATTR, GPU_SOURCE_OUTPUT, GPU_SOURCE_STRUCT, GPU_SOURCE_TEX, GPU_SOURCE_TEX_TILED_MAPPING, GPU_SOURCE_UNIFORM, GPU_SOURCE_UNIFORM_ATTR, input, inputs, and SRC_NAME.
|
static |
Definition at line 77 of file gpu_codegen.cc.
|
static |
Definition at line 83 of file gpu_codegen.cc.
References blender::Span< T >::cast(), element, blender::Span< T >::last(), blender::Span< T >::size(), and SNPRINTF.