Finality Engine
Loading...
Searching...
No Matches
FINALITY::MeshComponent Struct Reference

#include <Components.h>

Public Member Functions

 MeshComponent ()=default
 MeshComponent (const MeshComponent &)=default
 MeshComponent (const std::shared_ptr< Mesh > &meshData)
 MeshComponent (const std::shared_ptr< Mesh > &meshData, const std::string &identifier)
 MeshComponent (const std::string &identifier)

Public Attributes

std::shared_ptr< Mesh > MeshData
std::string MeshIdentifier
bool Occluder = false

Detailed Description

Todo
TODO: Document MeshComponent struct semantics, ownership and usage.

Definition at line 96 of file Components.h.

Constructor & Destructor Documentation

◆ MeshComponent() [1/5]

FINALITY::MeshComponent::MeshComponent ( )
default

◆ MeshComponent() [2/5]

FINALITY::MeshComponent::MeshComponent ( const MeshComponent & )
default

◆ MeshComponent() [3/5]

FINALITY::MeshComponent::MeshComponent ( const std::shared_ptr< Mesh > & meshData)
inline

Definition at line 104 of file Components.h.

◆ MeshComponent() [4/5]

FINALITY::MeshComponent::MeshComponent ( const std::shared_ptr< Mesh > & meshData,
const std::string & identifier )
inline

Definition at line 106 of file Components.h.

◆ MeshComponent() [5/5]

FINALITY::MeshComponent::MeshComponent ( const std::string & identifier)
inline

Definition at line 108 of file Components.h.

Member Data Documentation

◆ MeshData

std::shared_ptr<Mesh> FINALITY::MeshComponent::MeshData

Definition at line 98 of file Components.h.

◆ MeshIdentifier

std::string FINALITY::MeshComponent::MeshIdentifier

Definition at line 99 of file Components.h.

◆ Occluder

bool FINALITY::MeshComponent::Occluder = false

Definition at line 100 of file Components.h.


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