Blender V5.0
gpu_codegen.cc File Reference
#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< StringRefNullset_to_vector_stable (Set< StringRefNull > &set)

Detailed Description

Convert material node-trees to GLSL.

Definition in file gpu_codegen.cc.

Function Documentation

◆ operator<<() [1/4]

std::ostream & operator<< ( std::ostream & stream,
const GPUConstant * input )
static

Definition at line 97 of file gpu_codegen.cc.

References input.

◆ operator<<() [2/4]

◆ operator<<() [3/4]

std::ostream & operator<< ( std::ostream & stream,
const GPUOutput * output )
static

Definition at line 70 of file gpu_codegen.cc.

References output.

◆ operator<<() [4/4]

std::ostream & operator<< ( std::ostream & stream,
const Span< float > & span )
static

◆ set_to_vector_stable()