Iray SDK API nvidia_logo_transpbg.gif Up
iirradiance_probes.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IIRRADIANCE_PROBES_H
8#define MI_NEURAYLIB_IIRRADIANCE_PROBES_H
9
12
13namespace mi {
14
15namespace neuraylib {
16
33 public base::Interface_declare<0x566166f0,0x6df2,0x4131,0xa1,0xfe,0xe6,0x45,0x74,0x5f,0xb4,0xc1,
34 neuraylib::IScene_element>
35{
36public:
40 virtual void set_length( Size size) = 0;
41
43 virtual Size get_length() const = 0;
44
58 Size index, const Float32_3_struct& position, const Float32_3_struct& normal) = 0;
59
69 Size index, Float32_3_struct& position, Float32_3_struct& normal) const = 0;
70};
71 // end group mi_neuray_misc
73
74} // namespace neuraylib
75
76} // namespace mi
77
78#endif // MI_NEURAYLIB_IIRRADIANCE_PROBES_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Irradiance probes are used to render the irradiance at certain locations in the scene.
Definition: iirradiance_probes.h:35
virtual Sint32 get_probe(Size index, Float32_3_struct &position, Float32_3_struct &normal) const =0
Returns the probe data for the probe at index.
virtual Size get_length() const =0
Returns the number of probes.
virtual Sint32 set_probe(Size index, const Float32_3_struct &position, const Float32_3_struct &normal)=0
Sets the probe data for the probe at index.
virtual void set_length(Size size)=0
Sets the number of probes,.
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Base class for all scene elements.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Generic storage class template for math vector representations storing DIM elements of type T.
Definition: vector.h:135
Typedefs for types from the math API.