Open3D (C++ API)  0.17.0
Public Types | Public Member Functions | Static Public Member Functions
open3d::visualization::rendering::EngineInstance Class Reference

#include <FilamentEngine.h>

Public Types

enum class  RenderingType { kDefault , kOpenGL , kVulkan , kMetal }
 

Public Member Functions

 ~EngineInstance ()
 

Static Public Member Functions

static void SelectBackend (RenderingType type)
 
static void EnableHeadless ()
 
static void SetResourcePath (const std::string &resource_path)
 
static const std::string & GetResourcePath ()
 
static filament::Engine & GetInstance ()
 
static FilamentResourceManagerGetResourceManager ()
 
static void DestroyInstance ()
 

Member Enumeration Documentation

◆ RenderingType

Enumerator
kDefault 
kOpenGL 
kVulkan 
kMetal 

Constructor & Destructor Documentation

◆ ~EngineInstance()

open3d::visualization::rendering::EngineInstance::~EngineInstance ( )

Member Function Documentation

◆ DestroyInstance()

void open3d::visualization::rendering::EngineInstance::DestroyInstance ( )
static

Destroys the singleton instance, to force Filament cleanup at a specific time. Calling GetInstance() after this will re-create the instance.

◆ EnableHeadless()

void open3d::visualization::rendering::EngineInstance::EnableHeadless ( )
static

Initialize Engine for headless rendering. Must be called before first access to the Engine (GetInstance).

◆ GetInstance()

filament::Engine & open3d::visualization::rendering::EngineInstance::GetInstance ( )
static

◆ GetResourceManager()

FilamentResourceManager & open3d::visualization::rendering::EngineInstance::GetResourceManager ( )
static

◆ GetResourcePath()

const std::string & open3d::visualization::rendering::EngineInstance::GetResourcePath ( )
static

◆ SelectBackend()

void open3d::visualization::rendering::EngineInstance::SelectBackend ( RenderingType  type)
static

◆ SetResourcePath()

void open3d::visualization::rendering::EngineInstance::SetResourcePath ( const std::string &  resource_path)
static

The documentation for this class was generated from the following files: