API Documentation
Loading...
Searching...
No Matches
VulkanBitflagObject Struct Reference

#include <VulkanBitflagObject.h>

Collaboration diagram for VulkanBitflagObject:
[legend]

Public Types

enum  ModelProperties {
  e_3D_selected , e_3D_focussed , e_orient_to_camera , e_follow_camera ,
  e_scale_to_camera
}
 
enum class  RenderProperties {
  e_parity , e_wireframe , e_use_custom_color , e_use_lighting ,
  e_smooth_normals , e_use_texture_model_coord , e_use_linework_model_coord
}
 

Public Member Functions

bool get (const ModelProperties &property) const
 
bool operator!= (const VulkanBitflagObject &object) const
 
VulkanBitflagObjectoperator= (const VulkanBitflagObject &object)
 
bool operator== (const VulkanBitflagObject &object) const
 
void set (const ModelProperties &property, bool value)
 
void set (const VertexProperty &property, bool value)
 
void setExtra (bool value)
 
void setHasImage (uint01 type, bool has_image)
 
void setRenderProperty (RenderProperties property, bool value)
 
 VulkanBitflagObject ()
 
 VulkanBitflagObject (const VulkanBitflagObject &object)
 

Public Attributes

BitFlag flag [4]
 

Member Enumeration Documentation

◆ ModelProperties

Enumerator
e_3D_selected 
e_3D_focussed 
e_orient_to_camera 
e_follow_camera 
e_scale_to_camera 

◆ RenderProperties

enum class RenderProperties
strong
Enumerator
e_parity 
e_wireframe 
e_use_custom_color 
e_use_lighting 
e_smooth_normals 
e_use_texture_model_coord 
e_use_linework_model_coord 

Constructor & Destructor Documentation

◆ VulkanBitflagObject() [1/2]

VulkanBitflagObject ( )
inline

◆ VulkanBitflagObject() [2/2]

VulkanBitflagObject ( const VulkanBitflagObject & object)
inline

Member Function Documentation

◆ get()

bool get ( const ModelProperties & property) const
inlinenodiscard

◆ operator!=()

bool operator!= ( const VulkanBitflagObject & object) const
inline

◆ operator=()

VulkanBitflagObject & operator= ( const VulkanBitflagObject & object)
inline

◆ operator==()

bool operator== ( const VulkanBitflagObject & object) const
inline

◆ set() [1/2]

void set ( const ModelProperties & property,
bool value )
inline

◆ set() [2/2]

void set ( const VertexProperty & property,
bool value )
inline

◆ setExtra()

void setExtra ( bool value)
inline

◆ setHasImage()

void setHasImage ( uint01 type,
bool has_image )
inline

◆ setRenderProperty()

void setRenderProperty ( RenderProperties property,
bool value )
inline

Member Data Documentation

◆ flag

BitFlag flag[4]

The documentation for this struct was generated from the following file: