|
Monad Engine da02fba2
> Undercity Codex_
|
Enumerations | |
| enum class | BlendMode { Disabled , Alpha , Additive , Multiply } |
| enum class | CollisionObjectType { RigidBody , KinematicCharacterController } |
| enum class | BodyType { Static , Dynamic , Kinematic } |
Functions | |
| void | keyCallback (GLFWwindow *window, int key, int, int action, int) |
| void | mouseButtonCallback (GLFWwindow *window, int button, int action, int) |
| void | cursorPositionCallback (GLFWwindow *window, double xpos, double ypos) |
| void | ParseGLTFNode (cgltf_node *node, GameObject *parent, const std::filesystem::path &folder) |
Variables | |
| auto | ReadScalar |
| auto | ReadVec3 |
| auto | ReadQuat |
| auto | ReadTimes |
| auto | ReadOutputVec3 |
| auto | ReadOutputQuat |
|
strong |
| Enumerator | |
|---|---|
| Disabled | |
| Alpha | |
| Additive | |
| Multiply | |
Definition at line 13 of file GraphicsAPI.h.
|
strong |
| Enumerator | |
|---|---|
| Static | |
| Dynamic | |
| Kinematic | |
Definition at line 13 of file RigidBody.h.
|
strong |
| Enumerator | |
|---|---|
| RigidBody | |
| KinematicCharacterController | |
Definition at line 10 of file CollisionObject.h.
| void eng::cursorPositionCallback | ( | GLFWwindow * | window, |
| double | xpos, | ||
| double | ypos | ||
| ) |
Definition at line 38 of file Engine.cpp.
References eng::Engine::GetInputManager(), eng::Engine::GetInstance(), and eng::InputManager::SetMousePositionOld().
Referenced by eng::Engine::Init().
| void eng::keyCallback | ( | GLFWwindow * | window, |
| int | key, | ||
| int | , | ||
| int | action, | ||
| int | |||
| ) |
Definition at line 12 of file Engine.cpp.
References eng::Engine::GetInputManager(), eng::Engine::GetInstance(), and eng::InputManager::SetKeyPressed().
Referenced by eng::Engine::Init().
| void eng::mouseButtonCallback | ( | GLFWwindow * | window, |
| int | button, | ||
| int | action, | ||
| int | |||
| ) |
Definition at line 25 of file Engine.cpp.
References eng::Engine::GetInputManager(), eng::Engine::GetInstance(), and eng::InputManager::SetMouseButtonPressed().
Referenced by eng::Engine::Init().
| void eng::ParseGLTFNode | ( | cgltf_node * | node, |
| GameObject * | parent, | ||
| const std::filesystem::path & | folder | ||
| ) |
Definition at line 306 of file GameObject.cpp.
References eng::VertexElement::ColorIndex, eng::Scene::CreateObject(), eng::VertexLayout::elements, eng::Engine::GetInstance(), eng::TextureManager::GetOrLoadTexture(), eng::GameObject::GetScene(), eng::Engine::GetTextureManager(), eng::VertexElement::index, mesh, eng::VertexElement::NormalIndex, eng::VertexElement::offset, ParseGLTFNode(), eng::VertexElement::PositionIndex, eng::VertexElement::size, eng::VertexLayout::stride, eng::VertexElement::type, and eng::VertexElement::UVIndex.
Referenced by eng::GameObject::LoadGLTF(), and ParseGLTFNode().
| auto eng::ReadOutputQuat |
Definition at line 560 of file GameObject.cpp.
Referenced by eng::GameObject::LoadGLTF().
| auto eng::ReadOutputVec3 |
Definition at line 551 of file GameObject.cpp.
Referenced by eng::GameObject::LoadGLTF().
| auto eng::ReadQuat |
Definition at line 535 of file GameObject.cpp.
| auto eng::ReadScalar |
Definition at line 521 of file GameObject.cpp.
| auto eng::ReadTimes |
Definition at line 542 of file GameObject.cpp.
Referenced by eng::GameObject::LoadGLTF().
| auto eng::ReadVec3 |
Definition at line 528 of file GameObject.cpp.