This was added for a fairly specialezed use case and is no longer being used as far as we know. A future replacement would be to add a USD/Hydra procedural, for which most of the groundwork already exists. Pull Request: https://projects.blender.org/blender/blender/pulls/146021
35 lines
627 B
C
35 lines
627 B
C
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup DNA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* clang-format off */
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/** \name CacheFile Struct
|
|
* \{ */
|
|
|
|
#define _DNA_DEFAULT_CacheFile \
|
|
{ \
|
|
.filepath[0] = '\0', \
|
|
.override_frame = false, \
|
|
.frame = 0.0f, \
|
|
.is_sequence = false, \
|
|
.scale = 1.0f, \
|
|
.object_paths ={NULL, NULL}, \
|
|
\
|
|
.type = 0, \
|
|
.handle = NULL, \
|
|
.handle_filepath[0] = '\0', \
|
|
.handle_readers = NULL, \
|
|
}
|
|
|
|
/** \} */
|
|
|
|
/* clang-format on */
|