Loading...
Searching...
No Matches
Threedim::MaterialOverride Class Reference

Classes

struct  ins
 
struct  outs
 

Public Types

enum  Mode { All , ByIndex }
 

Public Member Functions

 halp_meta (name, "Material Override") halp_meta(category
 
Visuals Scene halp_meta (c_name, "material_override") halp_meta(description
 
Visuals Scene Override selected scene materials with live textures and PBR factor values halp_meta (authors, "ossia team") halp_meta(manual_url
 
void rebuild ()
 
void operator() ()
 

Public Attributes

Visuals Scene Override selected scene materials with live textures and PBR factor values https: halp_meta(uuid
 
struct Threedim::MaterialOverride::ins inputs
 
struct Threedim::MaterialOverride::outs outputs
 
std::shared_ptr< const ossia::scene_state > m_cached_out
 
uint8_t m_pending_dirty {0xFF}
 
ossia::hash_map< const ossia::material_component *, std::shared_ptr< ossia::material_component > > m_clone_cache
 
ossia::hash_map< const ossia::mesh_component *, std::pair< ossia::mesh_component_ptr, ossia::mesh_component_ptr > > m_mesh_cache
 
const ossia::scene_state * m_cached_in_state {}
 
int64_t m_cached_in_version {-2}
 
int m_cached_mode {-1}
 
int m_cached_index {-1}
 
void * m_cached_tex [4] {}
 
bool m_cached_use_base {false}
 
bool m_cached_use_metallic {false}
 
bool m_cached_use_roughness {false}
 
bool m_cached_use_emissive {false}
 
float m_cached_base [4] {}
 
float m_cached_metallic {-1.f}
 
float m_cached_roughness {-1.f}
 
float m_cached_em [4] {}
 
int64_t m_version_counter {0}
 

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