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

Classes

struct  atlas::vulkan::vertex_input
 
struct  atlas::vulkan::camera_ubo
 Going to remove this. More...
 
struct  atlas::vulkan::global_ubo
 Just for testing purposes for sending this struct over to the shader. More...
 
struct  atlas::vulkan::geometry_uniform
 material is going to define properties about how a scene object itself gets rendered More...
 
struct  atlas::vulkan::material_uniform
 Represents a vulkan specific mateiral to pass in two textures and offset for handling shininess. More...
 
struct  atlas::vulkan::point_light_ubo
 
struct  atlas::vulkan::light_scene_ubo
 

Functions

bool operator== (const vertex_input &other) const
 

Variables

glm::vec3 position
 
glm::vec3 color
 
glm::vec3 normals
 
glm::vec2 uv
 
glm::mat4 projection { 1.f }
 
glm::mat4 view { 1.f }
 
glm::mat4 mvp = { 1.f }
 
glm::mat4 model { 1.f }
 
glm::vec4 color { 1.f }
 
float shininess = 1.f
 
vk::texture diffuse
 
vk::texture specular
 
glm::vec4 position
 
glm::vec4 color = { 1.f, 1.f, 1.f, 1.f }
 
float attenuation = 1.f
 
float constant = 1.f
 
float linear = 1.f
 
float quadratic = 1.f
 
glm::vec4 ambient = glm::vec4(1.f)
 
glm::vec4 diffuse = glm::vec4(1.f)
 
glm::vec4 specular = glm::vec4(1.f)
 
uint32_t num_lights
 
point_light_ubo light_sources [10]
 

Files

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