Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::anonymous_namespace{PropertyWindow.cpp} Namespace Reference

Functions

template<typename T , bool SeparateActivate, typename Pred >
void RegisterUndo (Editor &editor, PushConstantType Type, const T &oldVal, const T &newVal, const char *name, Pred &&dataSetter)
 
bool IsRequiredComponentType (SceneGraphNode *selection, const ComponentType componentType)
 
template<typename Pred >
void ApplyToMaterials (const Material &baseMaterial, Material *instanceRoot, Pred &&predicate)
 
template<typename Pred >
void ApplyAllButton (I32 &id, const bool readOnly, const Material &material, Pred &&predicate)
 
bool PreviewTextureButton (I32 &id, const Handle< Texture > tex, const bool readOnly)
 

Variables

hashMap< U64, std::tuple< Frustum, FColour3, bool > > g_debugFrustums
 
std::array< U64, 1024 > s_openProperties = {}
 

Function Documentation

◆ ApplyAllButton()

template<typename Pred >
void Divide::anonymous_namespace{PropertyWindow.cpp}::ApplyAllButton ( I32 id,
const bool  readOnly,
const Material material,
Pred &&  predicate 
)

Definition at line 97 of file PropertyWindow.cpp.

◆ ApplyToMaterials()

template<typename Pred >
void Divide::anonymous_namespace{PropertyWindow.cpp}::ApplyToMaterials ( const Material baseMaterial,
Material instanceRoot,
Pred &&  predicate 
)

Definition at line 79 of file PropertyWindow.cpp.

◆ IsRequiredComponentType()

bool Divide::anonymous_namespace{PropertyWindow.cpp}::IsRequiredComponentType ( SceneGraphNode selection,
const ComponentType  componentType 
)

Definition at line 68 of file PropertyWindow.cpp.

◆ PreviewTextureButton()

bool Divide::anonymous_namespace{PropertyWindow.cpp}::PreviewTextureButton ( I32 id,
const Handle< Texture tex,
const bool  readOnly 
)

Definition at line 120 of file PropertyWindow.cpp.

◆ RegisterUndo()

template<typename T , bool SeparateActivate, typename Pred >
void Divide::anonymous_namespace{PropertyWindow.cpp}::RegisterUndo ( Editor editor,
PushConstantType  Type,
const T &  oldVal,
const T &  newVal,
const char *  name,
Pred &&  dataSetter 
)

Definition at line 50 of file PropertyWindow.cpp.

Variable Documentation

◆ g_debugFrustums

hashMap<U64, std::tuple<Frustum, FColour3, bool> > Divide::anonymous_namespace{PropertyWindow.cpp}::g_debugFrustums

Definition at line 45 of file PropertyWindow.cpp.

◆ s_openProperties

std::array<U64, 1024> Divide::anonymous_namespace{PropertyWindow.cpp}::s_openProperties = {}

Definition at line 46 of file PropertyWindow.cpp.