blender/intern/cycles/hydra/file_reader.h
Brecht Van Lommel 9b92ce9dc0 Cycles: add USD as a file format for Cycles standalone rendering
Long term, this should replace the XML format. This reuses the Hydra render
delegate implementation, and so supports the same features. The same command
line options and GUI work for both XML and USD also.

The implementation of this is still disabled, waiting for some refactoring of
USD library linking. However we want the Cycles code to be in sync between
repositories for the 3.2 release.

Ref T96731
2022-04-29 19:19:19 +02:00

18 lines
348 B
C++

/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
#pragma once
#include "hydra/config.h"
#include "session/session.h"
HDCYCLES_NAMESPACE_OPEN_SCOPE
class HdCyclesFileReader {
public:
static void read(Session *session, const char *filepath, const bool use_camera = true);
};
HDCYCLES_NAMESPACE_CLOSE_SCOPE