Blender V4.3
gpu_material_library.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2005 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#pragma once
11
12#include "GPU_material.hh"
13
14#define MAX_FUNCTION_NAME 64
15#define MAX_PARAMETER 36
16
17struct GSet;
18
24
30 /* TODO(@fclem): Clean that void pointer. */
31 void *source; /* GPUSource */
32};
33
34GPUFunction *gpu_material_library_use_function(GSet *used_libraries, const char *name);
struct GSet GSet
Definition BLI_ghash.h:341
eGPUType
GPUFunction * gpu_material_library_use_function(GSet *used_libraries, const char *name)
@ FUNCTION_QUAL_IN
@ FUNCTION_QUAL_OUT
@ FUNCTION_QUAL_INOUT
#define MAX_FUNCTION_NAME
#define MAX_PARAMETER
eGPUType paramtype[MAX_PARAMETER]
GPUFunctionQual paramqual[MAX_PARAMETER]