Blender
V4.5
source
blender
imbuf
opencolorio
intern
libocio
libocio_view.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2025 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#if defined(WITH_OPENCOLORIO)
8
9
# include "
MEM_guardedalloc.h
"
10
11
# include "
OCIO_view.hh
"
12
13
# include "
BLI_string_ref.hh
"
14
15
namespace
blender::ocio
{
16
17
class
LibOCIOView :
public
View
{
18
StringRefNull name_;
19
20
public
:
21
LibOCIOView(
const
int
index,
const
StringRefNull name) : name_(name)
22
{
23
this->index = index;
24
}
25
26
StringRefNull name()
const override
27
{
28
return
name_;
29
}
30
31
MEM_CXX_CLASS_ALLOC_FUNCS(
"LibOCIOView"
);
32
};
33
34
}
// namespace blender::ocio
35
36
#endif
BLI_string_ref.hh
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
OCIO_view.hh
blender::ocio::View
Definition
OCIO_view.hh:11
blender::ocio
Definition
BLF_api.hh:32
Generated on
for Blender by
doxygen
1.15.0