NDEVR
API Documentation
VulkanRenderObject::ModelProperties

Cached properties of a parent Model for a rendered geometry instance. More...

Collaboration diagram for VulkanRenderObject::ModelProperties:
[legend]

Public Member Functions

 ModelProperties (const Model &model)
 Constructs model properties from a Model object.

Public Attributes

bool is_visible = false
 Whether the parent model is visible.
UUID model_id = Constant<UUID>::Invalid
 UUID of the parent model.
uint01 parity = 0U
 Parity flag for culling direction.
Time updated_time = Constant<Time>::Invalid
 Last time these properties were updated.

Detailed Description

Cached properties of a parent Model for a rendered geometry instance.

Definition at line 95 of file VulkanRenderObject.h.

Constructor & Destructor Documentation

◆ ModelProperties()

VulkanRenderObject::ModelProperties::ModelProperties ( const Model & model)
inline

Constructs model properties from a Model object.

Parameters
[in]modelThe model to extract properties from.

Definition at line 99 of file VulkanRenderObject.h.

References is_visible, Model::isVisible(), and model_id.


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