Blender V4.3
gpu_material_library.hh File Reference
#include "GPU_material.hh"

Go to the source code of this file.

Classes

struct  GPUFunction
 

Macros

#define MAX_FUNCTION_NAME   64
 
#define MAX_PARAMETER   36
 

Enumerations

enum  GPUFunctionQual { FUNCTION_QUAL_IN , FUNCTION_QUAL_OUT , FUNCTION_QUAL_INOUT }
 

Functions

GPUFunctiongpu_material_library_use_function (GSet *used_libraries, const char *name)
 

Detailed Description

Parsing of and code generation using GLSL shaders in gpu/shaders/material.

Definition in file gpu_material_library.hh.

Macro Definition Documentation

◆ MAX_FUNCTION_NAME

#define MAX_FUNCTION_NAME   64

Definition at line 14 of file gpu_material_library.hh.

◆ MAX_PARAMETER

#define MAX_PARAMETER   36

Definition at line 15 of file gpu_material_library.hh.

Enumeration Type Documentation

◆ GPUFunctionQual

Enumerator
FUNCTION_QUAL_IN 
FUNCTION_QUAL_OUT 
FUNCTION_QUAL_INOUT 

Definition at line 19 of file gpu_material_library.hh.

Function Documentation

◆ gpu_material_library_use_function()

GPUFunction * gpu_material_library_use_function ( GSet * used_libraries,
const char * name )

Referenced by GPU_link(), and gpu_stack_link_v().