Blender V5.3
light.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <pxr/base/gf/matrix4d.h>
8#include <pxr/imaging/hd/dataSource.h>
9
10namespace blender {
11
12struct Object;
13
14namespace io::hydra {
15
16struct EmittedObject;
17struct PopulateContext;
18
20pxr::HdContainerDataSourceHandle build_light_prim_data_source(
21 const pxr::HdContainerDataSourceHandle &light_params,
22 const pxr::GfMatrix4d &transform,
23 bool visible);
24
26void emit_light_object(PopulateContext &ctx, const Object *object, EmittedObject &emitted);
27
32void emit_light_dupli(PopulateContext &ctx, const Object *source, const float dupli_mat[4][4]);
33
34} // namespace io::hydra
35} // namespace blender
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
void emit_light_dupli(PopulateContext &ctx, const Object *source, const float dupli_mat[4][4])
void emit_light_object(PopulateContext &ctx, const Object *object, EmittedObject &emitted)
pxr::HdContainerDataSourceHandle build_light_prim_data_source(const pxr::HdContainerDataSourceHandle &light_params, const pxr::GfMatrix4d &transform, const bool visible)
BMesh Iterators.