godot/scene/3d/voxel_gi.cpp

/**************************************************************************/
/*  voxel_gi.cpp                                                          */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "voxel_gi.h"

#include "core/config/project_settings.h"
#include "mesh_instance_3d.h"
#include "multimesh_instance_3d.h"
#include "scene/resources/camera_attributes.h"
#include "voxelizer.h"

void VoxelGIData::_set_data(const Dictionary &p_data) {}

Dictionary VoxelGIData::_get_data() const {}

void VoxelGIData::allocate(const Transform3D &p_to_cell_xform, const AABB &p_aabb, const Vector3 &p_octree_size, const Vector<uint8_t> &p_octree_cells, const Vector<uint8_t> &p_data_cells, const Vector<uint8_t> &p_distance_field, const Vector<int> &p_level_counts) {}

AABB VoxelGIData::get_bounds() const {}

Vector3 VoxelGIData::get_octree_size() const {}

Vector<uint8_t> VoxelGIData::get_octree_cells() const {}

Vector<uint8_t> VoxelGIData::get_data_cells() const {}

Vector<uint8_t> VoxelGIData::get_distance_field() const {}

Vector<int> VoxelGIData::get_level_counts() const {}

Transform3D VoxelGIData::get_to_cell_xform() const {}

void VoxelGIData::set_dynamic_range(float p_range) {}

float VoxelGIData::get_dynamic_range() const {}

void VoxelGIData::set_propagation(float p_propagation) {}

float VoxelGIData::get_propagation() const {}

void VoxelGIData::set_energy(float p_energy) {}

float VoxelGIData::get_energy() const {}

void VoxelGIData::set_bias(float p_bias) {}

float VoxelGIData::get_bias() const {}

void VoxelGIData::set_normal_bias(float p_normal_bias) {}

float VoxelGIData::get_normal_bias() const {}

void VoxelGIData::set_interior(bool p_enable) {}

bool VoxelGIData::is_interior() const {}

void VoxelGIData::set_use_two_bounces(bool p_enable) {}

bool VoxelGIData::is_using_two_bounces() const {}

RID VoxelGIData::get_rid() const {}

void VoxelGIData::_bind_methods() {}

#ifndef DISABLE_DEPRECATED
bool VoxelGI::_set(const StringName &p_name, const Variant &p_value) {}

bool VoxelGI::_get(const StringName &p_name, Variant &r_property) const {}
#endif // DISABLE_DEPRECATED

VoxelGIData::VoxelGIData() {}

VoxelGIData::~VoxelGIData() {}

//////////////////////
//////////////////////

void VoxelGI::set_probe_data(const Ref<VoxelGIData> &p_data) {}

Ref<VoxelGIData> VoxelGI::get_probe_data() const {}

void VoxelGI::set_subdiv(Subdiv p_subdiv) {}

VoxelGI::Subdiv VoxelGI::get_subdiv() const {}

void VoxelGI::set_size(const Vector3 &p_size) {}

Vector3 VoxelGI::get_size() const {}

void VoxelGI::set_camera_attributes(const Ref<CameraAttributes> &p_camera_attributes) {}

Ref<CameraAttributes> VoxelGI::get_camera_attributes() const {}

static bool is_node_voxel_bakeable(Node3D *p_node) {}

void VoxelGI::_find_meshes(Node *p_at_node, List<PlotMesh> &plot_meshes) {}

VoxelGI::BakeBeginFunc VoxelGI::bake_begin_function =;
VoxelGI::BakeStepFunc VoxelGI::bake_step_function =;
VoxelGI::BakeEndFunc VoxelGI::bake_end_function =;

Vector3i VoxelGI::get_estimated_cell_size() const {}

void VoxelGI::bake(Node *p_from_node, bool p_create_visual_debug) {}

void VoxelGI::_debug_bake() {}

float VoxelGI::_get_camera_exposure_normalization() {}

AABB VoxelGI::get_aabb() const {}

PackedStringArray VoxelGI::get_configuration_warnings() const {}

void VoxelGI::_bind_methods() {}

VoxelGI::VoxelGI() {}

VoxelGI::~VoxelGI() {}