Open3D (C++ API)
Namespaces | Macros
FilamentResourceManager.cpp File Reference
#include "Open3D/Visualization/Rendering/Filament/FilamentResourceManager.h"
#include <filament/Engine.h>
#include <filament/IndexBuffer.h>
#include <filament/IndirectLight.h>
#include <filament/LightManager.h>
#include <filament/Material.h>
#include <filament/RenderableManager.h>
#include <filament/Scene.h>
#include <filament/Skybox.h>
#include <filament/Texture.h>
#include <filament/TextureSampler.h>
#include <filament/image/KtxBundle.h>
#include <filament/image/KtxUtility.h>
#include "Open3D/GUI/Application.h"
#include "Open3D/IO/ClassIO/ImageIO.h"
#include "Open3D/Utility/Console.h"
#include "Open3D/Utility/FileSystem.h"
#include "Open3D/Visualization/Rendering/Filament/FilamentEntitiesMods.h"

Namespaces

 open3d
 
 open3d::visualization
 
 open3d::visualization::texture_loading
 

Macros

#define TRY_ASSIGN_MAP(map)
 

Macro Definition Documentation

◆ TRY_ASSIGN_MAP

#define TRY_ASSIGN_MAP (   map)
Value:
{ \
if (descriptor.map && descriptor.map->HasData()) { \
auto hmaptex = CreateTexture(descriptor.map); \
if (hmaptex) { \
material_instance->setParameter( \
#map, textures_[hmaptex].get(), sampler); \
dependencies_[handle].insert(hmaptex); \
} \
} \
}

Variable Documentation

◆ format

filament::Texture::InternalFormat format
Initial value:
=
filament::Texture::InternalFormat::RGB8

◆ image_format

filament::Texture::Format image_format = filament::Texture::Format::RGB

◆ image_type

filament::Texture::Type image_type = filament::Texture::Type::UBYTE

◆ texel_height

std::uint32_t texel_height = 0

◆ texel_width

std::uint32_t texel_width = 0