![]() |
Blamite Game Engine - blam!
00367.02.08.23.1815.blamite
The core library for the Blamite Game Engine.
|
Structure representing a Material tag. More...
#include <material.h>
Public Member Functions | |
TAG_ENUM (material_type, { pbr }) | |
TAG_BLOCK (pbr_material, { bitfield16 flags;TAG_BLOCK(textures, { TAG_ENUM(texture_type, { diffuse, normal, specular, metallic, roughness, detail_weight, detail_0, detail_1, detail_2, detail_3, detail_normal_0, detail_normal_1, detail_normal_2, detail_normal_3, emissive, reflection });tag_reference texture;material_filter_modes filter_mode_min;material_filter_modes filter_mode_mag;material_filter_modes filter_mode_mip;material_wrap_modes wrap_mode_x;material_wrap_modes wrap_mode_y;material_wrap_modes wrap_mode_z;real lod_bias;real max_anisotropy;material_comparison_function sampler_comparison_function;color border_color;real min_lod;real max_lod;vector2 offset;vector2 scale;});bitfield16 brdf_flags;TAG_ENUM(brdf, { default, cook_torrance, blinn_phong, });material_comparison_function alpha_comparison_function;bitfield16 alpha_flags;real alpha_test_threshold;color diffuse_color;color background_diffuse_color;color emissive_color;real clear_coat;real clear_coat_roughness;real transparency;bitfield16 transparency_flags;TAG_ENUM(transparency_mode, { none, transparent, fade, refractive });real refraction_strength;TAG_ENUM(workflow, { specular, specular_fresnel, metallic });color specular_color;real metalness;real roughness;}) | |
Public Attributes | |
ascii | id |
Structure representing a Material tag.
material::TAG_BLOCK | ( | pbr_material | , |
{ bitfield16 flags;TAG_BLOCK(textures, { TAG_ENUM(texture_type, { diffuse, normal, specular, metallic, roughness, detail_weight, detail_0, detail_1, detail_2, detail_3, detail_normal_0, detail_normal_1, detail_normal_2, detail_normal_3, emissive, reflection });tag_reference texture;material_filter_modes filter_mode_min;material_filter_modes filter_mode_mag;material_filter_modes filter_mode_mip;material_wrap_modes wrap_mode_x;material_wrap_modes wrap_mode_y;material_wrap_modes wrap_mode_z;real lod_bias;real max_anisotropy;material_comparison_function sampler_comparison_function;color border_color;real min_lod;real max_lod;vector2 offset;vector2 scale;});bitfield16 brdf_flags;TAG_ENUM(brdf, { default, cook_torrance, blinn_phong, });material_comparison_function alpha_comparison_function;bitfield16 alpha_flags;real alpha_test_threshold;color diffuse_color;color background_diffuse_color;color emissive_color;real clear_coat;real clear_coat_roughness;real transparency;bitfield16 transparency_flags;TAG_ENUM(transparency_mode, { none, transparent, fade, refractive });real refraction_strength;TAG_ENUM(workflow, { specular, specular_fresnel, metallic });color specular_color;real metalness;real roughness;} | |||
) |
material::TAG_ENUM | ( | material_type | , |
{ pbr } | |||
) |
ascii material::id |