Blender V4.5
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_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)

Detailed Description

Convert material node-trees to GLSL.

Definition in file gpu_codegen.cc.

Macro Definition Documentation

◆ SRC_NAME

#define SRC_NAME ( io,
list,
link,
type )
Value:
type

Definition at line 46 of file gpu_codegen.cc.

Referenced by operator<<(), and operator<<().

Function Documentation

◆ operator<<() [1/4]

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

Definition at line 104 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 77 of file gpu_codegen.cc.

References output, outputs, and SRC_NAME.

◆ operator<<() [4/4]

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