This update mainly adds support for loading materials from
*.bbmat files. BBMAT is a simple JSON file containing material definition. It can be either created by hand or exported from BBMOD GUI.
bbmod_string_starts_with, which checks whether a string starts with a substring.
bbmod_string_split_on_first, which splits the string in two at the first occurrence of the delimiter.
bbmod_string_explode, which splits given string on every occurrence of given character and puts created parts into an array.
bbmod_string_join_array, which joins an array into a string, putting separator in between each entry.
bbmod_path_normalize, which normalizes path for the current platform.
bbmod_path_is_relative, which checks if a path is relative.
bbmod_path_is_absolute, which checks if a path is absolute.
bbmod_path_get_relative, which retrieves a relative version of a path.
bbmod_path_get_absolute, which retrieves an absolute version of a path.
bbmod_json_loadusing which you can load a JSON file.
bbmod_render_queues_get, using which you can retrieve a read-only array of existing render queues.
global.bbmod_render_queuesis now obsolete. Please use the new
bbmod_render_pass_to_string, which retrieves a name of a render pass.
bbmod_render_pass_from_string, which retrieves a render pass from its name.
bbmod_shader_register, using which you can register a shader under a name.
bbmod_shader_exists, using which you can check if there is a shader registered under given name.
bbmod_shader_get, using which you can retrieve registered shaders.
bbmod_material_register, using which you can register a material under a name.
bbmod_material_exists, using which you can check if there is a material registered under given name.
bbmod_material_get, using which you can retrieve registered materials.
BBMOD_Resource, using which you can write a resource into a buffer.
BBMOD_Resource, using which you can write a resource into a file.
BBMOD_Material, using which you can save material properties to a JSON object.
BBMOD_Material, using which you can load material properties from a JSON object.
BBMOD_ResourceManagercan now load materials from
Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.