Go to the source code of this file.
◆ SetObjItem
| #define SetObjItem |
( |
| obj | ) |
|
◆ SetStrItem
| #define SetStrItem |
( |
| str | ) |
|
◆ BPY_app_ocio_struct()
| PyObject * BPY_app_ocio_struct |
( |
| ) |
|
|
nodiscard |
◆ make_ocio_info()
| PyObject * make_ocio_info |
( |
| ) |
|
|
static |
Definition at line 38 of file bpy_app_ocio.cc.
References BlenderAppOCIOType, blender::ocio::get_version(), blender::ocio::Version::major, blender::ocio::Version::minor, blender::ocio::Version::patch, pos, Py_DECREF(), PyC_Tuple_Pack_I32(), SetObjItem, SetStrItem, and UNLIKELY.
Referenced by BPY_app_ocio_struct().
◆ app_ocio_info_desc
| PyStructSequence_Desc app_ocio_info_desc |
|
static |
Initial value: = {
"bpy.app.ocio",
"This module contains information about OpenColorIO blender is linked against",
}
static PyStructSequence_Field app_ocio_info_fields[]
Definition at line 31 of file bpy_app_ocio.cc.
Referenced by BPY_app_ocio_struct().
◆ app_ocio_info_fields
| PyStructSequence_Field app_ocio_info_fields[] |
|
static |
Initial value: = {
{"supported", "Boolean, True when Blender is built with OpenColorIO support"},
{"version", "The OpenColorIO version as a tuple of 3 numbers"},
{"version_string", "The OpenColorIO version formatted as a string"},
{nullptr},
}
Definition at line 24 of file bpy_app_ocio.cc.
◆ BlenderAppOCIOType
| PyTypeObject BlenderAppOCIOType |
|
static |