Blender V5.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
11#pragma once
12
13#include "BLI_set.hh"
14#include "GPU_material.hh"
15
16namespace blender {
17
18#define MAX_FUNCTION_NAME 64
19#define MAX_PARAMETER 39
20
26
32 /* TODO(@fclem): Clean that void pointer. */
33 void *source; /* GPUSource */
34};
35
37void gpu_material_library_use_function(Set<StringRefNull> &used_libraries, const char *name);
38
39} // namespace blender
#define MAX_FUNCTION_NAME
#define MAX_PARAMETER
BMesh Iterators.
void gpu_material_library_use_function(Set< StringRefNull > &used_libraries, const char *name)
GPUFunction * gpu_material_library_get_function(const char *name)
GPUFunctionQual paramqual[MAX_PARAMETER]
char name[MAX_FUNCTION_NAME]
GPUType paramtype[MAX_PARAMETER]