|
Blender V5.0
|
#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_material_library.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 |
Functions | |
Type > string conversion | |
| 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) |
GLSL code generation | |
| static Vector< StringRefNull > | set_to_vector_stable (Set< StringRefNull > &set) |
Convert material node-trees to GLSL.
Definition in file gpu_codegen.cc.
|
static |
Definition at line 97 of file gpu_codegen.cc.
References input.
|
static |
Definition at line 42 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, and input.
|
static |
Definition at line 70 of file gpu_codegen.cc.
References output.
Definition at line 76 of file gpu_codegen.cc.
References blender::Span< T >::cast(), element, blender::Span< T >::last(), blender::Span< T >::size(), and SNPRINTF.
|
static |
Definition at line 403 of file gpu_codegen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), and str.