MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk::MXMaterial Struct Reference

Parsed subset of Wavefront MTL material fields. More...

#include <mxvk/include/mxvk/mxvk_model.hpp>

Public Attributes

float d = 1.0f
int illum = 2
float ka [3] = {0.2f, 0.2f, 0.2f}
float kd [3] = {0.8f, 0.8f, 0.8f}
float ks [3] = {0.0f, 0.0f, 0.0f}
std::string map_kd
std::string name
float ns = 30.0f

Detailed Description

Parsed subset of Wavefront MTL material fields.

Definition at line 54 of file mxvk_model.hpp.

Member Data Documentation

◆ d

float mxvk::MXMaterial::d = 1.0f

Definition at line 60 of file mxvk_model.hpp.

◆ illum

int mxvk::MXMaterial::illum = 2

Definition at line 61 of file mxvk_model.hpp.

◆ ka

float mxvk::MXMaterial::ka[3] = {0.2f, 0.2f, 0.2f}

Definition at line 56 of file mxvk_model.hpp.

56{0.2f, 0.2f, 0.2f};

◆ kd

float mxvk::MXMaterial::kd[3] = {0.8f, 0.8f, 0.8f}

Definition at line 57 of file mxvk_model.hpp.

57{0.8f, 0.8f, 0.8f};

◆ ks

float mxvk::MXMaterial::ks[3] = {0.0f, 0.0f, 0.0f}

Definition at line 58 of file mxvk_model.hpp.

58{0.0f, 0.0f, 0.0f};

◆ map_kd

std::string mxvk::MXMaterial::map_kd

Definition at line 62 of file mxvk_model.hpp.

◆ name

std::string mxvk::MXMaterial::name

Definition at line 55 of file mxvk_model.hpp.

◆ ns

float mxvk::MXMaterial::ns = 30.0f

Definition at line 59 of file mxvk_model.hpp.


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