TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas.drivers.vulkan.mesh Module Reference

Classes

class  atlas::vulkan::mesh
 mesh class specifically defined with vulkan implementations for specific primitives TODO: Whenever we load in a texture that will be laucnhed asyncronously More...
 

Functions

 mesh (std::span< vk::vertex_input > p_vertices, std::span< uint32_t > p_indices)
 
 mesh (const std::filesystem::path &p_filename, bool p_flip=false)
 
void reload_mesh (const std::filesystem::path &p_filename)
 Reload mesh vertices and indices when requested.
 
void draw (const VkCommandBuffer &p_command_buffer)
 
void destroy ()
 
void add_diffuse (const std::filesystem::path &p_path)
 Loading single texture with specified std::filesystem::path.
 
void add_specular (const std::filesystem::path &p_path)
 
::vk::sample_image diffuse () const
 
::vk::sample_image specular () const
 
bool loaded () const
 
bool diffuse_loaded () const
 
bool specular_loaded () const
 
void set_flip (bool p_flip)
 

Files

file  TheAtlasEngine/atlas/drivers/vulkan/mesh.cppm