Blender  V3.3
gpu_shader_dependency_private.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2021 Blender Foundation. All rights reserved. */
3 
11 #pragma once
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
18 
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #ifdef __cplusplus
26 
27 # include "BLI_string_ref.hh"
28 # include "BLI_vector.hh"
29 
30 # include "gpu_shader_create_info.hh"
31 
32 namespace blender::gpu::shader {
33 
34 BuiltinBits gpu_shader_dependency_get_builtins(const StringRefNull source_name);
35 
36 Vector<const char *> gpu_shader_dependency_get_resolved_source(const StringRefNull source_name);
37 StringRefNull gpu_shader_dependency_get_source(const StringRefNull source_name);
38 
45  const StringRefNull source_string);
46 
47 } // namespace blender::gpu::shader
48 
49 #endif
void gpu_shader_dependency_init(void)
void gpu_shader_dependency_exit(void)
StringRefNull gpu_shader_dependency_get_filename_from_source_string(const StringRefNull source_string)
BuiltinBits gpu_shader_dependency_get_builtins(const StringRefNull shader_source_name)
StringRefNull gpu_shader_dependency_get_source(const StringRefNull shader_source_name)
Vector< const char * > gpu_shader_dependency_get_resolved_source(const StringRefNull shader_source_name)