Blender V4.3
gpu_shader_dependency_private.hh File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::shader::PrintfFormat
 
struct  blender::gpu::shader::PrintfFormat::Block
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 
namespace  blender::gpu::shader
 

Functions

void gpu_shader_dependency_init ()
 
void gpu_shader_dependency_exit ()
 
BuiltinBits blender::gpu::shader::gpu_shader_dependency_get_builtins (const StringRefNull source_name)
 
bool blender::gpu::shader::gpu_shader_dependency_has_printf ()
 
bool blender::gpu::shader::gpu_shader_dependency_force_gpu_print_injection ()
 
const PrintfFormatblender::gpu::shader::gpu_shader_dependency_get_printf_format (uint32_t format_hash)
 
Vector< const char * > blender::gpu::shader::gpu_shader_dependency_get_resolved_source (const StringRefNull source_name)
 
StringRefNull blender::gpu::shader::gpu_shader_dependency_get_source (const StringRefNull source_name)
 
StringRefNull blender::gpu::shader::gpu_shader_dependency_get_filename_from_source_string (const StringRefNull source_string)
 Find the name of the file from which the given string was generated.
 

Detailed Description

Shader source dependency builder that make possible to support #include directive inside the shader files.

Definition in file gpu_shader_dependency_private.hh.

Function Documentation

◆ gpu_shader_dependency_exit()

void gpu_shader_dependency_exit ( )

Referenced by GPU_exit().

◆ gpu_shader_dependency_init()

void gpu_shader_dependency_init ( )

Referenced by GPU_init().