Blender
V3.3
|
#include "GPU_material.h"
Go to the source code of this file.
Classes | |
struct | GPUFunction |
Macros | |
#define | MAX_FUNCTION_NAME 64 |
#define | MAX_PARAMETER 36 |
Typedefs | |
typedef struct GPUFunction | GPUFunction |
Enumerations | |
enum | GPUFunctionQual { FUNCTION_QUAL_IN , FUNCTION_QUAL_OUT , FUNCTION_QUAL_INOUT } |
Functions | |
GPUFunction * | gpu_material_library_use_function (struct GSet *used_libraries, const char *name) |
Parsing of and code generation using GLSL shaders in gpu/shaders/material.
Definition in file gpu_material_library.h.
#define MAX_FUNCTION_NAME 64 |
Definition at line 17 of file gpu_material_library.h.
#define MAX_PARAMETER 36 |
Definition at line 18 of file gpu_material_library.h.
typedef struct GPUFunction GPUFunction |
enum GPUFunctionQual |
Enumerator | |
---|---|
FUNCTION_QUAL_IN | |
FUNCTION_QUAL_OUT | |
FUNCTION_QUAL_INOUT |
Definition at line 22 of file gpu_material_library.h.
GPUFunction* gpu_material_library_use_function | ( | struct GSet * | used_libraries, |
const char * | name | ||
) |
Definition at line 642 of file gpu_shader_dependency.cc.
References BLI_assert_msg, BLI_gset_add(), blender::StringRefNull::c_str(), blender::gpu::GPUSource::filename, g_functions, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default().
Referenced by GPU_link(), and gpu_stack_link_v().