 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
123 real alpha_test_threshold;
127 color background_diffuse_color;
128 color emissive_color;
131 real clear_coat_amount;
132 real clear_coat_roughness;
135 real transparency_amount;
145 real refraction_strength;
155 color specular_color;
187 real alpha_test_threshold;
208 {1,
"haloman30",
"Initial implementation."},
209 {2,
"haloman30",
"Add settings for texture sampler."},
210 {3,
"haloman30",
"Combine sampler and texture fields into tag block, with each entry specifying a texture."},
211 {4,
"haloman30",
"Add fields for texture offset and scale."},
212 {5,
"haloman30",
"Add input parameters block"},
213 {6,
"haloman30",
"Add support for unlit materials"},
233 "uses two sided lighting",
235 "use emissive as lightmap",
265 "inherit from bitmap",
273 "inherit from bitmap",
281 "inherit from bitmap",
315 "less than or equal",
318 "greater than or equal",
329 "bidirectional reflectance distribution function"),
333 "separate diffuse fresnel",
350 "less than or equal",
353 "greater than or equal",
359 "shadow caster only",
360 "use alpha from texture",
362 new RealField(
"alpha test threshold",
""),
366 new ColorField(
"background diffuse color",
""),
371 new RealField(
"clear coat roughness",
""),
374 new RealField(
"transparency amount",
""),
377 "use alpha from textures",
378 "change blend block",
387 new RealField(
"refraction strength",
""),
393 "specular (fresnel)",
404 "enable planar reflections",
405 "enable diffuse color",
417 "inherit from bitmap",
425 "inherit from bitmap",
433 "inherit from bitmap",
474 "less than or equal",
477 "greater than or equal",
483 "shadow caster only",
484 "use alpha from texture",
486 new RealField(
"alpha test threshold",
""),
Namespace containing functions related to tag data.
Definition: bitmap.h:196
Class representing a real tag field.
Definition: real.h:16
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_function, { default_brdf, 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_amount;real clear_coat_roughness;real transparency_amount;bitfield16 transparency_flags;TAG_ENUM(transparency_mode, { none, transparent, fade, refractive, });real refraction_strength;TAG_ENUM(workflows, { specular, specular_fresnel, metallic, });color specular_color;real metalness;real roughness;})
material_wrap_modes
Definition: material.h:31
Class representing an ascii tag field.
Definition: ascii.h:18
Class representing a vector2 tag field.
Definition: vector.h:34
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
Class representing a tag reference, or tagref for short.
Definition: tagref.h:20
signed char int8_t
Definition: stdint.h:11
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:138
Typedef for a bitfield8 field, used in tag data definitions.
Definition: tags.h:275
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tags.h:137
Class representing an int8 tag field.
Definition: int.h:72
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:135
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:136
Structure representing a tag reference.
Definition: tags.h:215
Structure representing a field reference.
Definition: tags.h:367
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:134
Definition: material.h:53
material_filter_modes
Definition: material.h:23
unsigned int uint32_t
Definition: stdint.h:17
BLAM BlamTagData * GetTagData(std::string tag_path)
Retrieves information for a given tag.
Definition: tags.cpp:80
Definition: material.h:198
ascii id
Definition: material.h:57
Typedef for a bitfield16 field, used in tag data definitions.
Definition: tags.h:290
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:139
TAG_ENUM(material_type, { pbr, unlit, })
#define BLAM
Definition: material.h:20
Class representing a color tag field.
Definition: color.h:19
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:71
Class used to contain and access tag data.
Definition: tags.h:68
BLAM material * GetMaterialTag(std::string tag_path)
Definition: material.cpp:16
Class representing a fieldref tag field.
Definition: fieldref.h:17
MaterialTagClass()
Definition: material.h:201
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:21
material_comparison_function
Definition: material.h:38
UI_API ImVec4 transparent()
Definition: debug_ui_colors.cpp:35
Class representing a tag class.
Definition: tags.h:131
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting changing font name
Definition: ARPHICPL.TXT:16
Class representing a bitfield8 tag field.
Definition: bitfield.h:33