Blender
V5.3
source
blender
gpu
shaders
compat
gpu_shader_cxx_string.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2024 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11
#pragma once
12
13
/* For uint declaration. */
14
#include "
gpu_shader_cxx_vector.hh
"
// IWYU pragma: export
15
22
struct
string_t
{
23
string_t
(
const
char
*
/*str*/
) {}
24
};
25
26
bool
equal
(
string_t
,
string_t
)
27
{
28
return
false
;
29
}
30
31
uint
as_uint
(
string_t
)
32
{
33
return
1;
34
}
equal
VecBase< bool, D > equal(VecOp< T, D >, VecOp< T, D >) RET
as_uint
uint as_uint(string_t)
Definition
gpu_shader_cxx_string.hh:31
gpu_shader_cxx_vector.hh
string_t
Definition
gpu_shader_cxx_string.hh:22
string_t::string_t
string_t(const char *)
Definition
gpu_shader_cxx_string.hh:23
Generated on
for Blender by
doxygen
1.18.0