![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Namespaces | |
| Culling | |
| Lighting | |
| Materials | |
| Models | |
| Passes | |
| Shaders | |
| Stats | |
| Textures | |
| Namespace containing functions for interacting with textures. | |
| TextureStorage | |
Functions | |
| BLAM bool | Initialize () |
| BLAM void | RenderLoop () |
| BLAM void | Shutdown () |
| BLAM void | HandleWindowReisze (int width, int height) |
| BLAM void | SetViewClearFlags (uint16_t flags) |
| BLAM void | SetResetFlags (uint32_t flags) |
| BLAM void | TakeScreenshot () |
| BLAM int | GetRenderWidth () |
| Retrieves the current width of the viewport. More... | |
| BLAM int | GetRenderHeight () |
| Retrieves the current height of the viewport. More... | |
| BLAM uint64_t | GetDefault2DStateFlags () |
| BLAM void | SetDefault2DStateFlags (uint64_t flags) |
| BLAM float * | GetCameraViewMatrix () |
| BLAM float * | GetCameraProjectionMatrix () |
| BLAM BlamVector2 | GetScreenPointFrom3DPoint (BlamVector3 position) |
| BLAM void | PrepareScreenQuad () |
| BLAM BlamVector3 | GetMousePosition3D () |
| BLAM BlamVector3 | GetGizmoMousePosition3D () |
| BLAM BlamOrientedBoundingBox | CreateOBBFromAABB (BlamVector3 position, BlamVector3 rotation, BlamVector3 scale, BlamVector3 local_aabb_min, BlamVector3 local_aabb_max) |
| BLAM BlamRay | CreateRayFromViewportPoint (int screen_x, int screen_y) |
| Constructs a world-space ray from a screen-space cursor position. More... | |
| bool | IsViewportMode2D () |
| BlamOrientedBoundingBox Blam::RenderingBGFX::CreateOBBFromAABB | ( | BlamVector3 | position, |
| BlamVector3 | rotation, | ||
| BlamVector3 | scale, | ||
| BlamVector3 | local_aabb_min, | ||
| BlamVector3 | local_aabb_max | ||
| ) |
Here is the caller graph for this function:| BlamRay Blam::RenderingBGFX::CreateRayFromViewportPoint | ( | int | screen_x, |
| int | screen_y | ||
| ) |
Constructs a world-space ray from a screen-space cursor position.
Unprojects two points (at the near and far clip planes) from screen space through the inverse of the combined view-projection matrix to produce a ray origin and normalized direction in world space.
The near clip Z value is chosen based on bgfx's reported depth range: 0.0 for D3D/Vulkan (depth in [0,1]) and -1.0 for OpenGL (depth in [-1,1]).
| screen_x | Screen X position in pixels. |
| screen_y | Screen Y position in pixels. |
Here is the call graph for this function:
Here is the caller graph for this function:| float * Blam::RenderingBGFX::GetCameraProjectionMatrix | ( | ) |
Here is the caller graph for this function:| float * Blam::RenderingBGFX::GetCameraViewMatrix | ( | ) |
Here is the caller graph for this function:| uint64_t Blam::RenderingBGFX::GetDefault2DStateFlags | ( | ) |
Here is the caller graph for this function:| BlamVector3 Blam::RenderingBGFX::GetGizmoMousePosition3D | ( | ) |
Here is the caller graph for this function:| BlamVector3 Blam::RenderingBGFX::GetMousePosition3D | ( | ) |
Here is the caller graph for this function:| int Blam::RenderingBGFX::GetRenderHeight | ( | ) |
Retrieves the current height of the viewport.
Here is the caller graph for this function:| int Blam::RenderingBGFX::GetRenderWidth | ( | ) |
Retrieves the current width of the viewport.
Here is the caller graph for this function:| BlamVector2 Blam::RenderingBGFX::GetScreenPointFrom3DPoint | ( | BlamVector3 | position | ) |
Here is the caller graph for this function:| void Blam::RenderingBGFX::HandleWindowReisze | ( | int | width, |
| int | height | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Blam::RenderingBGFX::Initialize | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Blam::RenderingBGFX::IsViewportMode2D | ( | ) |
| void Blam::RenderingBGFX::PrepareScreenQuad | ( | ) |
Here is the caller graph for this function:| void Blam::RenderingBGFX::RenderLoop | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Blam::RenderingBGFX::SetDefault2DStateFlags | ( | uint64_t | flags | ) |
Here is the caller graph for this function:| void Blam::RenderingBGFX::SetResetFlags | ( | uint32_t | flags | ) |
Here is the caller graph for this function:| void Blam::RenderingBGFX::SetViewClearFlags | ( | uint16_t | flags | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Blam::RenderingBGFX::Shutdown | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Blam::RenderingBGFX::TakeScreenshot | ( | ) |
Here is the caller graph for this function: