65 flag[0] =
object.flag[0];
66 flag[1] =
object.flag[1];
67 flag[2] =
object.flag[2];
68 flag[3] =
object.flag[3];
92 flag[3](type, has_image);
96 for (
uint01 i = 0; i < 4; i++)
102 return flag[0] ==
object.flag[0]
103 &&
flag[1] ==
object.flag[1]
104 &&
flag[2] ==
object.flag[2]
105 &&
flag[3] ==
object.flag[3];
109 return flag[0] !=
object.flag[0]
110 ||
flag[1] !=
object.flag[1]
111 ||
flag[2] !=
object.flag[2]
112 ||
flag[3] !=
object.flag[3];
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:55
VertexProperty
Definition DesignObjectBase.h:52
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
constexpr t_to cast(const Angle< t_from > &value)
Definition Angle.h:375
Stores bools to be sent to both the Vertex and Fragment shaders in the Vulkan space.
Definition VulkanBitflagObject.h:41
bool operator==(const VulkanBitflagObject &object) const
Definition VulkanBitflagObject.h:100
BitFlag flag[4]
Definition VulkanBitflagObject.h:114
VulkanBitflagObject()
Definition VulkanBitflagObject.h:60
VulkanBitflagObject(const VulkanBitflagObject &object)
Definition VulkanBitflagObject.h:63
VulkanBitflagObject & operator=(const VulkanBitflagObject &object)
Definition VulkanBitflagObject.h:94
void setExtra(bool value)
Definition VulkanBitflagObject.h:74
void set(const VertexProperty &property, bool value)
Definition VulkanBitflagObject.h:70
bool operator!=(const VulkanBitflagObject &object) const
Definition VulkanBitflagObject.h:107
void set(const ModelProperties &property, bool value)
Definition VulkanBitflagObject.h:78
bool get(const ModelProperties &property) const
Definition VulkanBitflagObject.h:82
ModelProperties
Definition VulkanBitflagObject.h:43
@ e_3D_selected
Definition VulkanBitflagObject.h:44
@ e_scale_to_camera
Definition VulkanBitflagObject.h:48
@ e_orient_to_camera
Definition VulkanBitflagObject.h:46
@ e_3D_focussed
Definition VulkanBitflagObject.h:45
@ e_follow_camera
Definition VulkanBitflagObject.h:47
void setHasImage(uint01 type, bool has_image)
Definition VulkanBitflagObject.h:90
void setRenderProperty(RenderProperties property, bool value)
Definition VulkanBitflagObject.h:86
RenderProperties
Definition VulkanBitflagObject.h:51
@ e_use_linework_model_coord
@ e_use_texture_model_coord