Blender V4.5
gpu_shader_create_info_private.hh File Reference
#include "GPU_shader.hh"

Go to the source code of this file.

Functions

void gpu_shader_create_info_init ()
void gpu_shader_create_info_exit ()
bool gpu_shader_create_info_compile (const char *name_starts_with_filter)
const GPUShaderCreateInfo * gpu_shader_create_info_get (const char *info_name)

Detailed Description

Descriptor type used to define shader structure, resources and interfaces.

Some rule of thumb:

  • Do not include anything else than this file in each descriptor file.

Definition in file gpu_shader_create_info_private.hh.

Function Documentation

◆ gpu_shader_create_info_compile()

◆ gpu_shader_create_info_exit()

void gpu_shader_create_info_exit ( )

◆ gpu_shader_create_info_get()

const GPUShaderCreateInfo * gpu_shader_create_info_get ( const char * info_name)

Runtime created shader information is not registered in the dictionary and cannot be searched.

Definition at line 642 of file gpu_shader_create_info.cc.

References blender::gpu::shader::g_create_infos, and printf.

Referenced by blender::gpu::shader::ShaderCreateInfo::finalize(), GPU_shader_create_from_info_name(), GPU_shader_create_info_get(), and blender::gpu::tests::ShaderSpecializationConst::init_shader().

◆ gpu_shader_create_info_init()

void gpu_shader_create_info_init ( )

Referenced by GPU_init().