Namespaces | |
| namespace | Addons |
| namespace | tests |
| namespace | Utility |
Concepts | |
| concept | ComponentType |
| concept | ScriptComponentType |
Typedefs | |
| using | AssetID = uint64_t |
| using | EntityID = uint32_t |
Enumerations | |
| enum class | AssetType { MODEL , MESH , TEXTURE , MATERIAL , SCENE , SHADER , UNKNOWN } |
| enum class | MeshSource { INTERNAL , EXTERNAL } |
| enum class | MeshInternalType : uint8_t { NONE = 0 , CUBE = 1 , SPHERE = 2 , QUAD = 3 } |
| enum class | TextureType { DIFFUSE , SPECULAR , NORMAL , AMBIENT_OCCLUSION , ROUGHNESS , METALNESS , EMISSIVE , HEIGHT , OPACITY } |
| enum class | TextureFilter { NEAREST , LINEAR , LINEAR_MIPMAP_LINEAR , NEAREST_MIPMAP_NEAREST } |
| enum class | TextureWrap { REPEAT , CLAMP_TO_EDGE , CLAMP_TO_BORDER , MIRRORED_REPEAT } |
| enum class | CameraType { PERSPECTIVE , ORTHOGRAPHIC } |
| enum | CursorMode { HIDDEN , DISABLED , SHOWN } |
| enum class | BlendMode { NONE , ALPHA , ADDITIVE , MULTIPLY } |
| enum class | DepthTest { DISABLED , LESS , LESS_EQUAL , GREATER , EQUAL } |
| enum class | CullMode { NONE , FRONT , BACK , FRONT_AND_BACK } |
Functions | |
| TextureType | infer_texture_type (const std::string &name) |
| void | register_all_components () |
| static nlohmann::json | serialize_transform (const hellfire::Component *c) |
| bool | file_exists (const std::string &filename) |
| static const char * | texture_type_to_string (TextureType type) |
| static TextureType | string_to_texture_type (const std::string &str) |
| template<typename T > | |
| void | write_binary (std::ostream &out, const T &val) |
| Binary I/O. | |
| template<typename T > | |
| bool | read_binary (std::istream &in, T &val) |
| template<typename T > | |
| void | write_binary_vector (std::ostream &out, const std::vector< T > &vec) |
| template<typename T > | |
| bool | read_binary_vector (std::istream &in, std::vector< T > &vec) |
| void | write_binary_string (std::ostream &out, const std::string &str) |
| bool | read_binary_string (std::istream &in, std::string &str) |
| void | write_binary (std::ostream &out, const glm::vec2 &v) |
| GLM Binary I/O. | |
| void | write_binary (std::ostream &out, const glm::vec3 &v) |
| void | write_binary (std::ostream &out, const glm::vec4 &v) |
| void | write_binary (std::ostream &out, const glm::quat &q) |
| void | write_binary (std::ostream &out, const glm::mat4 &m) |
| void | write_binary (std::ostream &out, const glm::mat3 &m) |
| bool | read_binary (std::istream &in, glm::vec2 &v) |
| bool | read_binary (std::istream &in, glm::vec3 &v) |
| bool | read_binary (std::istream &in, glm::vec4 &v) |
| bool | read_binary (std::istream &in, glm::quat &q) |
| bool | read_binary (std::istream &in, glm::mat4 &m) |
| bool | read_binary (std::istream &in, glm::mat3 &m) |
| void | write_binary (std::ostream &out, const Vertex &v) |
| Vertex I/O. | |
| bool | read_binary (std::istream &in, Vertex &v) |
| void | write_vertex_vector (std::ostream &out, const std::vector< Vertex > &vec) |
| bool | read_vertex_vector (std::istream &in, std::vector< Vertex > &vec) |
| std::optional< glm::vec2 > | json_get_vec2 (const nlohmann::json &j, const std::string &key) |
| JSON Helpers. | |
| std::optional< glm::vec3 > | json_get_vec3 (const nlohmann::json &j, const std::string &key) |
| std::optional< glm::vec3 > | json_to_vec3 (const nlohmann::json &j) |
| std::optional< glm::vec4 > | json_get_vec4 (const nlohmann::json &j, const std::string &key) |
| nlohmann::json | vec2_to_json (const glm::vec2 &v) |
| nlohmann::json | vec3_to_json (const glm::vec3 &v) |
| nlohmann::json | vec4_to_json (const glm::vec4 &v) |
| bool | write_header (std::ostream &out, uint32_t magic, uint32_t version) |
| bool | read_and_validate_header (std::istream &in, uint32_t expected_magic, uint32_t max_version, uint32_t &out_version) |
| static std::filesystem::path | get_meta_path (const std::filesystem::path &texture_path) |
Variables | |
| constexpr AssetID | INVALID_ASSET_ID = 0 |
| float | skyboxVertices [] |
| using hellfire::AssetID = typedef uint64_t |
Definition at line 11 of file AssetRegistry.h.
| typedef uint32_t hellfire::EntityID |
Definition at line 17 of file ModelLoader.h.
|
strong |
| Enumerator | |
|---|---|
| MODEL | |
| MESH | |
| TEXTURE | |
| MATERIAL | |
| SCENE | |
| SHADER | |
| UNKNOWN | |
Definition at line 14 of file AssetRegistry.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| ALPHA | |
| ADDITIVE | |
| MULTIPLY | |
Definition at line 9 of file graphics_api.h.
|
strong |
| Enumerator | |
|---|---|
| PERSPECTIVE | |
| ORTHOGRAPHIC | |
Definition at line 10 of file CameraComponent.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| FRONT | |
| BACK | |
| FRONT_AND_BACK | |
Definition at line 24 of file graphics_api.h.
| enum hellfire::CursorMode |
|
strong |
| Enumerator | |
|---|---|
| DISABLED | |
| LESS | |
| LESS_EQUAL | |
| GREATER | |
| EQUAL | |
Definition at line 16 of file graphics_api.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| CUBE | |
| SPHERE | |
| QUAD | |
Definition at line 16 of file MeshComponent.h.
|
strong |
| Enumerator | |
|---|---|
| INTERNAL | |
| EXTERNAL | |
Definition at line 11 of file MeshComponent.h.
|
strong |
|
strong |
|
strong |
| bool hellfire::file_exists | ( | const std::string & | filename | ) |
Definition at line 368 of file Texture.cpp.
|
static |
Definition at line 12 of file TextureSerializer.cpp.
| TextureType hellfire::infer_texture_type | ( | const std::string & | name | ) |
Definition at line 17 of file AssetImportManager.cpp.
|
inline |
JSON Helpers.
Definition at line 165 of file SerializerUtils.h.
|
inline |
Definition at line 172 of file SerializerUtils.h.
|
inline |
Definition at line 193 of file SerializerUtils.h.
|
inline |
Definition at line 183 of file SerializerUtils.h.
|
inline |
Definition at line 230 of file SerializerUtils.h.
|
inline |
Definition at line 120 of file SerializerUtils.h.
|
inline |
Definition at line 115 of file SerializerUtils.h.
|
inline |
Definition at line 110 of file SerializerUtils.h.
|
inline |
Definition at line 95 of file SerializerUtils.h.
|
inline |
Definition at line 100 of file SerializerUtils.h.
|
inline |
Definition at line 105 of file SerializerUtils.h.
| bool hellfire::read_binary | ( | std::istream & | in, |
| T & | val | ||
| ) |
Definition at line 22 of file SerializerUtils.h.
|
inline |
Definition at line 135 of file SerializerUtils.h.
|
inline |
Definition at line 58 of file SerializerUtils.h.
| bool hellfire::read_binary_vector | ( | std::istream & | in, |
| std::vector< T > & | vec | ||
| ) |
Definition at line 39 of file SerializerUtils.h.
|
inline |
Definition at line 154 of file SerializerUtils.h.
| void hellfire::register_all_components | ( | ) |
Definition at line 11 of file ComponentRegistration.cpp.
|
static |
Definition at line 10 of file TransformComponent.cpp.
|
static |
Definition at line 130 of file MaterialSerializer.cpp.
|
static |
Definition at line 117 of file MaterialSerializer.cpp.
|
inline |
Definition at line 205 of file SerializerUtils.h.
|
inline |
Definition at line 209 of file SerializerUtils.h.
|
inline |
Definition at line 213 of file SerializerUtils.h.
|
inline |
Definition at line 91 of file SerializerUtils.h.
|
inline |
Definition at line 87 of file SerializerUtils.h.
|
inline |
Definition at line 83 of file SerializerUtils.h.
|
inline |
GLM Binary I/O.
Definition at line 71 of file SerializerUtils.h.
|
inline |
Definition at line 75 of file SerializerUtils.h.
|
inline |
Definition at line 79 of file SerializerUtils.h.
| void hellfire::write_binary | ( | std::ostream & | out, |
| const T & | val | ||
| ) |
Binary I/O.
Definition at line 16 of file SerializerUtils.h.
|
inline |
Vertex I/O.
Definition at line 126 of file SerializerUtils.h.
|
inline |
Definition at line 50 of file SerializerUtils.h.
| void hellfire::write_binary_vector | ( | std::ostream & | out, |
| const std::vector< T > & | vec | ||
| ) |
Definition at line 29 of file SerializerUtils.h.
|
inline |
Definition at line 224 of file SerializerUtils.h.
|
inline |
Definition at line 146 of file SerializerUtils.h.
|
constexpr |
Definition at line 12 of file AssetRegistry.h.
| float hellfire::skyboxVertices[] |
Definition at line 16 of file SkyboxRenderer.cpp.