Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::material_t Struct Referenceexport
Collaboration diagram for Vyroda::material_t:
[legend]

Public Attributes

std::string name
glm::vec4 base_color {1.0}
glm::vec4 ambient { 1.0 }
glm::vec4 diffuse { 1.0 }
glm::vec4 specular { 1.0 }
glm::vec3 transmittance { 1.0 }
glm::vec3 mre_factor { 0.0, 1.0, 1.0 }
float shininess { 0.0 }
float ior { 0.0 }
float dissolve { 1.0 }
int illum { 1 }
bool double_sided { false }
float alpha_mode { 0.0 }
float alpha_cut_off { 1.0 }
std::string name_texture_ambient
std::string name_texture_ambient_path
TextureWrapMode texture_ambient_wrap_mode_u
TextureWrapMode texture_ambient_wrap_mode_v
std::string name_texture_diffuse
std::string name_texture_diffuse_path
TextureWrapMode texture_diffuse_wrap_mode_u
TextureWrapMode texture_diffuse_wrap_mode_v
std::string name_texture_specular
std::string name_texture_specular_path
TextureWrapMode texture_specular_wrap_mode_u
TextureWrapMode texture_specular_wrap_mode_v
std::string name_texture_specular_highlight
std::string name_texture_specular_highlight_path
TextureWrapMode texture_specular_highlight_wrap_mode_u
TextureWrapMode texture_specular_highlight_wrap_mode_v
std::string name_texture_bump
std::string name_texture_bump_path
TextureWrapMode texture_bump_wrap_mode_u
TextureWrapMode texture_bump_wrap_mode_v
std::string name_texture_alpha
std::string name_texture_alpha_path
TextureWrapMode texture_alpha_wrap_mode_u
TextureWrapMode texture_alpha_wrap_mode_v
std::string name_texture_metal_roughness
std::string name_texture_metal_roughness_path
TextureWrapMode texture_metal_roughness_wrap_mode_u
TextureWrapMode texture_metal_roughness_wrap_mode_v
std::string name_texture_emissive
std::string name_texture_emissive_path
TextureWrapMode texture_emissive_wrap_mode_u
TextureWrapMode texture_emissive_wrap_mode_v
std::string name_texture_ao
std::string name_texture_ao_path
TextureWrapMode texture_ao_wrap_mode_u
TextureWrapMode texture_ao_wrap_mode_v
std::string name_texture_base_color
std::string name_texture_base_color_path
TextureWrapMode texture_base_color_wrap_mode_u
TextureWrapMode texture_base_color_wrap_mode_v
std::string name_texture_transmission
std::string name_texture_transmission_path
TextureWrapMode texture_transmission_wrap_mode_u
TextureWrapMode texture_transmission_wrap_mode_v
glm::vec3 normal_translation { 0.0 }
glm::vec3 normal_scale { 1.0 }
glm::vec2 normal_rotation { 0.0 }
glm::vec3 ambient_translation { 0.0 }
glm::vec3 ambient_scale { 1.0 }
glm::vec2 ambient_rotation { 0.0 }
glm::vec3 diffuse_translation { 0.0 }
glm::vec3 diffuse_scale { 1.0 }
glm::vec2 diffuse_rotation { 0.0 }
glm::vec3 emissive_translation { 0.0 }
glm::vec3 emissive_scale { 1.0 }
glm::vec2 emissive_rotation { 0.0 }
glm::vec3 mr_translation { 0.0 }
glm::vec3 mr_scale { 1.0 }
glm::vec2 mr_rotation { 0.0 }
glm::vec3 transmission_translation { 0.0 }
glm::vec3 transmission_scale { 1.0 }
glm::vec2 transmission_rotation { 0.0 }
float normal_strength { 1.0 }
float occlusion_strength { 1.0 }
float transmission_strength { 1.0 }
glm::vec4 emissive_color {0.0}

Member Data Documentation

◆ alpha_cut_off

float Vyroda::material_t::alpha_cut_off { 1.0 }

◆ alpha_mode

float Vyroda::material_t::alpha_mode { 0.0 }

◆ ambient

glm::vec4 Vyroda::material_t::ambient { 1.0 }

◆ ambient_rotation

glm::vec2 Vyroda::material_t::ambient_rotation { 0.0 }

◆ ambient_scale

glm::vec3 Vyroda::material_t::ambient_scale { 1.0 }

◆ ambient_translation

glm::vec3 Vyroda::material_t::ambient_translation { 0.0 }

◆ base_color

glm::vec4 Vyroda::material_t::base_color {1.0}

◆ diffuse

glm::vec4 Vyroda::material_t::diffuse { 1.0 }

◆ diffuse_rotation

glm::vec2 Vyroda::material_t::diffuse_rotation { 0.0 }

◆ diffuse_scale

glm::vec3 Vyroda::material_t::diffuse_scale { 1.0 }

◆ diffuse_translation

glm::vec3 Vyroda::material_t::diffuse_translation { 0.0 }

◆ dissolve

float Vyroda::material_t::dissolve { 1.0 }

◆ double_sided

bool Vyroda::material_t::double_sided { false }

◆ emissive_color

glm::vec4 Vyroda::material_t::emissive_color {0.0}

◆ emissive_rotation

glm::vec2 Vyroda::material_t::emissive_rotation { 0.0 }

◆ emissive_scale

glm::vec3 Vyroda::material_t::emissive_scale { 1.0 }

◆ emissive_translation

glm::vec3 Vyroda::material_t::emissive_translation { 0.0 }

◆ illum

int Vyroda::material_t::illum { 1 }

◆ ior

float Vyroda::material_t::ior { 0.0 }

◆ mr_rotation

glm::vec2 Vyroda::material_t::mr_rotation { 0.0 }

◆ mr_scale

glm::vec3 Vyroda::material_t::mr_scale { 1.0 }

◆ mr_translation

glm::vec3 Vyroda::material_t::mr_translation { 0.0 }

◆ mre_factor

glm::vec3 Vyroda::material_t::mre_factor { 0.0, 1.0, 1.0 }

◆ name

std::string Vyroda::material_t::name

◆ name_texture_alpha

std::string Vyroda::material_t::name_texture_alpha

◆ name_texture_alpha_path

std::string Vyroda::material_t::name_texture_alpha_path

◆ name_texture_ambient

std::string Vyroda::material_t::name_texture_ambient

◆ name_texture_ambient_path

std::string Vyroda::material_t::name_texture_ambient_path

◆ name_texture_ao

std::string Vyroda::material_t::name_texture_ao

◆ name_texture_ao_path

std::string Vyroda::material_t::name_texture_ao_path

◆ name_texture_base_color

std::string Vyroda::material_t::name_texture_base_color

◆ name_texture_base_color_path

std::string Vyroda::material_t::name_texture_base_color_path

◆ name_texture_bump

std::string Vyroda::material_t::name_texture_bump

◆ name_texture_bump_path

std::string Vyroda::material_t::name_texture_bump_path

◆ name_texture_diffuse

std::string Vyroda::material_t::name_texture_diffuse

◆ name_texture_diffuse_path

std::string Vyroda::material_t::name_texture_diffuse_path

◆ name_texture_emissive

std::string Vyroda::material_t::name_texture_emissive

◆ name_texture_emissive_path

std::string Vyroda::material_t::name_texture_emissive_path

◆ name_texture_metal_roughness

std::string Vyroda::material_t::name_texture_metal_roughness

◆ name_texture_metal_roughness_path

std::string Vyroda::material_t::name_texture_metal_roughness_path

◆ name_texture_specular

std::string Vyroda::material_t::name_texture_specular

◆ name_texture_specular_highlight

std::string Vyroda::material_t::name_texture_specular_highlight

◆ name_texture_specular_highlight_path

std::string Vyroda::material_t::name_texture_specular_highlight_path

◆ name_texture_specular_path

std::string Vyroda::material_t::name_texture_specular_path

◆ name_texture_transmission

std::string Vyroda::material_t::name_texture_transmission

◆ name_texture_transmission_path

std::string Vyroda::material_t::name_texture_transmission_path

◆ normal_rotation

glm::vec2 Vyroda::material_t::normal_rotation { 0.0 }

◆ normal_scale

glm::vec3 Vyroda::material_t::normal_scale { 1.0 }

◆ normal_strength

float Vyroda::material_t::normal_strength { 1.0 }

◆ normal_translation

glm::vec3 Vyroda::material_t::normal_translation { 0.0 }

◆ occlusion_strength

float Vyroda::material_t::occlusion_strength { 1.0 }

◆ shininess

float Vyroda::material_t::shininess { 0.0 }

◆ specular

glm::vec4 Vyroda::material_t::specular { 1.0 }

◆ texture_alpha_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_alpha_wrap_mode_u

◆ texture_alpha_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_alpha_wrap_mode_v

◆ texture_ambient_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_ambient_wrap_mode_u

◆ texture_ambient_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_ambient_wrap_mode_v

◆ texture_ao_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_ao_wrap_mode_u

◆ texture_ao_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_ao_wrap_mode_v

◆ texture_base_color_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_base_color_wrap_mode_u

◆ texture_base_color_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_base_color_wrap_mode_v

◆ texture_bump_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_bump_wrap_mode_u

◆ texture_bump_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_bump_wrap_mode_v

◆ texture_diffuse_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_diffuse_wrap_mode_u

◆ texture_diffuse_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_diffuse_wrap_mode_v

◆ texture_emissive_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_emissive_wrap_mode_u

◆ texture_emissive_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_emissive_wrap_mode_v

◆ texture_metal_roughness_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_metal_roughness_wrap_mode_u

◆ texture_metal_roughness_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_metal_roughness_wrap_mode_v

◆ texture_specular_highlight_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_specular_highlight_wrap_mode_u

◆ texture_specular_highlight_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_specular_highlight_wrap_mode_v

◆ texture_specular_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_specular_wrap_mode_u

◆ texture_specular_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_specular_wrap_mode_v

◆ texture_transmission_wrap_mode_u

TextureWrapMode Vyroda::material_t::texture_transmission_wrap_mode_u

◆ texture_transmission_wrap_mode_v

TextureWrapMode Vyroda::material_t::texture_transmission_wrap_mode_v

◆ transmission_rotation

glm::vec2 Vyroda::material_t::transmission_rotation { 0.0 }

◆ transmission_scale

glm::vec3 Vyroda::material_t::transmission_scale { 1.0 }

◆ transmission_strength

float Vyroda::material_t::transmission_strength { 1.0 }

◆ transmission_translation

glm::vec3 Vyroda::material_t::transmission_translation { 0.0 }

◆ transmittance

glm::vec3 Vyroda::material_t::transmittance { 1.0 }

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