Skip to content

Struct atlas::material

ClassList > atlas > material

More...

  • #include <components.hpp>

Public Attributes

Type Name
glm::vec4 color = { 1.f }
std::string model_path = ""
bool model_reload = false
std::vector< std::string > texture_filepaths
std::string texture_path = /* multi line expression */
bool texture_reload = false

Detailed Description

Note:

Contains our render target as the mesh TODO: IMPORTANT: NEED TO CHANGE HOW THIS WORKSS!! IMPORTANT: flecs gives you a lifetime issue if it doesnt have a default constructor implictly added to a struct/class

Public Attributes Documentation

variable color

glm::vec4 atlas::material::color;

variable model_path

std::string atlas::material::model_path;

variable model_reload

bool atlas::material::model_reload;

variable texture_filepaths

std::vector<std::string> atlas::material::texture_filepaths;

variable texture_path

std::string atlas::material::texture_path;

variable texture_reload

bool atlas::material::texture_reload;


The documentation for this class was generated from the following file TheAtlasEngine/atlas/core/scene/components.hpp