Blender V5.0
blender::gpu::shader::metadata::Source Struct Reference

#include <glsl_preprocess.hh>

Public Member Functions

std::string serialize (const std::string &function_name) const

Public Attributes

std::vector< Builtinbuiltins
std::vector< std::string > dependencies
std::vector< PrintfFormatprintf_formats
std::vector< FunctionFormatfunctions

Detailed Description

Definition at line 106 of file glsl_preprocess.hh.

Member Function Documentation

◆ serialize()

std::string blender::gpu::shader::metadata::Source::serialize ( const std::string & function_name) const
inline

Definition at line 113 of file glsl_preprocess.hh.

References builtins, dependencies, functions, and printf_formats.

Referenced by main().

Member Data Documentation

◆ builtins

std::vector<Builtin> blender::gpu::shader::metadata::Source::builtins

Definition at line 107 of file glsl_preprocess.hh.

Referenced by serialize().

◆ dependencies

std::vector<std::string> blender::gpu::shader::metadata::Source::dependencies

Definition at line 109 of file glsl_preprocess.hh.

Referenced by serialize().

◆ functions

std::vector<FunctionFormat> blender::gpu::shader::metadata::Source::functions

Definition at line 111 of file glsl_preprocess.hh.

Referenced by serialize().

◆ printf_formats

std::vector<PrintfFormat> blender::gpu::shader::metadata::Source::printf_formats

Definition at line 110 of file glsl_preprocess.hh.

Referenced by serialize().


The documentation for this struct was generated from the following file: