diff --git a/docs/_r_e_a_d_m_e_8md.html b/docs/_r_e_a_d_m_e_8md.html index 0b40003a..45d62007 100644 --- a/docs/_r_e_a_d_m_e_8md.html +++ b/docs/_r_e_a_d_m_e_8md.html @@ -69,7 +69,7 @@ diff --git a/docs/annotated.html b/docs/annotated.html index c540b938..1e2d53b0 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -80,7 +80,7 @@  CDirect3DUniformBuffer  CDirect3DVertexArray  CDirect3DVertexBuffer - CEngine + CEngineMain engine class from which all client applications derive  CProperties  CEntity  CEvent @@ -105,54 +105,55 @@  CMouseScrollEvent  CNativeScript  CNativeScriptComponent - COpenGLFramebuffer - COpenGLGraphicsContext - COpenGLIndexBuffer - COpenGLRendererAPI - COpenGLShader - COpenGLTexture - COpenGLUniformBuffer - COpenGLVertexArray - COpenGLVertexBuffer - CQuadVertex - CRenderData - CRenderer - CRenderer2D - CProperties - CStatistics - CRendererAPI - CRendererAPIImpl - CScene - CSceneSerializer - CShader - CSpriteComponent - CTagComponent - CTexture - CTransformComponent - CUniformBuffer - CVertexArray - CVertexBuffer - CVertexLayout - CVulkanGraphicsContext - CVulkanIndexBuffer - CVulkanRendererAPI - CVulkanShader - CVulkanTexture - CVulkanVertexArray - CVulkanVertexBuffer - CWindow - CWindowData - CWindowCloseEvent - CWindowResizeEvent - NYAML - Cconvert< glm::vec3 > - Cconvert< glm::vec4 > + CNonCopyable + COpenGLFramebuffer + COpenGLGraphicsContext + COpenGLIndexBuffer + COpenGLRendererAPI + COpenGLShader + COpenGLTexture + COpenGLUniformBuffer + COpenGLVertexArray + COpenGLVertexBuffer + CQuadVertex + CRenderData + CRenderer + CRenderer2D + CProperties + CStatistics + CRendererAPI + CRendererAPIImpl + CScene + CSceneSerializer + CShader + CSpriteComponent + CTagComponent + CTexture + CTransformComponent + CUniformBuffer + CVertexArray + CVertexBuffer + CVertexLayout + CVulkanGraphicsContext + CVulkanIndexBuffer + CVulkanRendererAPI + CVulkanShader + CVulkanTexture + CVulkanVertexArray + CVulkanVertexBuffer + CWindow + CWindowData + CWindowCloseEvent + CWindowResizeEvent + NYAML + Cconvert< glm::vec3 > + Cconvert< glm::vec4 > diff --git a/docs/assert_8hpp.html b/docs/assert_8hpp.html index 8e0a955b..12f98098 100644 --- a/docs/assert_8hpp.html +++ b/docs/assert_8hpp.html @@ -143,7 +143,7 @@

diff --git a/docs/assert_8hpp_source.html b/docs/assert_8hpp_source.html index 0a4f7fd8..933abaf4 100644 --- a/docs/assert_8hpp_source.html +++ b/docs/assert_8hpp_source.html @@ -101,7 +101,7 @@ diff --git a/docs/base_8hpp.html b/docs/base_8hpp.html index e497cd2a..d9bf4cfe 100644 --- a/docs/base_8hpp.html +++ b/docs/base_8hpp.html @@ -68,6 +68,7 @@
+Classes | Namespaces | Macros | Typedefs | @@ -76,14 +77,18 @@
base.hpp File Reference
-
#include <ccl/non_copyable.h>
-#include <cstdint>
+
#include <cstdint>
#include <memory>
#include "jng/debug/assert.hpp"
#include "jng/debug/log.hpp"

Go to the source code of this file.

+ + + +

+Classes

class  jng::NonCopyable
 
@@ -164,7 +169,7 @@

diff --git a/docs/base_8hpp_source.html b/docs/base_8hpp_source.html index 950895d5..97e336b0 100644 --- a/docs/base_8hpp_source.html +++ b/docs/base_8hpp_source.html @@ -77,75 +77,87 @@
5 */
6
7#pragma once
-
8#include <ccl/non_copyable.h>
-
9#include <cstdint>
-
10#include <memory>
-
11
-
12#include "jng/debug/assert.hpp"
-
13#include "jng/debug/log.hpp"
+
8#include <cstdint>
+
9#include <memory>
+
10
+
11#define JNG_BIND_EVENT_FUNC(func) [this](auto&& ...args) -> decltype(auto) { return this->func(std::forward<decltype(args)>(args)...); }
+
12
+
13namespace jng {
14
-
15#define JNG_BIND_EVENT_FUNC(func) [this](auto&& ...args) -> decltype(auto) { return this->func(std::forward<decltype(args)>(args)...); }
-
16
-
17namespace jng {
-
18
-
19 template<typename T>
-
20 using Scope = std::unique_ptr<T>;
-
21 template<typename T, typename ... Args>
-
22 constexpr Scope<T> makeScope(Args&& ... args)
-
23 {
-
24 return std::make_unique<T>(std::forward<Args>(args)...);
-
25 }
-
26
-
27 template<typename T>
-
28 using Ref = std::shared_ptr<T>;
-
29 template<typename T, typename ... Args>
-
30 constexpr Ref<T> makeRef(Args&& ... args)
-
31 {
-
32 return std::make_shared<T>(std::forward<Args>(args)...);
-
33 }
-
34
-
35 using uint8 = uint8_t;
-
36 using uint16 = uint16_t;
-
37 using uint32 = uint32_t;
-
38 using uint64 = uint64_t;
-
39 using int8 = int8_t;
-
40 using int16 = int16_t;
-
41 using int32 = int32_t;
-
42 using int64 = int64_t;
-
43
-
44 enum class RendererBackend {
-
45 None = -1,
- -
47 OpenGL,
-
48 Vulkan
-
49 };
-
50
-
51} // namespace jng
+ +
16 {
+
17 protected:
+
18 NonCopyable() = default;
+
19 ~NonCopyable() = default;
+
20 private:
+
21 NonCopyable(const NonCopyable&) = delete;
+
22 NonCopyable& operator=(const NonCopyable&) = delete;
+
23 };
+
24
+
25 template<typename T>
+
26 using Scope = std::unique_ptr<T>;
+
27 template<typename T, typename ... Args>
+
28 constexpr Scope<T> makeScope(Args&& ... args)
+
29 {
+
30 return std::make_unique<T>(std::forward<Args>(args)...);
+
31 }
+
32
+
33 template<typename T>
+
34 using Ref = std::shared_ptr<T>;
+
35 template<typename T, typename ... Args>
+
36 constexpr Ref<T> makeRef(Args&& ... args)
+
37 {
+
38 return std::make_shared<T>(std::forward<Args>(args)...);
+
39 }
+
40
+
41 using uint8 = uint8_t;
+
42 using uint16 = uint16_t;
+
43 using uint32 = uint32_t;
+
44 using uint64 = uint64_t;
+
45 using int8 = int8_t;
+
46 using int16 = int16_t;
+
47 using int32 = int32_t;
+
48 using int64 = int64_t;
+
49
+
50 enum class RendererBackend {
+
51 None = -1,
+ +
53 OpenGL,
+
54 Vulkan
+
55 };
+
56
+
57} // namespace jng
+
58
+
59#include "jng/debug/assert.hpp"
+
60#include "jng/debug/log.hpp"
+
Definition: base.hpp:16
+
NonCopyable()=default
+
~NonCopyable()=default
constexpr KeyCode T
Definition: key_codes.hpp:56
-
Definition: base.hpp:17
-
constexpr Scope< T > makeScope(Args &&... args)
Definition: base.hpp:22
-
RendererBackend
Definition: base.hpp:44
+
Definition: base.hpp:13
+
constexpr Scope< T > makeScope(Args &&... args)
Definition: base.hpp:28
+
RendererBackend
Definition: base.hpp:50
-
int16_t int16
Definition: base.hpp:40
-
constexpr Ref< T > makeRef(Args &&... args)
Definition: base.hpp:30
-
uint16_t uint16
Definition: base.hpp:36
-
std::unique_ptr< T > Scope
Definition: base.hpp:20
-
uint64_t uint64
Definition: base.hpp:38
-
uint8_t uint8
Definition: base.hpp:35
-
int64_t int64
Definition: base.hpp:42
-
int32_t int32
Definition: base.hpp:41
-
std::shared_ptr< T > Ref
Definition: base.hpp:28
-
uint32_t uint32
Definition: base.hpp:37
-
int8_t int8
Definition: base.hpp:39
+
int16_t int16
Definition: base.hpp:46
+
constexpr Ref< T > makeRef(Args &&... args)
Definition: base.hpp:36
+
uint16_t uint16
Definition: base.hpp:42
+
std::unique_ptr< T > Scope
Definition: base.hpp:26
+
uint64_t uint64
Definition: base.hpp:44
+
uint8_t uint8
Definition: base.hpp:41
+
int64_t int64
Definition: base.hpp:48
+
int32_t int32
Definition: base.hpp:47
+
std::shared_ptr< T > Ref
Definition: base.hpp:34
+
uint32_t uint32
Definition: base.hpp:43
+
int8_t int8
Definition: base.hpp:45
diff --git a/docs/base__internal_8hpp.html b/docs/base__internal_8hpp.html index 6e5de81f..29452546 100644 --- a/docs/base__internal_8hpp.html +++ b/docs/base__internal_8hpp.html @@ -101,7 +101,7 @@ diff --git a/docs/base__internal_8hpp_source.html b/docs/base__internal_8hpp_source.html index 40abca2f..2821440a 100644 --- a/docs/base__internal_8hpp_source.html +++ b/docs/base__internal_8hpp_source.html @@ -92,7 +92,7 @@
20
21} // namespace jng
-
Definition: base.hpp:17
+
Definition: base.hpp:13
constexpr int PHYSICS_POS_ITERATIONS
Definition: base_internal.hpp:16
constexpr float PHYSICS_SCALE
Definition: base_internal.hpp:13
constexpr float PHYSICS_TIMESTEP
Definition: base_internal.hpp:14
@@ -103,7 +103,7 @@ diff --git a/docs/buffers_8cpp.html b/docs/buffers_8cpp.html index 43734aa1..8e658886 100644 --- a/docs/buffers_8cpp.html +++ b/docs/buffers_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/buffers_8hpp.html b/docs/buffers_8hpp.html index 6465ab91..b0bb59de 100644 --- a/docs/buffers_8hpp.html +++ b/docs/buffers_8hpp.html @@ -94,7 +94,7 @@ diff --git a/docs/buffers_8hpp_source.html b/docs/buffers_8hpp_source.html index 7e831f65..85cfa92e 100644 --- a/docs/buffers_8hpp_source.html +++ b/docs/buffers_8hpp_source.html @@ -136,13 +136,13 @@
virtual void setData(const void *data, size_t size) const =0
virtual void unbind() const =0
virtual void bind() const =0
-
Definition: base.hpp:17
-
std::shared_ptr< T > Ref
Definition: base.hpp:28
-
uint32_t uint32
Definition: base.hpp:37
+
Definition: base.hpp:13
+
std::shared_ptr< T > Ref
Definition: base.hpp:34
+
uint32_t uint32
Definition: base.hpp:43
diff --git a/docs/buffers__d3d_8cpp.html b/docs/buffers__d3d_8cpp.html index a20ecef4..3db52943 100644 --- a/docs/buffers__d3d_8cpp.html +++ b/docs/buffers__d3d_8cpp.html @@ -87,7 +87,7 @@ diff --git a/docs/buffers__d3d_8hpp.html b/docs/buffers__d3d_8hpp.html index 95057c70..38b96c83 100644 --- a/docs/buffers__d3d_8hpp.html +++ b/docs/buffers__d3d_8hpp.html @@ -97,7 +97,7 @@ diff --git a/docs/buffers__d3d_8hpp_source.html b/docs/buffers__d3d_8hpp_source.html index 4cbb2258..46dda068 100644 --- a/docs/buffers__d3d_8hpp_source.html +++ b/docs/buffers__d3d_8hpp_source.html @@ -170,13 +170,13 @@
Definition: buffers.hpp:13
Definition: vertex_array.hpp:42
-
Definition: base.hpp:17
-
uint32_t uint32
Definition: base.hpp:37
+
Definition: base.hpp:13
+
uint32_t uint32
Definition: base.hpp:43
diff --git a/docs/buffers__ogl_8cpp.html b/docs/buffers__ogl_8cpp.html index dcb014d0..acbaedcf 100644 --- a/docs/buffers__ogl_8cpp.html +++ b/docs/buffers__ogl_8cpp.html @@ -73,7 +73,7 @@
#include "renderer/opengl/buffers_ogl.hpp"
-#include <glad/glad.h>
+#include <glad/gl.h>

Namespaces

namespace  jng
@@ -83,7 +83,7 @@ diff --git a/docs/buffers__ogl_8hpp.html b/docs/buffers__ogl_8hpp.html index 67aef1c1..2c396cee 100644 --- a/docs/buffers__ogl_8hpp.html +++ b/docs/buffers__ogl_8hpp.html @@ -94,7 +94,7 @@ diff --git a/docs/buffers__ogl_8hpp_source.html b/docs/buffers__ogl_8hpp_source.html index 1361dcfb..ba41b8c7 100644 --- a/docs/buffers__ogl_8hpp_source.html +++ b/docs/buffers__ogl_8hpp_source.html @@ -148,12 +148,12 @@
virtual ~OpenGLVertexBuffer()
Definition: buffers_ogl.cpp:25
Definition: buffers.hpp:37
Definition: buffers.hpp:13
-
Definition: base.hpp:17
-
uint32_t uint32
Definition: base.hpp:37
+
Definition: base.hpp:13
+
uint32_t uint32
Definition: base.hpp:43
diff --git a/docs/buffers__vlk_8cpp.html b/docs/buffers__vlk_8cpp.html index a5d4bc72..5b4f63d1 100644 --- a/docs/buffers__vlk_8cpp.html +++ b/docs/buffers__vlk_8cpp.html @@ -82,7 +82,7 @@ diff --git a/docs/buffers__vlk_8hpp.html b/docs/buffers__vlk_8hpp.html index 8bd198c9..d86f7e8a 100644 --- a/docs/buffers__vlk_8hpp.html +++ b/docs/buffers__vlk_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/buffers__vlk_8hpp_source.html b/docs/buffers__vlk_8hpp_source.html index aeaacfee..795d3fa2 100644 --- a/docs/buffers__vlk_8hpp_source.html +++ b/docs/buffers__vlk_8hpp_source.html @@ -123,12 +123,12 @@
void unbind() const
Definition: buffers_vlk.cpp:31
void setData(const void *data, size_t size) const
Definition: buffers_vlk.cpp:36
VulkanVertexBuffer(const void *vertices, size_t size)
Definition: buffers_vlk.cpp:11
-
Definition: base.hpp:17
-
uint32_t uint32
Definition: base.hpp:37
+
Definition: base.hpp:13
+
uint32_t uint32
Definition: base.hpp:43
diff --git a/docs/camera_8cpp.html b/docs/camera_8cpp.html index 97e49bb8..f1513947 100644 --- a/docs/camera_8cpp.html +++ b/docs/camera_8cpp.html @@ -5,7 +5,7 @@ -Just™ Game Engine: source/renderer/camera.cpp File Reference +Just™ Game Engine: source/scene/camera.cpp File Reference @@ -63,7 +63,7 @@
@@ -72,7 +72,7 @@
camera.cpp File Reference
-
#include "renderer/camera.hpp"
+
#include "scene/camera.hpp"
#include "core/base_internal.hpp"
#include "renderer/renderer_api.hpp"
#include <glm/gtc/matrix_transform.hpp>
@@ -85,7 +85,7 @@
diff --git a/docs/camera_8hpp.html b/docs/camera_8hpp.html index a3d1defc..6e11149e 100644 --- a/docs/camera_8hpp.html +++ b/docs/camera_8hpp.html @@ -5,7 +5,7 @@ -Just™ Game Engine: include/jng/renderer/camera.hpp File Reference +Just™ Game Engine: include/jng/scene/camera.hpp File Reference @@ -63,7 +63,7 @@
@@ -73,7 +73,7 @@
camera.hpp File Reference
-
#include "jng/core//base.hpp"
+
#include "jng/core/base.hpp"
#include <glm/glm.hpp>

Go to the source code of this file.

@@ -91,7 +91,7 @@
diff --git a/docs/camera_8hpp_source.html b/docs/camera_8hpp_source.html index c36a4949..88636383 100644 --- a/docs/camera_8hpp_source.html +++ b/docs/camera_8hpp_source.html @@ -5,7 +5,7 @@ -Just™ Game Engine: include/jng/renderer/camera.hpp Source File +Just™ Game Engine: include/jng/scene/camera.hpp Source File @@ -63,7 +63,7 @@
@@ -77,7 +77,7 @@
5 */
6
7#pragma once
-
8#include "jng/core//base.hpp"
+
8#include "jng/core/base.hpp"
9
10#include <glm/glm.hpp>
11
@@ -91,8 +91,8 @@
19
20 Camera() { recalculateProjection(); }
21
-
22 void setOrthographic(float size, float near = -1.f, float far = 1.f);
-
23 void setPerspective(float fov, float near = 0.01f, float far = 1000.f);
+
22 void setOrthographic(float oSize, float oNear = -1.f, float oFar = 1.f);
+
23 void setPerspective(float pFOV, float pNear = 0.01f, float pFar = 1000.f);
24 const glm::mat4& getProjection() const { return m_projection; }
25
26 void setProjectionType(ProjectionType type) { m_projectionType = type; recalculateProjection(); }
@@ -104,16 +104,16 @@
32 float getOrthographicSize() const { return m_orthoSize; }
33 float getOrthographicNear() const { return m_orthoNear; }
34 float getOrthographicFar() const { return m_orthoFar; }
-
35 void setOrthographicSize(float size) { m_orthoSize = size; recalculateProjection(); }
-
36 void setOrthographicNear(float near) { m_orthoNear = near; recalculateProjection(); }
-
37 void setOrthographicFar(float far) { m_orthoFar = far; recalculateProjection(); }
+
35 void setOrthographicSize(float oSize) { m_orthoSize = oSize; recalculateProjection(); }
+
36 void setOrthographicNear(float oNear) { m_orthoNear = oNear; recalculateProjection(); }
+
37 void setOrthographicFar(float oFar) { m_orthoFar = oFar; recalculateProjection(); }
38
39 float getPerspectiveFOV() const { return m_perspectiveFOV; }
40 float getPerspectiveNear() const { return m_perspectiveNear; }
41 float getPerspectiveFar() const { return m_perspectiveFar; }
-
42 void setPerspectiveFOV(float fov) { m_perspectiveFOV = fov; recalculateProjection(); }
-
43 void setPerspectiveNear(float near) { m_perspectiveNear = near; recalculateProjection(); }
-
44 void setPerspectiveFar(float far) { m_perspectiveFar = far; recalculateProjection(); }
+
42 void setPerspectiveFOV(float pFOV) { m_perspectiveFOV = pFOV; recalculateProjection(); }
+
43 void setPerspectiveNear(float pNear) { m_perspectiveNear = pNear; recalculateProjection(); }
+
44 void setPerspectiveFar(float pFar) { m_perspectiveFar = pFar; recalculateProjection(); }
45
46 glm::mat4 getVP(const glm::mat4 transform) const;
47 private:
@@ -134,34 +134,34 @@
Definition: camera.hpp:16
ProjectionType getProjectionType() const
Definition: camera.hpp:27
-
void setPerspectiveNear(float near)
Definition: camera.hpp:43
void setProjectionType(ProjectionType type)
Definition: camera.hpp:26
float getPerspectiveFOV() const
Definition: camera.hpp:39
ProjectionType
Definition: camera.hpp:18
glm::mat4 getVP(const glm::mat4 transform) const
Definition: camera.cpp:41
float getPerspectiveFar() const
Definition: camera.hpp:41
-
void setOrthographicSize(float size)
Definition: camera.hpp:35
-
void setOrthographicFar(float far)
Definition: camera.hpp:37
+
void setOrthographicSize(float oSize)
Definition: camera.hpp:35
+
void setPerspectiveFar(float pFar)
Definition: camera.hpp:44
const glm::mat4 & getProjection() const
Definition: camera.hpp:24
float getOrthographicFar() const
Definition: camera.hpp:34
Camera()
Definition: camera.hpp:20
float getPerspectiveNear() const
Definition: camera.hpp:40
-
void setPerspective(float fov, float near=0.01f, float far=1000.f)
Definition: camera.cpp:25
+
void setPerspectiveNear(float pNear)
Definition: camera.hpp:43
float getOrthographicNear() const
Definition: camera.hpp:33
-
void setPerspectiveFOV(float fov)
Definition: camera.hpp:42
+
void setOrthographicFar(float oFar)
Definition: camera.hpp:37
+
void setOrthographicNear(float oNear)
Definition: camera.hpp:36
float getAspectRatio() const
Definition: camera.hpp:30
-
void setPerspectiveFar(float far)
Definition: camera.hpp:44
void setViewportSize(uint32 width, uint32 height)
Definition: camera.cpp:34
float getOrthographicSize() const
Definition: camera.hpp:32
-
void setOrthographicNear(float near)
Definition: camera.hpp:36
-
void setOrthographic(float size, float near=-1.f, float far=1.f)
Definition: camera.cpp:16
-
Definition: base.hpp:17
-
uint32_t uint32
Definition: base.hpp:37
+
void setPerspectiveFOV(float pFOV)
Definition: camera.hpp:42
+
void setOrthographic(float oSize, float oNear=-1.f, float oFar=1.f)
Definition: camera.cpp:16
+
void setPerspective(float pFOV, float pNear=0.01f, float pFar=1000.f)
Definition: camera.cpp:25
+
Definition: base.hpp:13
+
uint32_t uint32
Definition: base.hpp:43
diff --git a/docs/classes.html b/docs/classes.html index 69e494e6..abb543eb 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -97,7 +97,7 @@
MouseButtonEvent (jng)
MouseButtonPressEvent (jng)
MouseButtonReleaseEvent (jng)
MouseMoveEvent (jng)
MouseScrollEvent (jng)
N
-
NativeScript (jng)
NativeScriptComponent (jng)
+
NativeScript (jng)
NativeScriptComponent (jng)
NonCopyable (jng)
O
OpenGLFramebuffer (jng)
OpenGLGraphicsContext (jng)
OpenGLIndexBuffer (jng)
OpenGLRendererAPI (jng)
OpenGLShader (jng)
OpenGLTexture (jng)
OpenGLUniformBuffer (jng)
OpenGLVertexArray (jng)
OpenGLVertexBuffer (jng)
@@ -129,7 +129,7 @@ diff --git a/docs/classjng_1_1_camera-members.html b/docs/classjng_1_1_camera-members.html index 38250f43..2efd84d4 100644 --- a/docs/classjng_1_1_camera-members.html +++ b/docs/classjng_1_1_camera-members.html @@ -85,20 +85,20 @@ - - - - - - - - + + + + + + + +

Namespaces

getProjectionType() constjng::Camerainline
getVP(const glm::mat4 transform) constjng::Camera
ProjectionType enum namejng::Camera
setOrthographic(float size, float near=-1.f, float far=1.f)jng::Camera
setOrthographicFar(float far)jng::Camerainline
setOrthographicNear(float near)jng::Camerainline
setOrthographicSize(float size)jng::Camerainline
setPerspective(float fov, float near=0.01f, float far=1000.f)jng::Camera
setPerspectiveFar(float far)jng::Camerainline
setPerspectiveFOV(float fov)jng::Camerainline
setPerspectiveNear(float near)jng::Camerainline
setOrthographic(float oSize, float oNear=-1.f, float oFar=1.f)jng::Camera
setOrthographicFar(float oFar)jng::Camerainline
setOrthographicNear(float oNear)jng::Camerainline
setOrthographicSize(float oSize)jng::Camerainline
setPerspective(float pFOV, float pNear=0.01f, float pFar=1000.f)jng::Camera
setPerspectiveFar(float pFar)jng::Camerainline
setPerspectiveFOV(float pFOV)jng::Camerainline
setPerspectiveNear(float pNear)jng::Camerainline
setProjectionType(ProjectionType type)jng::Camerainline
setViewportSize(uint32 width, uint32 height)jng::Camera
diff --git a/docs/classjng_1_1_camera.html b/docs/classjng_1_1_camera.html index 9dd0e5c2..d4ebaa62 100644 --- a/docs/classjng_1_1_camera.html +++ b/docs/classjng_1_1_camera.html @@ -91,10 +91,10 @@ Public Member Functions

 Camera ()   -void setOrthographic (float size, float near=-1.f, float far=1.f) -  -void setPerspective (float fov, float near=0.01f, float far=1000.f) -  +void setOrthographic (float oSize, float oNear=-1.f, float oFar=1.f) +  +void setPerspective (float pFOV, float pNear=0.01f, float pFar=1000.f) +  const glm::mat4 & getProjection () const   void setProjectionType (ProjectionType type) @@ -111,24 +111,24 @@   float getOrthographicFar () const   -void setOrthographicSize (float size) -  -void setOrthographicNear (float near) -  -void setOrthographicFar (float far) -  +void setOrthographicSize (float oSize) +  +void setOrthographicNear (float oNear) +  +void setOrthographicFar (float oFar) +  float getPerspectiveFOV () const   float getPerspectiveNear () const   float getPerspectiveFar () const   -void setPerspectiveFOV (float fov) -  -void setPerspectiveNear (float near) -  -void setPerspectiveFar (float far) -  +void setPerspectiveFOV (float pFOV) +  +void setPerspectiveNear (float pNear) +  +void setPerspectiveFar (float pFar) +  glm::mat4 getVP (const glm::mat4 transform) const   @@ -429,8 +429,8 @@

-

◆ setOrthographic()

+ +

◆ setOrthographic()

@@ -439,19 +439,19 @@

void jng::Camera::setOrthographic ( float  - size, + oSize, float  - near = -1.f, + oNear = -1.f, float  - far = 1.f  + oFar = 1.f  @@ -463,8 +463,8 @@

-

◆ setOrthographicFar()

+ +

◆ setOrthographicFar()

@@ -476,7 +476,7 @@

void jng::Camera::setOrthographicFar ( float  - far) + oFar) @@ -489,8 +489,8 @@

-

◆ setOrthographicNear()

+ +

◆ setOrthographicNear()

@@ -502,7 +502,7 @@

void jng::Camera::setOrthographicNear ( float  - near) + oNear) @@ -515,8 +515,8 @@

-

◆ setOrthographicSize()

+ +

◆ setOrthographicSize()

@@ -528,7 +528,7 @@

void jng::Camera::setOrthographicSize ( float  - size) + oSize) @@ -541,8 +541,8 @@

-

◆ setPerspective()

+ +

◆ setPerspective()

@@ -551,19 +551,19 @@

void jng::Camera::setPerspective ( float  - fov, + pFOV, float  - near = 0.01f, + pNear = 0.01f, float  - far = 1000.f  + pFar = 1000.f  @@ -575,8 +575,8 @@

-

◆ setPerspectiveFar()

+ +

◆ setPerspectiveFar()

@@ -588,7 +588,7 @@

void jng::Camera::setPerspectiveFar ( float  - far) + pFar) @@ -601,8 +601,8 @@

-

◆ setPerspectiveFOV()

+ +

◆ setPerspectiveFOV()

@@ -614,7 +614,7 @@

void jng::Camera::setPerspectiveFOV ( float  - fov) + pFOV) @@ -627,8 +627,8 @@

-

◆ setPerspectiveNear()

+ +

◆ setPerspectiveNear()

diff --git a/docs/classjng_1_1_direct3_d_framebuffer-members.html b/docs/classjng_1_1_direct3_d_framebuffer-members.html index 052b0a86..10439439 100644 --- a/docs/classjng_1_1_direct3_d_framebuffer-members.html +++ b/docs/classjng_1_1_direct3_d_framebuffer-members.html @@ -85,7 +85,7 @@
diff --git a/docs/classjng_1_1_direct3_d_framebuffer.html b/docs/classjng_1_1_direct3_d_framebuffer.html index 8a242073..f96c9415 100644 --- a/docs/classjng_1_1_direct3_d_framebuffer.html +++ b/docs/classjng_1_1_direct3_d_framebuffer.html @@ -327,7 +327,7 @@

diff --git a/docs/classjng_1_1_direct3_d_graphics_context-members.html b/docs/classjng_1_1_direct3_d_graphics_context-members.html index 7b1a31fb..30a576a1 100644 --- a/docs/classjng_1_1_direct3_d_graphics_context-members.html +++ b/docs/classjng_1_1_direct3_d_graphics_context-members.html @@ -87,7 +87,7 @@

diff --git a/docs/classjng_1_1_direct3_d_graphics_context.html b/docs/classjng_1_1_direct3_d_graphics_context.html index e001bedd..f28f02a1 100644 --- a/docs/classjng_1_1_direct3_d_graphics_context.html +++ b/docs/classjng_1_1_direct3_d_graphics_context.html @@ -352,7 +352,7 @@

diff --git a/docs/classjng_1_1_direct3_d_index_buffer-members.html b/docs/classjng_1_1_direct3_d_index_buffer-members.html index 20778daa..133055bc 100644 --- a/docs/classjng_1_1_direct3_d_index_buffer-members.html +++ b/docs/classjng_1_1_direct3_d_index_buffer-members.html @@ -83,7 +83,7 @@

diff --git a/docs/classjng_1_1_direct3_d_index_buffer.html b/docs/classjng_1_1_direct3_d_index_buffer.html index dc680f3c..7e97ee66 100644 --- a/docs/classjng_1_1_direct3_d_index_buffer.html +++ b/docs/classjng_1_1_direct3_d_index_buffer.html @@ -256,7 +256,7 @@

diff --git a/docs/classjng_1_1_direct3_d_renderer_a_p_i-members.html b/docs/classjng_1_1_direct3_d_renderer_a_p_i-members.html index aa34cc7e..8ede4bc4 100644 --- a/docs/classjng_1_1_direct3_d_renderer_a_p_i-members.html +++ b/docs/classjng_1_1_direct3_d_renderer_a_p_i-members.html @@ -83,7 +83,7 @@

diff --git a/docs/classjng_1_1_direct3_d_renderer_a_p_i.html b/docs/classjng_1_1_direct3_d_renderer_a_p_i.html index 8b26929d..cb0d56d5 100644 --- a/docs/classjng_1_1_direct3_d_renderer_a_p_i.html +++ b/docs/classjng_1_1_direct3_d_renderer_a_p_i.html @@ -309,7 +309,7 @@

diff --git a/docs/classjng_1_1_direct3_d_shader-members.html b/docs/classjng_1_1_direct3_d_shader-members.html index fe8869a0..fd582fee 100644 --- a/docs/classjng_1_1_direct3_d_shader-members.html +++ b/docs/classjng_1_1_direct3_d_shader-members.html @@ -89,7 +89,7 @@

diff --git a/docs/classjng_1_1_direct3_d_shader.html b/docs/classjng_1_1_direct3_d_shader.html index 4d751f40..8db1c141 100644 --- a/docs/classjng_1_1_direct3_d_shader.html +++ b/docs/classjng_1_1_direct3_d_shader.html @@ -306,7 +306,7 @@

diff --git a/docs/classjng_1_1_direct3_d_texture-members.html b/docs/classjng_1_1_direct3_d_texture-members.html index 05f2ab7b..ff1b0120 100644 --- a/docs/classjng_1_1_direct3_d_texture-members.html +++ b/docs/classjng_1_1_direct3_d_texture-members.html @@ -88,7 +88,7 @@

diff --git a/docs/classjng_1_1_direct3_d_texture.html b/docs/classjng_1_1_direct3_d_texture.html index 040b5dcf..18d269d0 100644 --- a/docs/classjng_1_1_direct3_d_texture.html +++ b/docs/classjng_1_1_direct3_d_texture.html @@ -392,7 +392,7 @@

diff --git a/docs/classjng_1_1_direct3_d_uniform_buffer-members.html b/docs/classjng_1_1_direct3_d_uniform_buffer-members.html index fca68224..1f330706 100644 --- a/docs/classjng_1_1_direct3_d_uniform_buffer-members.html +++ b/docs/classjng_1_1_direct3_d_uniform_buffer-members.html @@ -83,7 +83,7 @@

diff --git a/docs/classjng_1_1_direct3_d_uniform_buffer.html b/docs/classjng_1_1_direct3_d_uniform_buffer.html index 175d4266..1807d5a2 100644 --- a/docs/classjng_1_1_direct3_d_uniform_buffer.html +++ b/docs/classjng_1_1_direct3_d_uniform_buffer.html @@ -273,7 +273,7 @@

diff --git a/docs/classjng_1_1_direct3_d_vertex_array-members.html b/docs/classjng_1_1_direct3_d_vertex_array-members.html index f99638c1..7f8b847d 100644 --- a/docs/classjng_1_1_direct3_d_vertex_array-members.html +++ b/docs/classjng_1_1_direct3_d_vertex_array-members.html @@ -85,7 +85,7 @@

diff --git a/docs/classjng_1_1_direct3_d_vertex_array.html b/docs/classjng_1_1_direct3_d_vertex_array.html index 0a69f149..1d14775d 100644 --- a/docs/classjng_1_1_direct3_d_vertex_array.html +++ b/docs/classjng_1_1_direct3_d_vertex_array.html @@ -325,7 +325,7 @@

diff --git a/docs/classjng_1_1_direct3_d_vertex_buffer-members.html b/docs/classjng_1_1_direct3_d_vertex_buffer-members.html index c30106ef..6511b272 100644 --- a/docs/classjng_1_1_direct3_d_vertex_buffer-members.html +++ b/docs/classjng_1_1_direct3_d_vertex_buffer-members.html @@ -86,7 +86,7 @@

diff --git a/docs/classjng_1_1_direct3_d_vertex_buffer.html b/docs/classjng_1_1_direct3_d_vertex_buffer.html index 7256aeea..fb51824a 100644 --- a/docs/classjng_1_1_direct3_d_vertex_buffer.html +++ b/docs/classjng_1_1_direct3_d_vertex_buffer.html @@ -317,7 +317,7 @@

diff --git a/docs/classjng_1_1_engine-members.html b/docs/classjng_1_1_engine-members.html index 39f6a8ff..32cca73a 100644 --- a/docs/classjng_1_1_engine-members.html +++ b/docs/classjng_1_1_engine-members.html @@ -85,7 +85,7 @@

diff --git a/docs/classjng_1_1_engine.html b/docs/classjng_1_1_engine.html index aa009973..db3a01ae 100644 --- a/docs/classjng_1_1_engine.html +++ b/docs/classjng_1_1_engine.html @@ -78,6 +78,9 @@
+

Main engine class from which all client applications derive. + More...

+

#include <engine.hpp>

@@ -122,7 +125,9 @@

LayerStackgetLayerStack ()
 
-

Member Enumeration Documentation

+

Detailed Description

+

Main engine class from which all client applications derive.

+

Member Enumeration Documentation

◆ RendererType

@@ -352,7 +357,7 @@

diff --git a/docs/classjng_1_1_entity-members.html b/docs/classjng_1_1_entity-members.html index 529139a7..89924fe4 100644 --- a/docs/classjng_1_1_entity-members.html +++ b/docs/classjng_1_1_entity-members.html @@ -76,17 +76,18 @@ addComponent(Args &&...args)jng::Entity Entity()=defaultjng::Entity getComponent()jng::Entity - hasComponent()jng::Entity - operator bool()jng::Entityinline - operator void *()jng::Entityinline - operator!=(const Entity &other) constjng::Entityinline - operator==(const Entity &other) constjng::Entityinline - removeComponent()jng::Entity - Scenejng::Entityfriend + getScene()jng::Entityinline + hasComponent()jng::Entity + operator bool()jng::Entityinline + operator void *()jng::Entityinline + operator!=(const Entity &other) constjng::Entityinline + operator==(const Entity &other) constjng::Entityinline + removeComponent()jng::Entity + Scenejng::Entityfriend

diff --git a/docs/classjng_1_1_entity.html b/docs/classjng_1_1_entity.html index c164e9d0..ce7a24a4 100644 --- a/docs/classjng_1_1_entity.html +++ b/docs/classjng_1_1_entity.html @@ -93,6 +93,8 @@ template<typename Component > Component & getComponent ()   +ScenegetScene () +  bool operator== (const Entity &other) const   bool operator!= (const Entity &other) const @@ -168,6 +170,31 @@

+

+
+ +

◆ getScene()

+ +
+
+ + + + + +
+ + + + + + + +
Scene * jng::Entity::getScene ()
+
+inline
+
+
@@ -334,7 +361,7 @@

diff --git a/docs/classjng_1_1_event-members.html b/docs/classjng_1_1_event-members.html index 42a4064d..803d0fdd 100644 --- a/docs/classjng_1_1_event-members.html +++ b/docs/classjng_1_1_event-members.html @@ -83,7 +83,7 @@

diff --git a/docs/classjng_1_1_event.html b/docs/classjng_1_1_event.html index 0c533f58..9b9822c8 100644 --- a/docs/classjng_1_1_event.html +++ b/docs/classjng_1_1_event.html @@ -298,7 +298,7 @@

diff --git a/docs/classjng_1_1_event_dispatcher-members.html b/docs/classjng_1_1_event_dispatcher-members.html index 12c0534f..f8a00ce1 100644 --- a/docs/classjng_1_1_event_dispatcher-members.html +++ b/docs/classjng_1_1_event_dispatcher-members.html @@ -78,7 +78,7 @@

diff --git a/docs/classjng_1_1_event_dispatcher.html b/docs/classjng_1_1_event_dispatcher.html index aa22dba2..8a3b2be7 100644 --- a/docs/classjng_1_1_event_dispatcher.html +++ b/docs/classjng_1_1_event_dispatcher.html @@ -146,7 +146,7 @@

diff --git a/docs/classjng_1_1_framebuffer-members.html b/docs/classjng_1_1_framebuffer-members.html index 24dd8ddf..cc81ce0b 100644 --- a/docs/classjng_1_1_framebuffer-members.html +++ b/docs/classjng_1_1_framebuffer-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_framebuffer.html b/docs/classjng_1_1_framebuffer.html index c802a696..a8cb2ded 100644 --- a/docs/classjng_1_1_framebuffer.html +++ b/docs/classjng_1_1_framebuffer.html @@ -319,7 +319,7 @@

diff --git a/docs/classjng_1_1_graphics_context-members.html b/docs/classjng_1_1_graphics_context-members.html index 74c2062d..fe35e94b 100644 --- a/docs/classjng_1_1_graphics_context-members.html +++ b/docs/classjng_1_1_graphics_context-members.html @@ -80,7 +80,7 @@ diff --git a/docs/classjng_1_1_graphics_context.html b/docs/classjng_1_1_graphics_context.html index fc59e131..e7ed6aac 100644 --- a/docs/classjng_1_1_graphics_context.html +++ b/docs/classjng_1_1_graphics_context.html @@ -217,7 +217,7 @@

diff --git a/docs/classjng_1_1_im_gui_layer-members.html b/docs/classjng_1_1_im_gui_layer-members.html index aad7f2e0..603f0cdc 100644 --- a/docs/classjng_1_1_im_gui_layer-members.html +++ b/docs/classjng_1_1_im_gui_layer-members.html @@ -79,7 +79,7 @@ diff --git a/docs/classjng_1_1_im_gui_layer.html b/docs/classjng_1_1_im_gui_layer.html index 76e4f1a6..b66a80bd 100644 --- a/docs/classjng_1_1_im_gui_layer.html +++ b/docs/classjng_1_1_im_gui_layer.html @@ -169,7 +169,7 @@

diff --git a/docs/classjng_1_1_index_buffer-members.html b/docs/classjng_1_1_index_buffer-members.html index ae611ebc..eb08864e 100644 --- a/docs/classjng_1_1_index_buffer-members.html +++ b/docs/classjng_1_1_index_buffer-members.html @@ -81,7 +81,7 @@ diff --git a/docs/classjng_1_1_index_buffer.html b/docs/classjng_1_1_index_buffer.html index 72adcb4f..1fd7568a 100644 --- a/docs/classjng_1_1_index_buffer.html +++ b/docs/classjng_1_1_index_buffer.html @@ -254,7 +254,7 @@

diff --git a/docs/classjng_1_1_input-members.html b/docs/classjng_1_1_input-members.html index 40f96c89..c03a5561 100644 --- a/docs/classjng_1_1_input-members.html +++ b/docs/classjng_1_1_input-members.html @@ -79,7 +79,7 @@ diff --git a/docs/classjng_1_1_input.html b/docs/classjng_1_1_input.html index 826f8606..5b7f4ffb 100644 --- a/docs/classjng_1_1_input.html +++ b/docs/classjng_1_1_input.html @@ -170,7 +170,7 @@

diff --git a/docs/classjng_1_1_key_event-members.html b/docs/classjng_1_1_key_event-members.html index 1ea36cae..2b6e45bc 100644 --- a/docs/classjng_1_1_key_event-members.html +++ b/docs/classjng_1_1_key_event-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_key_event.html b/docs/classjng_1_1_key_event.html index 7b32a188..9653fd95 100644 --- a/docs/classjng_1_1_key_event.html +++ b/docs/classjng_1_1_key_event.html @@ -200,7 +200,7 @@

diff --git a/docs/classjng_1_1_key_press_event-members.html b/docs/classjng_1_1_key_press_event-members.html index 9635ca1a..69d84660 100644 --- a/docs/classjng_1_1_key_press_event-members.html +++ b/docs/classjng_1_1_key_press_event-members.html @@ -87,7 +87,7 @@ diff --git a/docs/classjng_1_1_key_press_event.html b/docs/classjng_1_1_key_press_event.html index d287b4e2..842b28ed 100644 --- a/docs/classjng_1_1_key_press_event.html +++ b/docs/classjng_1_1_key_press_event.html @@ -188,7 +188,7 @@

diff --git a/docs/classjng_1_1_key_release_event-members.html b/docs/classjng_1_1_key_release_event-members.html index c5999bd8..676708ed 100644 --- a/docs/classjng_1_1_key_release_event-members.html +++ b/docs/classjng_1_1_key_release_event-members.html @@ -86,7 +86,7 @@ diff --git a/docs/classjng_1_1_key_release_event.html b/docs/classjng_1_1_key_release_event.html index 88d6786d..98907cdc 100644 --- a/docs/classjng_1_1_key_release_event.html +++ b/docs/classjng_1_1_key_release_event.html @@ -150,7 +150,7 @@

diff --git a/docs/classjng_1_1_layer-members.html b/docs/classjng_1_1_layer-members.html index 04ef197e..f46b4cad 100644 --- a/docs/classjng_1_1_layer-members.html +++ b/docs/classjng_1_1_layer-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_layer.html b/docs/classjng_1_1_layer.html index 5eafe908..caa2f89f 100644 --- a/docs/classjng_1_1_layer.html +++ b/docs/classjng_1_1_layer.html @@ -278,7 +278,7 @@

diff --git a/docs/classjng_1_1_layer_stack-members.html b/docs/classjng_1_1_layer_stack-members.html index 6a689b4a..40120cc9 100644 --- a/docs/classjng_1_1_layer_stack-members.html +++ b/docs/classjng_1_1_layer_stack-members.html @@ -93,7 +93,7 @@ diff --git a/docs/classjng_1_1_layer_stack.html b/docs/classjng_1_1_layer_stack.html index a6bdd31e..49a5e8c0 100644 --- a/docs/classjng_1_1_layer_stack.html +++ b/docs/classjng_1_1_layer_stack.html @@ -474,7 +474,7 @@

diff --git a/docs/classjng_1_1_mouse_button_event-members.html b/docs/classjng_1_1_mouse_button_event-members.html index 11c842ed..840a5a39 100644 --- a/docs/classjng_1_1_mouse_button_event-members.html +++ b/docs/classjng_1_1_mouse_button_event-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_mouse_button_event.html b/docs/classjng_1_1_mouse_button_event.html index 98e13a35..20fb68ad 100644 --- a/docs/classjng_1_1_mouse_button_event.html +++ b/docs/classjng_1_1_mouse_button_event.html @@ -200,7 +200,7 @@

diff --git a/docs/classjng_1_1_mouse_button_press_event-members.html b/docs/classjng_1_1_mouse_button_press_event-members.html index a14a5d48..eae18c4e 100644 --- a/docs/classjng_1_1_mouse_button_press_event-members.html +++ b/docs/classjng_1_1_mouse_button_press_event-members.html @@ -86,7 +86,7 @@ diff --git a/docs/classjng_1_1_mouse_button_press_event.html b/docs/classjng_1_1_mouse_button_press_event.html index 5ab8b158..76dd5ced 100644 --- a/docs/classjng_1_1_mouse_button_press_event.html +++ b/docs/classjng_1_1_mouse_button_press_event.html @@ -150,7 +150,7 @@

diff --git a/docs/classjng_1_1_mouse_button_release_event-members.html b/docs/classjng_1_1_mouse_button_release_event-members.html index 99234e21..5dd84b74 100644 --- a/docs/classjng_1_1_mouse_button_release_event-members.html +++ b/docs/classjng_1_1_mouse_button_release_event-members.html @@ -86,7 +86,7 @@ diff --git a/docs/classjng_1_1_mouse_button_release_event.html b/docs/classjng_1_1_mouse_button_release_event.html index 8d176827..5bf710e3 100644 --- a/docs/classjng_1_1_mouse_button_release_event.html +++ b/docs/classjng_1_1_mouse_button_release_event.html @@ -150,7 +150,7 @@

diff --git a/docs/classjng_1_1_mouse_move_event-members.html b/docs/classjng_1_1_mouse_move_event-members.html index 9e22782e..1eedef8a 100644 --- a/docs/classjng_1_1_mouse_move_event-members.html +++ b/docs/classjng_1_1_mouse_move_event-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_mouse_move_event.html b/docs/classjng_1_1_mouse_move_event.html index 1259799f..6326b529 100644 --- a/docs/classjng_1_1_mouse_move_event.html +++ b/docs/classjng_1_1_mouse_move_event.html @@ -205,7 +205,7 @@

diff --git a/docs/classjng_1_1_mouse_scroll_event-members.html b/docs/classjng_1_1_mouse_scroll_event-members.html index e00cd796..8a98ba10 100644 --- a/docs/classjng_1_1_mouse_scroll_event-members.html +++ b/docs/classjng_1_1_mouse_scroll_event-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_mouse_scroll_event.html b/docs/classjng_1_1_mouse_scroll_event.html index 6b8bfc2c..436b4686 100644 --- a/docs/classjng_1_1_mouse_scroll_event.html +++ b/docs/classjng_1_1_mouse_scroll_event.html @@ -205,7 +205,7 @@

diff --git a/docs/classjng_1_1_native_script-members.html b/docs/classjng_1_1_native_script-members.html index d0c9607a..7facd0c7 100644 --- a/docs/classjng_1_1_native_script-members.html +++ b/docs/classjng_1_1_native_script-members.html @@ -73,16 +73,20 @@

This is the complete list of members for jng::NativeScript, including all inherited members.

+ + - + + +
createEntity(const std::string &name)jng::NativeScriptinlineprotected
destroyEntity(Entity entity)jng::NativeScriptinlineprotected
getComponent()jng::NativeScriptinlineprotected
NativeScript()=defaultjng::NativeScriptexplicit
onCreate()jng::NativeScriptinlinevirtual
onDestroy()jng::NativeScriptinlinevirtual
onUpdate(float)jng::NativeScriptinlinevirtual
onEvent(Event &)jng::NativeScriptinlinevirtual
onUpdate(float)jng::NativeScriptinlinevirtual
Scenejng::NativeScriptfriend
~NativeScript()=defaultjng::NativeScriptvirtual
diff --git a/docs/classjng_1_1_native_script.html b/docs/classjng_1_1_native_script.html index ef6863f2..c5a6700e 100644 --- a/docs/classjng_1_1_native_script.html +++ b/docs/classjng_1_1_native_script.html @@ -70,6 +70,7 @@
jng::NativeScript Class Reference
@@ -89,12 +90,23 @@   virtual void onUpdate (float)   +virtual void onEvent (Event &) +  + + + + +

Protected Member Functions

template<typename T >
T & getComponent ()
 
Entity createEntity (const std::string &name)
 
void destroyEntity (Entity entity)
 
+ + +

+Friends

class Scene
 

Constructor & Destructor Documentation

@@ -148,6 +160,58 @@

Member Function Documentation

+ +

◆ createEntity()

+ +
+
+ + + + + +
+ + + + + + + + +
Entity jng::NativeScript::createEntity (const std::string & name)
+
+inlineprotected
+
+ +
+
+ +

◆ destroyEntity()

+ +
+
+ + + + + +
+ + + + + + + + +
void jng::NativeScript::destroyEntity (Entity entity)
+
+inlineprotected
+
+ +
+

◆ getComponent()

@@ -223,6 +287,32 @@

+ + + +

◆ onEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void jng::NativeScript::onEvent (Event)
+
+inlinevirtual
+
+
@@ -249,6 +339,29 @@

+ + +

Friends And Related Function Documentation

+
+

◆ Scene

+ +
+
+ + + + + +
+ + + + +
friend class Scene
+
+friend
+
+

The documentation for this class was generated from the following file:
    @@ -257,7 +370,7 @@

    diff --git a/docs/classjng_1_1_non_copyable-members.html b/docs/classjng_1_1_non_copyable-members.html new file mode 100644 index 00000000..8d15a945 --- /dev/null +++ b/docs/classjng_1_1_non_copyable-members.html @@ -0,0 +1,84 @@ + + + + + + + +Just™ Game Engine: Member List + + + + + + + + + + +
    +
    + + + + + + +
    +
    Just™ Game Engine +
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    jng::NonCopyable Member List
    +
    +
    + +

    This is the complete list of members for jng::NonCopyable, including all inherited members.

    + + + +
    NonCopyable()=defaultjng::NonCopyableprotected
    ~NonCopyable()=defaultjng::NonCopyableprotected
    + + + + diff --git a/docs/classjng_1_1_non_copyable.html b/docs/classjng_1_1_non_copyable.html new file mode 100644 index 00000000..230d7b30 --- /dev/null +++ b/docs/classjng_1_1_non_copyable.html @@ -0,0 +1,156 @@ + + + + + + + +Just™ Game Engine: jng::NonCopyable Class Reference + + + + + + + + + + +
    +
    + + + + + + +
    +
    Just™ Game Engine +
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    jng::NonCopyable Class Reference
    +
    +
    + +

    #include <base.hpp>

    +
    +Inheritance diagram for jng::NonCopyable:
    +
    +
    + + +jng::Renderer +jng::Renderer2D + +
    + + + + + + +

    +Protected Member Functions

     NonCopyable ()=default
     
     ~NonCopyable ()=default
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ NonCopyable()

    + +
    +
    + + + + + +
    + + + + + + + +
    jng::NonCopyable::NonCopyable ()
    +
    +protecteddefault
    +
    + +
    +
    + +

    ◆ ~NonCopyable()

    + +
    +
    + + + + + +
    + + + + + + + +
    jng::NonCopyable::~NonCopyable ()
    +
    +protecteddefault
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    + + + + diff --git a/docs/classjng_1_1_non_copyable.png b/docs/classjng_1_1_non_copyable.png new file mode 100644 index 00000000..613495e1 Binary files /dev/null and b/docs/classjng_1_1_non_copyable.png differ diff --git a/docs/classjng_1_1_open_g_l_framebuffer-members.html b/docs/classjng_1_1_open_g_l_framebuffer-members.html index f699f378..ca39da27 100644 --- a/docs/classjng_1_1_open_g_l_framebuffer-members.html +++ b/docs/classjng_1_1_open_g_l_framebuffer-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_open_g_l_framebuffer.html b/docs/classjng_1_1_open_g_l_framebuffer.html index 8a1f8b69..dd636932 100644 --- a/docs/classjng_1_1_open_g_l_framebuffer.html +++ b/docs/classjng_1_1_open_g_l_framebuffer.html @@ -327,7 +327,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_graphics_context-members.html b/docs/classjng_1_1_open_g_l_graphics_context-members.html index 9cc8a1ee..081710d5 100644 --- a/docs/classjng_1_1_open_g_l_graphics_context-members.html +++ b/docs/classjng_1_1_open_g_l_graphics_context-members.html @@ -82,7 +82,7 @@ diff --git a/docs/classjng_1_1_open_g_l_graphics_context.html b/docs/classjng_1_1_open_g_l_graphics_context.html index bb4adacc..4dc7a502 100644 --- a/docs/classjng_1_1_open_g_l_graphics_context.html +++ b/docs/classjng_1_1_open_g_l_graphics_context.html @@ -217,7 +217,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_index_buffer-members.html b/docs/classjng_1_1_open_g_l_index_buffer-members.html index 25a40c90..1be2e669 100644 --- a/docs/classjng_1_1_open_g_l_index_buffer-members.html +++ b/docs/classjng_1_1_open_g_l_index_buffer-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_open_g_l_index_buffer.html b/docs/classjng_1_1_open_g_l_index_buffer.html index 74967893..002756df 100644 --- a/docs/classjng_1_1_open_g_l_index_buffer.html +++ b/docs/classjng_1_1_open_g_l_index_buffer.html @@ -256,7 +256,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_renderer_a_p_i-members.html b/docs/classjng_1_1_open_g_l_renderer_a_p_i-members.html index 394ffb63..f7f3bbec 100644 --- a/docs/classjng_1_1_open_g_l_renderer_a_p_i-members.html +++ b/docs/classjng_1_1_open_g_l_renderer_a_p_i-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_open_g_l_renderer_a_p_i.html b/docs/classjng_1_1_open_g_l_renderer_a_p_i.html index bb6d45c2..258b011a 100644 --- a/docs/classjng_1_1_open_g_l_renderer_a_p_i.html +++ b/docs/classjng_1_1_open_g_l_renderer_a_p_i.html @@ -309,7 +309,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_shader-members.html b/docs/classjng_1_1_open_g_l_shader-members.html index a358edae..2aa6ee77 100644 --- a/docs/classjng_1_1_open_g_l_shader-members.html +++ b/docs/classjng_1_1_open_g_l_shader-members.html @@ -88,7 +88,7 @@ diff --git a/docs/classjng_1_1_open_g_l_shader.html b/docs/classjng_1_1_open_g_l_shader.html index 1cfc3f7f..97431926 100644 --- a/docs/classjng_1_1_open_g_l_shader.html +++ b/docs/classjng_1_1_open_g_l_shader.html @@ -279,7 +279,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_texture-members.html b/docs/classjng_1_1_open_g_l_texture-members.html index 0e6cf95c..bbf6f0e9 100644 --- a/docs/classjng_1_1_open_g_l_texture-members.html +++ b/docs/classjng_1_1_open_g_l_texture-members.html @@ -88,7 +88,7 @@ diff --git a/docs/classjng_1_1_open_g_l_texture.html b/docs/classjng_1_1_open_g_l_texture.html index ea400de9..c7f992f7 100644 --- a/docs/classjng_1_1_open_g_l_texture.html +++ b/docs/classjng_1_1_open_g_l_texture.html @@ -392,7 +392,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_uniform_buffer-members.html b/docs/classjng_1_1_open_g_l_uniform_buffer-members.html index 432ff872..436eb0b8 100644 --- a/docs/classjng_1_1_open_g_l_uniform_buffer-members.html +++ b/docs/classjng_1_1_open_g_l_uniform_buffer-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_open_g_l_uniform_buffer.html b/docs/classjng_1_1_open_g_l_uniform_buffer.html index 8dbdc4c5..c881e73b 100644 --- a/docs/classjng_1_1_open_g_l_uniform_buffer.html +++ b/docs/classjng_1_1_open_g_l_uniform_buffer.html @@ -273,7 +273,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_vertex_array-members.html b/docs/classjng_1_1_open_g_l_vertex_array-members.html index e189e684..94d9f45d 100644 --- a/docs/classjng_1_1_open_g_l_vertex_array-members.html +++ b/docs/classjng_1_1_open_g_l_vertex_array-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_open_g_l_vertex_array.html b/docs/classjng_1_1_open_g_l_vertex_array.html index cc901cd3..45d9d3d1 100644 --- a/docs/classjng_1_1_open_g_l_vertex_array.html +++ b/docs/classjng_1_1_open_g_l_vertex_array.html @@ -325,7 +325,7 @@

    diff --git a/docs/classjng_1_1_open_g_l_vertex_buffer-members.html b/docs/classjng_1_1_open_g_l_vertex_buffer-members.html index 972a183c..997174f3 100644 --- a/docs/classjng_1_1_open_g_l_vertex_buffer-members.html +++ b/docs/classjng_1_1_open_g_l_vertex_buffer-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_open_g_l_vertex_buffer.html b/docs/classjng_1_1_open_g_l_vertex_buffer.html index 524f2847..f9c24100 100644 --- a/docs/classjng_1_1_open_g_l_vertex_buffer.html +++ b/docs/classjng_1_1_open_g_l_vertex_buffer.html @@ -297,7 +297,7 @@

    diff --git a/docs/classjng_1_1_renderer-members.html b/docs/classjng_1_1_renderer-members.html index 47eca5ed..b8bee157 100644 --- a/docs/classjng_1_1_renderer-members.html +++ b/docs/classjng_1_1_renderer-members.html @@ -74,11 +74,13 @@

    This is the complete list of members for jng::Renderer, including all inherited members.

    - + + +
    init()jng::Rendererstatic
    shutdown()jng::Rendererstatic
    NonCopyable()=defaultjng::NonCopyableprotected
    shutdown()jng::Rendererstatic
    ~NonCopyable()=defaultjng::NonCopyableprotected
    diff --git a/docs/classjng_1_1_renderer.html b/docs/classjng_1_1_renderer.html index 726b758f..88017403 100644 --- a/docs/classjng_1_1_renderer.html +++ b/docs/classjng_1_1_renderer.html @@ -79,8 +79,11 @@ Inheritance diagram for jng::Renderer:
    - -
    + + +jng::NonCopyable + + @@ -88,6 +91,14 @@ +

    Static Public Member Functions

     
    static void shutdown ()
     
    + + + + + +

    +Additional Inherited Members

    - Protected Member Functions inherited from jng::NonCopyable
     NonCopyable ()=default
     
     ~NonCopyable ()=default
     

    Member Function Documentation

    @@ -147,7 +158,7 @@

    diff --git a/docs/classjng_1_1_renderer.png b/docs/classjng_1_1_renderer.png index 0cb8a277..5362043d 100644 Binary files a/docs/classjng_1_1_renderer.png and b/docs/classjng_1_1_renderer.png differ diff --git a/docs/classjng_1_1_renderer2_d-members.html b/docs/classjng_1_1_renderer2_d-members.html index 4484fd0d..ef074f0b 100644 --- a/docs/classjng_1_1_renderer2_d-members.html +++ b/docs/classjng_1_1_renderer2_d-members.html @@ -82,11 +82,13 @@ fillQuad(glm::mat4 transform, const Ref< Texture > &texture, const glm::vec4 &color={ 1.f, 1.f, 1.f, 1.f })jng::Renderer2Dstatic getStatistics()jng::Renderer2Dstatic init()jng::Renderer2Dstatic - shutdown()jng::Renderer2Dstatic + NonCopyable()=defaultjng::NonCopyableprotected + shutdown()jng::Renderer2Dstatic + ~NonCopyable()=defaultjng::NonCopyableprotected diff --git a/docs/classjng_1_1_renderer2_d.html b/docs/classjng_1_1_renderer2_d.html index 63b5da72..6c44d54a 100644 --- a/docs/classjng_1_1_renderer2_d.html +++ b/docs/classjng_1_1_renderer2_d.html @@ -80,8 +80,11 @@ Inheritance diagram for jng::Renderer2D:
    - -
    + + +jng::NonCopyable + + @@ -112,6 +115,14 @@ +

    Classes

     
    static const StatisticsgetStatistics ()
     
    + + + + + +

    +Additional Inherited Members

    - Protected Member Functions inherited from jng::NonCopyable
     NonCopyable ()=default
     
     ~NonCopyable ()=default
     

    Member Function Documentation

    @@ -441,7 +452,7 @@

    diff --git a/docs/classjng_1_1_renderer2_d.png b/docs/classjng_1_1_renderer2_d.png index d309848f..7874098c 100644 Binary files a/docs/classjng_1_1_renderer2_d.png and b/docs/classjng_1_1_renderer2_d.png differ diff --git a/docs/classjng_1_1_renderer_a_p_i-members.html b/docs/classjng_1_1_renderer_a_p_i-members.html index cb2c913c..a768f888 100644 --- a/docs/classjng_1_1_renderer_a_p_i-members.html +++ b/docs/classjng_1_1_renderer_a_p_i-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_renderer_a_p_i.html b/docs/classjng_1_1_renderer_a_p_i.html index 2b9cf628..72ec57f9 100644 --- a/docs/classjng_1_1_renderer_a_p_i.html +++ b/docs/classjng_1_1_renderer_a_p_i.html @@ -310,7 +310,7 @@

    diff --git a/docs/classjng_1_1_scene-members.html b/docs/classjng_1_1_scene-members.html index c90fb6db..895b5d75 100644 --- a/docs/classjng_1_1_scene-members.html +++ b/docs/classjng_1_1_scene-members.html @@ -78,13 +78,16 @@ each(Func func)jng::Scene Entityjng::Scenefriend getActiveCamera()jng::Scene - onUpdate()jng::Scene - Scene()=defaultjng::Scene - SceneSerializerjng::Scenefriend + onCreate()jng::Scene + onDestroy()jng::Scene + onEvent(Event &event)jng::Scene + onUpdate(float dt)jng::Scene + Scene()=defaultjng::Scene + SceneSerializerjng::Scenefriend diff --git a/docs/classjng_1_1_scene.html b/docs/classjng_1_1_scene.html index 2072d6e9..b3f87381 100644 --- a/docs/classjng_1_1_scene.html +++ b/docs/classjng_1_1_scene.html @@ -87,8 +87,14 @@   CameragetActiveCamera ()   -void onUpdate () -  +void onCreate () +  +void onDestroy () +  +void onUpdate (float dt) +  +void onEvent (Event &event) +  template<typename Func > void each (Func func)   @@ -200,14 +206,14 @@

    -

    ◆ onUpdate()

    + +

    ◆ onCreate()

    - + @@ -215,6 +221,59 @@

    + + + +

    ◆ onDestroy()

    + +
    +
    +

    void jng::Scene::onUpdate void jng::Scene::onCreate ( )
    + + + + + + +
    void jng::Scene::onDestroy ()
    +
    + +
    +
    + +

    ◆ onEvent()

    + +
    +
    + + + + + + + + +
    void jng::Scene::onEvent (Eventevent)
    +
    + +
    +
    + +

    ◆ onUpdate()

    + +
    +
    + + + + + + + + +
    void jng::Scene::onUpdate (float dt)
    +
    +

    Friends And Related Function Documentation

    @@ -269,7 +328,7 @@

    diff --git a/docs/classjng_1_1_scene_serializer-members.html b/docs/classjng_1_1_scene_serializer-members.html index db5bffdd..41e524e2 100644 --- a/docs/classjng_1_1_scene_serializer-members.html +++ b/docs/classjng_1_1_scene_serializer-members.html @@ -79,7 +79,7 @@ diff --git a/docs/classjng_1_1_scene_serializer.html b/docs/classjng_1_1_scene_serializer.html index 583aa4ed..f9022f47 100644 --- a/docs/classjng_1_1_scene_serializer.html +++ b/docs/classjng_1_1_scene_serializer.html @@ -156,7 +156,7 @@

    diff --git a/docs/classjng_1_1_shader-members.html b/docs/classjng_1_1_shader-members.html index bf8f87b7..7baea9e2 100644 --- a/docs/classjng_1_1_shader-members.html +++ b/docs/classjng_1_1_shader-members.html @@ -86,7 +86,7 @@ diff --git a/docs/classjng_1_1_shader.html b/docs/classjng_1_1_shader.html index 8896e0be..848f96db 100644 --- a/docs/classjng_1_1_shader.html +++ b/docs/classjng_1_1_shader.html @@ -423,7 +423,7 @@

    diff --git a/docs/classjng_1_1_texture-members.html b/docs/classjng_1_1_texture-members.html index e42ca629..ee205e45 100644 --- a/docs/classjng_1_1_texture-members.html +++ b/docs/classjng_1_1_texture-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_texture.html b/docs/classjng_1_1_texture.html index 47d1b516..f05ba424 100644 --- a/docs/classjng_1_1_texture.html +++ b/docs/classjng_1_1_texture.html @@ -383,7 +383,7 @@

    diff --git a/docs/classjng_1_1_uniform_buffer-members.html b/docs/classjng_1_1_uniform_buffer-members.html index 3c1dcba6..cfaea1cf 100644 --- a/docs/classjng_1_1_uniform_buffer-members.html +++ b/docs/classjng_1_1_uniform_buffer-members.html @@ -81,7 +81,7 @@ diff --git a/docs/classjng_1_1_uniform_buffer.html b/docs/classjng_1_1_uniform_buffer.html index a1b499af..0ef97a88 100644 --- a/docs/classjng_1_1_uniform_buffer.html +++ b/docs/classjng_1_1_uniform_buffer.html @@ -263,7 +263,7 @@

    diff --git a/docs/classjng_1_1_vertex_array-members.html b/docs/classjng_1_1_vertex_array-members.html index 685dd20a..a7d8e7c0 100644 --- a/docs/classjng_1_1_vertex_array-members.html +++ b/docs/classjng_1_1_vertex_array-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_vertex_array.html b/docs/classjng_1_1_vertex_array.html index 52be60cc..b4c53ffc 100644 --- a/docs/classjng_1_1_vertex_array.html +++ b/docs/classjng_1_1_vertex_array.html @@ -319,7 +319,7 @@

    diff --git a/docs/classjng_1_1_vertex_buffer-members.html b/docs/classjng_1_1_vertex_buffer-members.html index 908b0f99..97e83ec3 100644 --- a/docs/classjng_1_1_vertex_buffer-members.html +++ b/docs/classjng_1_1_vertex_buffer-members.html @@ -82,7 +82,7 @@ diff --git a/docs/classjng_1_1_vertex_buffer.html b/docs/classjng_1_1_vertex_buffer.html index bba4d302..9c68c565 100644 --- a/docs/classjng_1_1_vertex_buffer.html +++ b/docs/classjng_1_1_vertex_buffer.html @@ -293,7 +293,7 @@

    diff --git a/docs/classjng_1_1_vertex_layout-members.html b/docs/classjng_1_1_vertex_layout-members.html index 5b67b7cd..c732c9f8 100644 --- a/docs/classjng_1_1_vertex_layout-members.html +++ b/docs/classjng_1_1_vertex_layout-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_vertex_layout.html b/docs/classjng_1_1_vertex_layout.html index 8ebc69dd..fc3c18e5 100644 --- a/docs/classjng_1_1_vertex_layout.html +++ b/docs/classjng_1_1_vertex_layout.html @@ -300,7 +300,7 @@

    diff --git a/docs/classjng_1_1_vulkan_graphics_context-members.html b/docs/classjng_1_1_vulkan_graphics_context-members.html index cd63db51..2beabb97 100644 --- a/docs/classjng_1_1_vulkan_graphics_context-members.html +++ b/docs/classjng_1_1_vulkan_graphics_context-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_vulkan_graphics_context.html b/docs/classjng_1_1_vulkan_graphics_context.html index f51e4ba3..4ae3f02a 100644 --- a/docs/classjng_1_1_vulkan_graphics_context.html +++ b/docs/classjng_1_1_vulkan_graphics_context.html @@ -197,7 +197,7 @@

    diff --git a/docs/classjng_1_1_vulkan_index_buffer-members.html b/docs/classjng_1_1_vulkan_index_buffer-members.html index d5d399c9..259c56c4 100644 --- a/docs/classjng_1_1_vulkan_index_buffer-members.html +++ b/docs/classjng_1_1_vulkan_index_buffer-members.html @@ -81,7 +81,7 @@ diff --git a/docs/classjng_1_1_vulkan_index_buffer.html b/docs/classjng_1_1_vulkan_index_buffer.html index 7c967213..ba138ac4 100644 --- a/docs/classjng_1_1_vulkan_index_buffer.html +++ b/docs/classjng_1_1_vulkan_index_buffer.html @@ -202,7 +202,7 @@

    diff --git a/docs/classjng_1_1_vulkan_renderer_a_p_i-members.html b/docs/classjng_1_1_vulkan_renderer_a_p_i-members.html index 1253b17b..ca19d01c 100644 --- a/docs/classjng_1_1_vulkan_renderer_a_p_i-members.html +++ b/docs/classjng_1_1_vulkan_renderer_a_p_i-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_vulkan_renderer_a_p_i.html b/docs/classjng_1_1_vulkan_renderer_a_p_i.html index fc03f982..7f2a6d50 100644 --- a/docs/classjng_1_1_vulkan_renderer_a_p_i.html +++ b/docs/classjng_1_1_vulkan_renderer_a_p_i.html @@ -309,7 +309,7 @@

    diff --git a/docs/classjng_1_1_vulkan_shader-members.html b/docs/classjng_1_1_vulkan_shader-members.html index 9a718abb..2c55aec0 100644 --- a/docs/classjng_1_1_vulkan_shader-members.html +++ b/docs/classjng_1_1_vulkan_shader-members.html @@ -88,7 +88,7 @@ diff --git a/docs/classjng_1_1_vulkan_shader.html b/docs/classjng_1_1_vulkan_shader.html index 56fe60a2..fb545246 100644 --- a/docs/classjng_1_1_vulkan_shader.html +++ b/docs/classjng_1_1_vulkan_shader.html @@ -271,7 +271,7 @@

    diff --git a/docs/classjng_1_1_vulkan_texture-members.html b/docs/classjng_1_1_vulkan_texture-members.html index 48d687cb..36159ae2 100644 --- a/docs/classjng_1_1_vulkan_texture-members.html +++ b/docs/classjng_1_1_vulkan_texture-members.html @@ -88,7 +88,7 @@ diff --git a/docs/classjng_1_1_vulkan_texture.html b/docs/classjng_1_1_vulkan_texture.html index 3d10ffad..eecafe31 100644 --- a/docs/classjng_1_1_vulkan_texture.html +++ b/docs/classjng_1_1_vulkan_texture.html @@ -376,7 +376,7 @@

    diff --git a/docs/classjng_1_1_vulkan_vertex_array-members.html b/docs/classjng_1_1_vulkan_vertex_array-members.html index b6bd6d8e..1c668bd8 100644 --- a/docs/classjng_1_1_vulkan_vertex_array-members.html +++ b/docs/classjng_1_1_vulkan_vertex_array-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_vulkan_vertex_array.html b/docs/classjng_1_1_vulkan_vertex_array.html index aca4b37b..492dbd7c 100644 --- a/docs/classjng_1_1_vulkan_vertex_array.html +++ b/docs/classjng_1_1_vulkan_vertex_array.html @@ -255,7 +255,7 @@

    diff --git a/docs/classjng_1_1_vulkan_vertex_buffer-members.html b/docs/classjng_1_1_vulkan_vertex_buffer-members.html index f53f9967..f1f71f96 100644 --- a/docs/classjng_1_1_vulkan_vertex_buffer-members.html +++ b/docs/classjng_1_1_vulkan_vertex_buffer-members.html @@ -82,7 +82,7 @@ diff --git a/docs/classjng_1_1_vulkan_vertex_buffer.html b/docs/classjng_1_1_vulkan_vertex_buffer.html index 12b8a2a2..9d57c2a3 100644 --- a/docs/classjng_1_1_vulkan_vertex_buffer.html +++ b/docs/classjng_1_1_vulkan_vertex_buffer.html @@ -225,7 +225,7 @@

    diff --git a/docs/classjng_1_1_window-members.html b/docs/classjng_1_1_window-members.html index a90df8f1..b4d950dd 100644 --- a/docs/classjng_1_1_window-members.html +++ b/docs/classjng_1_1_window-members.html @@ -89,7 +89,7 @@ diff --git a/docs/classjng_1_1_window.html b/docs/classjng_1_1_window.html index 199db53d..a83a703c 100644 --- a/docs/classjng_1_1_window.html +++ b/docs/classjng_1_1_window.html @@ -447,7 +447,7 @@

    diff --git a/docs/classjng_1_1_window_close_event-members.html b/docs/classjng_1_1_window_close_event-members.html index 235d3bad..c7a4f3ec 100644 --- a/docs/classjng_1_1_window_close_event-members.html +++ b/docs/classjng_1_1_window_close_event-members.html @@ -83,7 +83,7 @@ diff --git a/docs/classjng_1_1_window_close_event.html b/docs/classjng_1_1_window_close_event.html index 96da657d..f8d023cf 100644 --- a/docs/classjng_1_1_window_close_event.html +++ b/docs/classjng_1_1_window_close_event.html @@ -139,7 +139,7 @@

    diff --git a/docs/classjng_1_1_window_resize_event-members.html b/docs/classjng_1_1_window_resize_event-members.html index e3d217b7..85861595 100644 --- a/docs/classjng_1_1_window_resize_event-members.html +++ b/docs/classjng_1_1_window_resize_event-members.html @@ -85,7 +85,7 @@ diff --git a/docs/classjng_1_1_window_resize_event.html b/docs/classjng_1_1_window_resize_event.html index f1ee034b..5b4a1fad 100644 --- a/docs/classjng_1_1_window_resize_event.html +++ b/docs/classjng_1_1_window_resize_event.html @@ -205,7 +205,7 @@

    diff --git a/docs/components_8hpp.html b/docs/components_8hpp.html index 412a3928..15ef3ec3 100644 --- a/docs/components_8hpp.html +++ b/docs/components_8hpp.html @@ -73,9 +73,10 @@
    components.hpp File Reference
    -
    #include "jng/renderer/camera.hpp"
    +
    #include "jng/scene/camera.hpp"
    #include <glm/glm.hpp>
    #include <glm/gtc/matrix_transform.hpp>
    +#include <string>
    #include <type_traits>

    Go to the source code of this file.

    @@ -101,7 +102,7 @@
    diff --git a/docs/components_8hpp_source.html b/docs/components_8hpp_source.html index 121d685e..b50b2a09 100644 --- a/docs/components_8hpp_source.html +++ b/docs/components_8hpp_source.html @@ -77,114 +77,115 @@
    5 */
    6
    7#pragma once
    - +
    9
    10#include <glm/glm.hpp>
    11#include <glm/gtc/matrix_transform.hpp>
    -
    12#include <type_traits>
    -
    13
    -
    14namespace jng {
    -
    15
    - -
    17 {
    -
    18 TagComponent(const std::string& name) : tag{ name } {};
    -
    19 TagComponent(const TagComponent&) = default;
    -
    20
    -
    21 std::string tag;
    -
    22 };
    -
    23
    - -
    25 {
    -
    26 TransformComponent() = default;
    - -
    28
    -
    29 glm::vec3 translation{ 0.f, 0.f, 0.f };
    -
    30 glm::vec3 rotation{ 0.f, 0.f, 0.f };
    -
    31 glm::vec3 scale{ 1.f, 1.f, 1.f };
    -
    32
    -
    33 glm::mat4 getTransform() const
    -
    34 {
    -
    35 glm::mat4 rotMatrix = glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.x), { 1.f, 0.f, 0.f }) *
    -
    36 glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.y), { 0.f, 1.f, 0.f }) *
    -
    37 glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.z), { 0.f, 0.f, 1.f });
    -
    38
    -
    39 return glm::translate(glm::mat4{ 1.f }, translation) * rotMatrix * glm::scale(glm::mat4{ 1.f }, scale);
    -
    40 }
    -
    41 };
    -
    42
    - -
    44 {
    -
    45 CameraComponent() = default;
    - -
    47
    - -
    49 };
    -
    50
    -
    51 class NativeScript;
    -
    52
    - -
    54 {
    - - -
    57
    - -
    59
    -
    60 NativeScript* (*createScript)() = nullptr;
    -
    61 void (*destroyScript)(NativeScript*&) = nullptr;
    -
    62
    -
    63 template<typename Script>
    -
    64 void bind()
    -
    65 {
    -
    66 static_assert(std::is_base_of_v<NativeScript, Script>);
    -
    67
    -
    68 createScript = []() -> NativeScript* { return new Script{}; };
    -
    69 destroyScript = [](NativeScript*& instance) { delete instance; instance = nullptr; };
    -
    70 }
    -
    71 };
    -
    72
    - -
    74 {
    -
    75 SpriteComponent() = default;
    - -
    77
    -
    78 glm::vec4 color{ 1.f, 1.f, 1.f, 1.f };
    -
    79 };
    -
    80
    -
    81} // namespace jng
    +
    12#include <string>
    +
    13#include <type_traits>
    +
    14
    +
    15namespace jng {
    +
    16
    + +
    18 {
    +
    19 TagComponent(const std::string& name) : tag{ name } {};
    +
    20 TagComponent(const TagComponent&) = default;
    +
    21
    +
    22 std::string tag;
    +
    23 };
    +
    24
    + +
    26 {
    +
    27 TransformComponent() = default;
    + +
    29
    +
    30 glm::vec3 translation{ 0.f, 0.f, 0.f };
    +
    31 glm::vec3 rotation{ 0.f, 0.f, 0.f };
    +
    32 glm::vec3 scale{ 1.f, 1.f, 1.f };
    +
    33
    +
    34 glm::mat4 getTransform() const
    +
    35 {
    +
    36 glm::mat4 rotMatrix = glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.x), { 1.f, 0.f, 0.f }) *
    +
    37 glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.y), { 0.f, 1.f, 0.f }) *
    +
    38 glm::rotate(glm::mat4{ 1.f }, glm::radians(rotation.z), { 0.f, 0.f, 1.f });
    +
    39
    +
    40 return glm::translate(glm::mat4{ 1.f }, translation) * rotMatrix * glm::scale(glm::mat4{ 1.f }, scale);
    +
    41 }
    +
    42 };
    +
    43
    + +
    45 {
    +
    46 CameraComponent() = default;
    + +
    48
    + +
    50 };
    +
    51
    +
    52 class NativeScript;
    +
    53
    + +
    55 {
    + + +
    58
    + +
    60
    +
    61 NativeScript* (*createScript)() = nullptr;
    +
    62 void (*destroyScript)(NativeScript*&) = nullptr;
    +
    63
    +
    64 template<typename Script>
    +
    65 void bind()
    +
    66 {
    +
    67 static_assert(std::is_base_of_v<NativeScript, Script>);
    +
    68
    +
    69 createScript = []() -> NativeScript* { return new Script{}; };
    +
    70 destroyScript = [](NativeScript*& instance) { delete instance; instance = nullptr; };
    +
    71 }
    +
    72 };
    +
    73
    + +
    75 {
    +
    76 SpriteComponent() = default;
    + +
    78
    +
    79 glm::vec4 color{ 1.f, 1.f, 1.f, 1.f };
    +
    80 };
    +
    81
    +
    82} // namespace jng
    Definition: camera.hpp:16
    -
    Definition: native_script.hpp:13
    -
    Definition: base.hpp:17
    -
    Definition: components.hpp:44
    +
    Definition: native_script.hpp:16
    +
    Definition: base.hpp:13
    +
    Definition: components.hpp:45
    CameraComponent(const CameraComponent &)=default
    -
    Camera camera
    Definition: components.hpp:48
    +
    Camera camera
    Definition: components.hpp:49
    CameraComponent()=default
    -
    Definition: components.hpp:54
    -
    void(* destroyScript)(NativeScript *&)
    Definition: components.hpp:61
    +
    Definition: components.hpp:55
    +
    void(* destroyScript)(NativeScript *&)
    Definition: components.hpp:62
    NativeScriptComponent(const NativeScriptComponent &)=default
    -
    void bind()
    Definition: components.hpp:64
    -
    NativeScript *(* createScript)()
    Definition: components.hpp:60
    -
    NativeScript * instance
    Definition: components.hpp:58
    -
    Definition: components.hpp:74
    +
    void bind()
    Definition: components.hpp:65
    +
    NativeScript *(* createScript)()
    Definition: components.hpp:61
    +
    NativeScript * instance
    Definition: components.hpp:59
    +
    Definition: components.hpp:75
    SpriteComponent()=default
    SpriteComponent(const SpriteComponent &)=default
    -
    glm::vec4 color
    Definition: components.hpp:78
    -
    Definition: components.hpp:17
    -
    TagComponent(const std::string &name)
    Definition: components.hpp:18
    +
    glm::vec4 color
    Definition: components.hpp:79
    +
    Definition: components.hpp:18
    +
    TagComponent(const std::string &name)
    Definition: components.hpp:19
    TagComponent(const TagComponent &)=default
    -
    std::string tag
    Definition: components.hpp:21
    -
    Definition: components.hpp:25
    +
    std::string tag
    Definition: components.hpp:22
    +
    Definition: components.hpp:26
    TransformComponent(const TransformComponent &)=default
    -
    glm::vec3 scale
    Definition: components.hpp:31
    -
    glm::vec3 rotation
    Definition: components.hpp:30
    -
    glm::vec3 translation
    Definition: components.hpp:29
    -
    glm::mat4 getTransform() const
    Definition: components.hpp:33
    +
    glm::vec3 scale
    Definition: components.hpp:32
    +
    glm::vec3 rotation
    Definition: components.hpp:31
    +
    glm::vec3 translation
    Definition: components.hpp:30
    +
    glm::mat4 getTransform() const
    Definition: components.hpp:34
    diff --git a/docs/dir_0d27ce74e9bd514c31e1d63efab6b388.html b/docs/dir_0d27ce74e9bd514c31e1d63efab6b388.html index 6e51acb7..1c4bfe6a 100644 --- a/docs/dir_0d27ce74e9bd514c31e1d63efab6b388.html +++ b/docs/dir_0d27ce74e9bd514c31e1d63efab6b388.html @@ -83,7 +83,7 @@ diff --git a/docs/dir_117231bfb7abc767a873f13681d72b90.html b/docs/dir_117231bfb7abc767a873f13681d72b90.html index 399f88f1..45075d26 100644 --- a/docs/dir_117231bfb7abc767a873f13681d72b90.html +++ b/docs/dir_117231bfb7abc767a873f13681d72b90.html @@ -81,7 +81,7 @@ diff --git a/docs/dir_3eb4bdce3b2bc741f2ab9405d91acac8.html b/docs/dir_3eb4bdce3b2bc741f2ab9405d91acac8.html index b73f4c4e..63c23833 100644 --- a/docs/dir_3eb4bdce3b2bc741f2ab9405d91acac8.html +++ b/docs/dir_3eb4bdce3b2bc741f2ab9405d91acac8.html @@ -73,6 +73,8 @@ + + @@ -83,7 +85,7 @@ diff --git a/docs/dir_5917b3f6b4ee439fffd936b0cd813c2e.html b/docs/dir_5917b3f6b4ee439fffd936b0cd813c2e.html index 6292418b..9e51f494 100644 --- a/docs/dir_5917b3f6b4ee439fffd936b0cd813c2e.html +++ b/docs/dir_5917b3f6b4ee439fffd936b0cd813c2e.html @@ -79,7 +79,7 @@ diff --git a/docs/dir_617b3da50917290aa75bd232f8918039.html b/docs/dir_617b3da50917290aa75bd232f8918039.html index bb676a49..45c1e5a1 100644 --- a/docs/dir_617b3da50917290aa75bd232f8918039.html +++ b/docs/dir_617b3da50917290aa75bd232f8918039.html @@ -73,6 +73,8 @@

    Files

    file  camera.hpp [code]
     
    file  components.hpp [code]
     
    file  entity.hpp [code]
    + + @@ -81,7 +83,7 @@ diff --git a/docs/dir_7424199dd9546c3c14cefd9e2bf86a90.html b/docs/dir_7424199dd9546c3c14cefd9e2bf86a90.html index b5d413b2..5756625e 100644 --- a/docs/dir_7424199dd9546c3c14cefd9e2bf86a90.html +++ b/docs/dir_7424199dd9546c3c14cefd9e2bf86a90.html @@ -101,7 +101,7 @@ diff --git a/docs/dir_866988eceb0fa184e0e95ed69804b8c0.html b/docs/dir_866988eceb0fa184e0e95ed69804b8c0.html index b52d2007..b5874dff 100644 --- a/docs/dir_866988eceb0fa184e0e95ed69804b8c0.html +++ b/docs/dir_866988eceb0fa184e0e95ed69804b8c0.html @@ -97,7 +97,7 @@ diff --git a/docs/dir_893b866bc50804b478030e4e1198d8a4.html b/docs/dir_893b866bc50804b478030e4e1198d8a4.html index 55d1e84c..87bb4e2f 100644 --- a/docs/dir_893b866bc50804b478030e4e1198d8a4.html +++ b/docs/dir_893b866bc50804b478030e4e1198d8a4.html @@ -95,7 +95,7 @@ diff --git a/docs/dir_9ed8a5f92337d500778957a1303b65bd.html b/docs/dir_9ed8a5f92337d500778957a1303b65bd.html index 6015f23e..b6be41f1 100644 --- a/docs/dir_9ed8a5f92337d500778957a1303b65bd.html +++ b/docs/dir_9ed8a5f92337d500778957a1303b65bd.html @@ -79,7 +79,7 @@ diff --git a/docs/dir_a23a9c924eedd40a34e592e65fee3caf.html b/docs/dir_a23a9c924eedd40a34e592e65fee3caf.html index 5f701f84..7b5643a7 100644 --- a/docs/dir_a23a9c924eedd40a34e592e65fee3caf.html +++ b/docs/dir_a23a9c924eedd40a34e592e65fee3caf.html @@ -79,7 +79,7 @@ diff --git a/docs/dir_aa91380f1e1a2822ceb8f05d7293835c.html b/docs/dir_aa91380f1e1a2822ceb8f05d7293835c.html index af755a72..fb9c9783 100644 --- a/docs/dir_aa91380f1e1a2822ceb8f05d7293835c.html +++ b/docs/dir_aa91380f1e1a2822ceb8f05d7293835c.html @@ -87,7 +87,7 @@ diff --git a/docs/dir_ac172e1e355a9444c12b42140c6acbfc.html b/docs/dir_ac172e1e355a9444c12b42140c6acbfc.html index c990f5a1..0b2d92b8 100644 --- a/docs/dir_ac172e1e355a9444c12b42140c6acbfc.html +++ b/docs/dir_ac172e1e355a9444c12b42140c6acbfc.html @@ -83,7 +83,7 @@ diff --git a/docs/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html b/docs/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html index fd46213c..2381c21b 100644 --- a/docs/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html +++ b/docs/dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html @@ -91,7 +91,7 @@ diff --git a/docs/dir_bb1c6036e66ba10b9c9a458cc5e85c1e.html b/docs/dir_bb1c6036e66ba10b9c9a458cc5e85c1e.html index beb2f61d..e012665e 100644 --- a/docs/dir_bb1c6036e66ba10b9c9a458cc5e85c1e.html +++ b/docs/dir_bb1c6036e66ba10b9c9a458cc5e85c1e.html @@ -98,7 +98,7 @@ diff --git a/docs/dir_c399e2be583ae92f44f11444a98c8a42.html b/docs/dir_c399e2be583ae92f44f11444a98c8a42.html index a6e4aa10..822b41cd 100644 --- a/docs/dir_c399e2be583ae92f44f11444a98c8a42.html +++ b/docs/dir_c399e2be583ae92f44f11444a98c8a42.html @@ -79,7 +79,7 @@ diff --git a/docs/dir_cfe299f2c045a102dc7069561a29caaa.html b/docs/dir_cfe299f2c045a102dc7069561a29caaa.html index 59106796..2c5fa8ee 100644 --- a/docs/dir_cfe299f2c045a102dc7069561a29caaa.html +++ b/docs/dir_cfe299f2c045a102dc7069561a29caaa.html @@ -84,8 +84,6 @@ Files - - @@ -104,7 +102,7 @@ diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html index 57f32769..a2d52d87 100644 --- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html @@ -79,7 +79,7 @@ diff --git a/docs/dir_ddb4bf95521d4714c2703a26f40a975c.html b/docs/dir_ddb4bf95521d4714c2703a26f40a975c.html index 112470f7..503e2d47 100644 --- a/docs/dir_ddb4bf95521d4714c2703a26f40a975c.html +++ b/docs/dir_ddb4bf95521d4714c2703a26f40a975c.html @@ -101,7 +101,7 @@ diff --git a/docs/dir_de6d8c7c0a3ad275379307ef55e2bf82.html b/docs/dir_de6d8c7c0a3ad275379307ef55e2bf82.html index 6a6cf6c0..65b392f8 100644 --- a/docs/dir_de6d8c7c0a3ad275379307ef55e2bf82.html +++ b/docs/dir_de6d8c7c0a3ad275379307ef55e2bf82.html @@ -75,8 +75,6 @@ Files - - @@ -95,7 +93,7 @@ diff --git a/docs/dir_deecb1fcc82e0608460c467d95c3be6b.html b/docs/dir_deecb1fcc82e0608460c467d95c3be6b.html index 9f1c00b1..4bbc1316 100644 --- a/docs/dir_deecb1fcc82e0608460c467d95c3be6b.html +++ b/docs/dir_deecb1fcc82e0608460c467d95c3be6b.html @@ -98,7 +98,7 @@ diff --git a/docs/dir_e215eaada856d295310513ddb859721c.html b/docs/dir_e215eaada856d295310513ddb859721c.html index 5969fb54..1549c023 100644 --- a/docs/dir_e215eaada856d295310513ddb859721c.html +++ b/docs/dir_e215eaada856d295310513ddb859721c.html @@ -91,7 +91,7 @@ diff --git a/docs/dir_e5a7d8ec70006a4d43988a00ed0ae347.html b/docs/dir_e5a7d8ec70006a4d43988a00ed0ae347.html index ab54f588..23078352 100644 --- a/docs/dir_e5a7d8ec70006a4d43988a00ed0ae347.html +++ b/docs/dir_e5a7d8ec70006a4d43988a00ed0ae347.html @@ -81,7 +81,7 @@ diff --git a/docs/engine_8cpp.html b/docs/engine_8cpp.html index ebbaf384..378f326b 100644 --- a/docs/engine_8cpp.html +++ b/docs/engine_8cpp.html @@ -98,7 +98,7 @@ diff --git a/docs/engine_8hpp.html b/docs/engine_8hpp.html index c0a5ea88..66883b45 100644 --- a/docs/engine_8hpp.html +++ b/docs/engine_8hpp.html @@ -82,6 +82,7 @@ + @@ -94,7 +95,7 @@ diff --git a/docs/engine_8hpp_source.html b/docs/engine_8hpp_source.html index 730a3435..ae8b64f3 100644 --- a/docs/engine_8hpp_source.html +++ b/docs/engine_8hpp_source.html @@ -89,56 +89,56 @@
    17 class WindowResizeEvent;
    18 class Window;
    19
    -
    20 class Engine
    -
    21 {
    -
    22 public:
    -
    23 enum class RendererType { None, Renderer2D, Renderer3D };
    -
    24
    - -
    26 {
    -
    27 const char* windowTitle;
    -
    28 unsigned int windowWidth;
    -
    29 unsigned int windowHeight;
    - -
    31 const char* assetsDirectory = "assets";
    -
    32 };
    -
    33
    -
    34 explicit Engine(const Properties& properties);
    -
    35 virtual ~Engine();
    +
    23 class Engine
    +
    24 {
    +
    25 public:
    +
    26 enum class RendererType { None, Renderer2D, Renderer3D };
    +
    27
    + +
    29 {
    +
    30 const char* windowTitle;
    +
    31 unsigned int windowWidth;
    +
    32 unsigned int windowHeight;
    + +
    34 const char* assetsDirectory = "assets";
    +
    35 };
    36
    -
    37 void run();
    -
    38 void close() { m_isRunning = false; }
    +
    37 explicit Engine(const Properties& properties);
    +
    38 virtual ~Engine();
    39
    -
    40 static Engine& get() { return *s_instance; }
    -
    41 const Properties& getProperties() const { return m_properties; }
    -
    42 Window& getWindow() { return *m_window; }
    -
    43 protected:
    -
    44 LayerStack& getLayerStack() { return m_layerStack; }
    -
    45 private:
    -
    46 void onEvent(Event& event);
    -
    47 bool onWindowClose(WindowCloseEvent& event);
    -
    48 bool onWindowResize(WindowResizeEvent& event);
    -
    49
    -
    50 static Engine* s_instance;
    -
    51 Properties m_properties;
    -
    52 Scope<Window> m_window;
    -
    53 RendererType m_rendererType;
    -
    54 LayerStack m_layerStack;
    -
    55 bool m_isRunning = true;
    -
    56 std::chrono::time_point<std::chrono::steady_clock> m_lastFrameTime;
    -
    57 };
    -
    58
    -
    59} // namespace jng
    +
    40 void run();
    +
    41 void close() { m_isRunning = false; }
    +
    42
    +
    43 static Engine& get() { return *s_instance; }
    +
    44 const Properties& getProperties() const { return m_properties; }
    +
    45 Window& getWindow() { return *m_window; }
    +
    46 protected:
    +
    47 LayerStack& getLayerStack() { return m_layerStack; }
    +
    48 private:
    +
    49 void onEvent(Event& event);
    +
    50 bool onWindowClose(WindowCloseEvent& event);
    +
    51 bool onWindowResize(WindowResizeEvent& event);
    +
    52
    +
    53 static Engine* s_instance;
    +
    54 Properties m_properties;
    +
    55 Scope<Window> m_window;
    +
    56 RendererType m_rendererType;
    +
    57 LayerStack m_layerStack;
    +
    58 bool m_isRunning = true;
    +
    59 std::chrono::time_point<std::chrono::steady_clock> m_lastFrameTime;
    +
    60 };
    +
    61
    +
    62} // namespace jng
    -
    Definition: engine.hpp:21
    +
    Main engine class from which all client applications derive.
    Definition: engine.hpp:24
    Engine(const Properties &properties)
    Definition: engine.cpp:24
    -
    static Engine & get()
    Definition: engine.hpp:40
    -
    const Properties & getProperties() const
    Definition: engine.hpp:41
    -
    Window & getWindow()
    Definition: engine.hpp:42
    +
    static Engine & get()
    Definition: engine.hpp:43
    +
    const Properties & getProperties() const
    Definition: engine.hpp:44
    +
    Window & getWindow()
    Definition: engine.hpp:45
    void run()
    Definition: engine.cpp:67
    -
    void close()
    Definition: engine.hpp:38
    -
    LayerStack & getLayerStack()
    Definition: engine.hpp:44
    -
    RendererType
    Definition: engine.hpp:23
    +
    void close()
    Definition: engine.hpp:41
    +
    LayerStack & getLayerStack()
    Definition: engine.hpp:47
    +
    RendererType
    Definition: engine.hpp:26
    virtual ~Engine()
    Definition: engine.cpp:51
    Definition: event.hpp:25
    Definition: layer_stack.hpp:15
    @@ -147,19 +147,19 @@
    Definition: window.hpp:20
    Definition: window_events.hpp:24
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    -
    std::unique_ptr< T > Scope
    Definition: base.hpp:20
    -
    Definition: engine.hpp:26
    -
    unsigned int windowWidth
    Definition: engine.hpp:28
    -
    RendererType rendererType
    Definition: engine.hpp:30
    -
    unsigned int windowHeight
    Definition: engine.hpp:29
    -
    const char * windowTitle
    Definition: engine.hpp:27
    -
    const char * assetsDirectory
    Definition: engine.hpp:31
    +
    std::unique_ptr< T > Scope
    Definition: base.hpp:26
    +
    Definition: engine.hpp:29
    +
    unsigned int windowWidth
    Definition: engine.hpp:31
    +
    RendererType rendererType
    Definition: engine.hpp:33
    +
    unsigned int windowHeight
    Definition: engine.hpp:32
    +
    const char * windowTitle
    Definition: engine.hpp:30
    +
    const char * assetsDirectory
    Definition: engine.hpp:34
    diff --git a/docs/entity_8cpp.html b/docs/entity_8cpp.html index 83434c50..d9444553 100644 --- a/docs/entity_8cpp.html +++ b/docs/entity_8cpp.html @@ -82,7 +82,7 @@ diff --git a/docs/entity_8hpp.html b/docs/entity_8hpp.html index fa66e771..077bc05c 100644 --- a/docs/entity_8hpp.html +++ b/docs/entity_8hpp.html @@ -91,7 +91,7 @@ diff --git a/docs/entity_8hpp_source.html b/docs/entity_8hpp_source.html index f09a97b0..bccb8976 100644 --- a/docs/entity_8hpp_source.html +++ b/docs/entity_8hpp_source.html @@ -102,60 +102,63 @@
    30 template<typename Component>
    31 Component& getComponent();
    32
    -
    33 bool operator==(const Entity& other) const { return m_handle == other.m_handle; }
    -
    34 bool operator!=(const Entity& other) const { return m_handle != other.m_handle; }
    -
    35 operator bool() { return m_handle != entt::null; }
    -
    36 operator void*() { return reinterpret_cast<void*>(m_handle); }
    -
    37 private:
    -
    38 Entity(entt::entity handle, Scene& scene);
    -
    39
    -
    40 entt::entity m_handle{ entt::null };
    -
    41 Scene* m_sceneRef{ nullptr };
    -
    42
    -
    43 friend class Scene;
    -
    44 };
    -
    45
    -
    46 template<typename Component, typename ...Args>
    -
    47 Component& Entity::addComponent(Args&& ...args)
    -
    48 {
    -
    49 return m_sceneRef->m_registry.emplace<Component>(m_handle, std::forward<Args>(args)...);
    -
    50 }
    -
    51
    -
    52 template<typename Component>
    - -
    54 {
    -
    55 m_sceneRef->m_registry.remove<Component>(m_handle);
    -
    56 }
    -
    57
    -
    58 template<typename Component>
    - -
    60 {
    -
    61 return m_sceneRef->m_registry.all_of<Component>(m_handle);
    -
    62 }
    -
    63
    -
    64 template<typename Component>
    - -
    66 {
    -
    67 return m_sceneRef->m_registry.get<Component>(m_handle);
    -
    68 }
    -
    69
    -
    70} // namespace jng
    +
    33 Scene* getScene() { return m_sceneRef; }
    +
    34
    +
    35 bool operator==(const Entity& other) const { return m_handle == other.m_handle; }
    +
    36 bool operator!=(const Entity& other) const { return m_handle != other.m_handle; }
    +
    37 operator bool() { return m_handle != entt::null; }
    +
    38 operator void*() { return reinterpret_cast<void*>(m_handle); }
    +
    39 private:
    +
    40 Entity(entt::entity handle, Scene& scene);
    +
    41
    +
    42 entt::entity m_handle{ entt::null };
    +
    43 Scene* m_sceneRef{ nullptr };
    +
    44
    +
    45 friend class Scene;
    +
    46 };
    +
    47
    +
    48 template<typename Component, typename ...Args>
    +
    49 Component& Entity::addComponent(Args&& ...args)
    +
    50 {
    +
    51 return m_sceneRef->m_registry.emplace<Component>(m_handle, std::forward<Args>(args)...);
    +
    52 }
    +
    53
    +
    54 template<typename Component>
    + +
    56 {
    +
    57 m_sceneRef->m_registry.remove<Component>(m_handle);
    +
    58 }
    +
    59
    +
    60 template<typename Component>
    + +
    62 {
    +
    63 return m_sceneRef->m_registry.all_of<Component>(m_handle);
    +
    64 }
    +
    65
    +
    66 template<typename Component>
    + +
    68 {
    +
    69 return m_sceneRef->m_registry.get<Component>(m_handle);
    +
    70 }
    +
    71
    +
    72} // namespace jng
    Definition: entity.hpp:17
    -
    void removeComponent()
    Definition: entity.hpp:53
    -
    friend class Scene
    Definition: entity.hpp:43
    -
    bool operator!=(const Entity &other) const
    Definition: entity.hpp:34
    -
    bool operator==(const Entity &other) const
    Definition: entity.hpp:33
    -
    bool hasComponent()
    Definition: entity.hpp:59
    +
    void removeComponent()
    Definition: entity.hpp:55
    +
    friend class Scene
    Definition: entity.hpp:45
    +
    bool operator!=(const Entity &other) const
    Definition: entity.hpp:36
    +
    bool operator==(const Entity &other) const
    Definition: entity.hpp:35
    +
    bool hasComponent()
    Definition: entity.hpp:61
    +
    Scene * getScene()
    Definition: entity.hpp:33
    Entity()=default
    -
    Component & getComponent()
    Definition: entity.hpp:65
    -
    Component & addComponent(Args &&...args)
    Definition: entity.hpp:47
    -
    Definition: scene.hpp:18
    -
    Definition: base.hpp:17
    +
    Component & getComponent()
    Definition: entity.hpp:67
    +
    Component & addComponent(Args &&...args)
    Definition: entity.hpp:49
    +
    Definition: scene.hpp:20
    +
    Definition: base.hpp:13
    diff --git a/docs/entry__point_8hpp.html b/docs/entry__point_8hpp.html index 1ba66e0d..9b1904ac 100644 --- a/docs/entry__point_8hpp.html +++ b/docs/entry__point_8hpp.html @@ -135,7 +135,7 @@

    diff --git a/docs/entry__point_8hpp_source.html b/docs/entry__point_8hpp_source.html index db05c9ec..d9437f01 100644 --- a/docs/entry__point_8hpp_source.html +++ b/docs/entry__point_8hpp_source.html @@ -124,35 +124,39 @@
    52 return 0;
    53}
    54
    -
    55//#if defined(JNG_WINDOWS)
    -
    56//
    -
    57//#include "platform/windows/windows_base.hpp"
    -
    58//
    -
    59//#if defined(UNICODE)
    -
    60//
    -
    61//int WINAPI wWinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ int)
    -
    62//{
    -
    63// return main(__argc, __argv);
    -
    64//}
    -
    65//
    -
    66//#else
    -
    67//
    -
    68//int WINAPI WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ int)
    -
    69//{
    -
    70// return main(__argc, __argv);
    -
    71//}
    -
    72//
    -
    73//#endif
    -
    74//
    -
    75//#endif
    -
    Definition: engine.hpp:21
    +
    55#if defined(_WIN32)
    +
    56
    +
    57#define WINAPI __stdcall
    +
    58struct HINSTANCE__;
    +
    59typedef HINSTANCE__* HINSTANCE;
    +
    60typedef wchar_t* LPWSTR;
    +
    61typedef char* LPSTR;
    +
    62
    +
    63#if defined(UNICODE)
    +
    64
    +
    65int WINAPI wWinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ int)
    +
    66{
    +
    67 return main(__argc, __argv);
    +
    68}
    +
    69
    +
    70#else
    +
    71
    +
    72int WINAPI WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ int)
    +
    73{
    +
    74 return main(__argc, __argv);
    +
    75}
    +
    76
    +
    77#endif
    +
    78
    +
    79#endif
    +
    Main engine class from which all client applications derive.
    Definition: engine.hpp:24
    int main(int argc, char *argv[])
    Definition: entry_point.hpp:15
    jng::Engine * createApp()
    #define JNG_CORE_ERROR(...)
    Definition: log.hpp:54
    -
    Definition: base.hpp:17
    -
    RendererBackend
    Definition: base.hpp:44
    +
    Definition: base.hpp:13
    +
    RendererBackend
    Definition: base.hpp:50
    #define JNG_PROFILE_END_SESSION()
    Definition: profiling.hpp:114
    #define JNG_PROFILE_BEGIN_SESSION(filepath)
    Definition: profiling.hpp:113
    @@ -160,7 +164,7 @@ diff --git a/docs/error__checks__macros__win_8cpp.html b/docs/error__checks__macros__win_8cpp.html index 3f038acb..ad3d7c25 100644 --- a/docs/error__checks__macros__win_8cpp.html +++ b/docs/error__checks__macros__win_8cpp.html @@ -74,7 +74,7 @@ diff --git a/docs/error__checks__macros__win_8hpp.html b/docs/error__checks__macros__win_8hpp.html index 1b50fea8..62d116da 100644 --- a/docs/error__checks__macros__win_8hpp.html +++ b/docs/error__checks__macros__win_8hpp.html @@ -191,7 +191,7 @@

    diff --git a/docs/error__checks__macros__win_8hpp_source.html b/docs/error__checks__macros__win_8hpp_source.html index 2c99bd66..0e2198c9 100644 --- a/docs/error__checks__macros__win_8hpp_source.html +++ b/docs/error__checks__macros__win_8hpp_source.html @@ -131,12 +131,12 @@
    59#define JNG_D3D_CHECK_HR_DEVICE_REMOVED(hr, device)
    60
    61#endif
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/event_8hpp.html b/docs/event_8hpp.html index 0113635f..2b828ef2 100644 --- a/docs/event_8hpp.html +++ b/docs/event_8hpp.html @@ -165,7 +165,7 @@

    diff --git a/docs/event_8hpp_source.html b/docs/event_8hpp_source.html index 47e8a78a..385f4665 100644 --- a/docs/event_8hpp_source.html +++ b/docs/event_8hpp_source.html @@ -148,7 +148,7 @@
    bool m_handled
    Definition: event.hpp:34
    constexpr KeyCode T
    Definition: key_codes.hpp:56
    constexpr KeyCode F
    Definition: key_codes.hpp:42
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    std::ostream & operator<<(std::ostream &os, const Event &event)
    Definition: event.hpp:39
    EventType
    Definition: event.hpp:16
    @@ -169,7 +169,7 @@ diff --git a/docs/files.html b/docs/files.html index f38186a5..cc7efbb1 100644 --- a/docs/files.html +++ b/docs/files.html @@ -92,18 +92,18 @@

    - - - - - - - - + + + + + + + - - - + + + + @@ -178,17 +178,17 @@ - - - - - - - - - - - + + + + + + + + + + +

    Files

    file  camera.cpp
     
    file  entity.cpp
     
    file  scene.cpp
    file  buffers.cpp
     
    file  camera.cpp
     
    file  framebuffer.cpp
     
    file  renderer.cpp
    file  buffers.hpp [code]
     
    file  camera.hpp [code]
     
    file  framebuffer.hpp [code]
     
    file  renderer.hpp [code]

    Classes

    class  jng::Engine
     Main engine class from which all client applications derive. More...
     
    struct  jng::Engine::Properties
     
      renderer
      scene
      scripting
      serializers
     buffers.cpp
     camera.cpp
     framebuffer.cpp
     renderer.cpp
     renderer2d.cpp
     renderer_api.cpp
     shader.cpp
     texture.cpp
     vertex_array.cpp
      scene
     entity.cpp
     scene.cpp
     framebuffer.cpp
     renderer.cpp
     renderer2d.cpp
     renderer_api.cpp
     shader.cpp
     texture.cpp
     vertex_array.cpp
      scene
     camera.cpp
     entity.cpp
     scene.cpp
      serializers
     scene_serializer.cpp
    @@ -196,7 +196,7 @@ diff --git a/docs/framebuffer_8cpp.html b/docs/framebuffer_8cpp.html index 68711879..ad2faf0d 100644 --- a/docs/framebuffer_8cpp.html +++ b/docs/framebuffer_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/framebuffer_8hpp.html b/docs/framebuffer_8hpp.html index 2f3ed35a..0800d816 100644 --- a/docs/framebuffer_8hpp.html +++ b/docs/framebuffer_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/framebuffer_8hpp_source.html b/docs/framebuffer_8hpp_source.html index a99aff2c..66a9db78 100644 --- a/docs/framebuffer_8hpp_source.html +++ b/docs/framebuffer_8hpp_source.html @@ -112,9 +112,9 @@
    virtual const Properties & getProperties() const =0
    static Ref< Framebuffer > create(const Properties &properties)
    Definition: framebuffer.cpp:19
    virtual void bind() const =0
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: framebuffer.hpp:15
    uint32 height
    Definition: framebuffer.hpp:17
    bool swapChainTarget
    Definition: framebuffer.hpp:20
    @@ -123,7 +123,7 @@ diff --git a/docs/framebuffer__d3d_8cpp.html b/docs/framebuffer__d3d_8cpp.html index 79802911..096d2fab 100644 --- a/docs/framebuffer__d3d_8cpp.html +++ b/docs/framebuffer__d3d_8cpp.html @@ -88,7 +88,7 @@ diff --git a/docs/framebuffer__d3d_8hpp.html b/docs/framebuffer__d3d_8hpp.html index cf793744..3a35ec18 100644 --- a/docs/framebuffer__d3d_8hpp.html +++ b/docs/framebuffer__d3d_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/framebuffer__d3d_8hpp_source.html b/docs/framebuffer__d3d_8hpp_source.html index 93e223c6..e27715eb 100644 --- a/docs/framebuffer__d3d_8hpp_source.html +++ b/docs/framebuffer__d3d_8hpp_source.html @@ -127,14 +127,14 @@
    Definition: graphics_context_d3d.hpp:28
    Definition: framebuffer.hpp:13
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: framebuffer.hpp:15
    diff --git a/docs/framebuffer__ogl_8cpp.html b/docs/framebuffer__ogl_8cpp.html index 9f1d8336..9feea6eb 100644 --- a/docs/framebuffer__ogl_8cpp.html +++ b/docs/framebuffer__ogl_8cpp.html @@ -74,7 +74,7 @@
    #include "renderer/opengl/framebuffer_ogl.hpp"
    #include "core/base_internal.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>
    @@ -84,7 +84,7 @@ diff --git a/docs/framebuffer__ogl_8hpp.html b/docs/framebuffer__ogl_8hpp.html index e4383332..4e8fe67b 100644 --- a/docs/framebuffer__ogl_8hpp.html +++ b/docs/framebuffer__ogl_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/framebuffer__ogl_8hpp_source.html b/docs/framebuffer__ogl_8hpp_source.html index a50db601..9811966f 100644 --- a/docs/framebuffer__ogl_8hpp_source.html +++ b/docs/framebuffer__ogl_8hpp_source.html @@ -113,14 +113,14 @@
    const Properties & getProperties() const override
    Definition: framebuffer_ogl.hpp:23
    void * getColorAttachmentHandle() override
    Definition: framebuffer_ogl.hpp:22
    -
    Definition: base.hpp:17
    -
    uint64_t uint64
    Definition: base.hpp:38
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint64_t uint64
    Definition: base.hpp:44
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: framebuffer.hpp:15
    diff --git a/docs/functions.html b/docs/functions.html index d9586a77..fafa3f16 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -72,7 +72,7 @@

    - a -

      diff --git a/docs/functions_b.html b/docs/functions_b.html index 183d8fd6..ab36e95e 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -73,7 +73,7 @@

      - b -

        diff --git a/docs/functions_c.html b/docs/functions_c.html index a2d3544b..9374823d 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -79,14 +79,14 @@

        - c -

        diff --git a/docs/functions_d.html b/docs/functions_d.html index 1599ebfb..b406fd14 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -70,7 +70,7 @@

        - d -

        • dataTypeToSize() : jng::LayoutElement
        • decode() : YAML::convert< glm::vec3 >, YAML::convert< glm::vec4 >
        • deserialize() : jng::SceneSerializer
        • -
        • destroyEntity() : jng::Scene
        • +
        • destroyEntity() : jng::NativeScript, jng::Scene
        • destroyScript : jng::NativeScriptComponent
        • Direct3DFramebuffer() : jng::Direct3DFramebuffer
        • Direct3DGraphicsContext() : jng::Direct3DGraphicsContext
        • @@ -89,7 +89,7 @@

          - d -

            diff --git a/docs/functions_e.html b/docs/functions_e.html index aed172ce..034160b9 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -79,7 +79,7 @@

            - e -

              diff --git a/docs/functions_enum.html b/docs/functions_enum.html index 1803a6da..80cca432 100644 --- a/docs/functions_enum.html +++ b/docs/functions_enum.html @@ -72,7 +72,7 @@ diff --git a/docs/functions_f.html b/docs/functions_f.html index c5c1765b..0f66da85 100644 --- a/docs/functions_f.html +++ b/docs/functions_f.html @@ -71,7 +71,7 @@

              - f -

                diff --git a/docs/functions_func.html b/docs/functions_func.html index 98b850b6..c3cba56a 100644 --- a/docs/functions_func.html +++ b/docs/functions_func.html @@ -71,7 +71,7 @@

                - a -

                  diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html index 14fe8d03..e54a9780 100644 --- a/docs/functions_func_b.html +++ b/docs/functions_func_b.html @@ -73,7 +73,7 @@

                  - b -

                    diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html index 4696bdf4..21c80380 100644 --- a/docs/functions_func_c.html +++ b/docs/functions_func_c.html @@ -73,12 +73,12 @@

                    - c -

                    diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html index d4f3d74d..11d03ce2 100644 --- a/docs/functions_func_d.html +++ b/docs/functions_func_d.html @@ -69,7 +69,7 @@

                    - d -

                    • dataTypeToSize() : jng::LayoutElement
                    • decode() : YAML::convert< glm::vec3 >, YAML::convert< glm::vec4 >
                    • deserialize() : jng::SceneSerializer
                    • -
                    • destroyEntity() : jng::Scene
                    • +
                    • destroyEntity() : jng::NativeScript, jng::Scene
                    • Direct3DFramebuffer() : jng::Direct3DFramebuffer
                    • Direct3DGraphicsContext() : jng::Direct3DGraphicsContext
                    • Direct3DIndexBuffer() : jng::Direct3DIndexBuffer
                    • @@ -86,7 +86,7 @@

                      - d -

                        diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html index 2785a5f5..22bb2963 100644 --- a/docs/functions_func_e.html +++ b/docs/functions_func_e.html @@ -77,7 +77,7 @@

                        - e -

                          diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html index bf9f5b8f..f1fef5a2 100644 --- a/docs/functions_func_f.html +++ b/docs/functions_func_f.html @@ -71,7 +71,7 @@

                          - f -

                            diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html index 6153a59f..43b286eb 100644 --- a/docs/functions_func_g.html +++ b/docs/functions_func_g.html @@ -100,6 +100,7 @@

                            - g -

                            • getProperties() : jng::Direct3DFramebuffer, jng::Engine, jng::Framebuffer, jng::OpenGLFramebuffer
                            • getRendererBackend() : jng::RendererAPI
                            • getRepeatCount() : jng::KeyPressEvent
                            • +
                            • getScene() : jng::Entity
                            • getStatistics() : jng::Renderer2D
                            • getStride() : jng::VertexLayout
                            • getTransform() : jng::TransformComponent
                            • @@ -118,7 +119,7 @@

                              - g -

                                diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html index 1d782c89..2b2abb9c 100644 --- a/docs/functions_func_h.html +++ b/docs/functions_func_h.html @@ -71,7 +71,7 @@

                                - h -

                                  diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html index 906d579f..fcbeb434 100644 --- a/docs/functions_func_i.html +++ b/docs/functions_func_i.html @@ -75,7 +75,7 @@

                                  - i -

                                    diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html index cb9ade04..a64d1c78 100644 --- a/docs/functions_func_k.html +++ b/docs/functions_func_k.html @@ -73,7 +73,7 @@

                                    - k -

                                      diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html index 044241da..fdf9702b 100644 --- a/docs/functions_func_l.html +++ b/docs/functions_func_l.html @@ -73,7 +73,7 @@

                                      - l -

                                        diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html index d390b8fd..8c642bb9 100644 --- a/docs/functions_func_m.html +++ b/docs/functions_func_m.html @@ -76,7 +76,7 @@

                                        - m -

                                          diff --git a/docs/functions_func_n.html b/docs/functions_func_n.html index 0f572e4b..267ebf61 100644 --- a/docs/functions_func_n.html +++ b/docs/functions_func_n.html @@ -69,11 +69,12 @@

                                          - n -

                                          diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html index 5002221e..ad668069 100644 --- a/docs/functions_func_o.html +++ b/docs/functions_func_o.html @@ -67,12 +67,12 @@

                                          - o -

                                          • onAttach() : jng::Layer
                                          • -
                                          • onCreate() : jng::NativeScript
                                          • -
                                          • onDestroy() : jng::NativeScript
                                          • +
                                          • onCreate() : jng::NativeScript, jng::Scene
                                          • +
                                          • onDestroy() : jng::NativeScript, jng::Scene
                                          • onDetach() : jng::Layer
                                          • -
                                          • onEvent() : jng::Layer
                                          • +
                                          • onEvent() : jng::Layer, jng::NativeScript, jng::Scene
                                          • onImGuiUpdate() : jng::Layer
                                          • -
                                          • onUpdate() : jng::Layer, jng::NativeScript, jng::Scene, jng::Window
                                          • +
                                          • onUpdate() : jng::Layer, jng::NativeScript, jng::Scene, jng::Window
                                          • OpenGLFramebuffer() : jng::OpenGLFramebuffer
                                          • OpenGLGraphicsContext() : jng::OpenGLGraphicsContext
                                          • OpenGLIndexBuffer() : jng::OpenGLIndexBuffer
                                          • @@ -90,7 +90,7 @@

                                            - o -

                                              diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html index 347651ad..6ed4b590 100644 --- a/docs/functions_func_p.html +++ b/docs/functions_func_p.html @@ -72,7 +72,7 @@

                                              - p -

                                                diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html index 2bf6be33..61ffd23c 100644 --- a/docs/functions_func_r.html +++ b/docs/functions_func_r.html @@ -76,7 +76,7 @@

                                                - r -

                                                  diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html index a0e7d86c..49061c72 100644 --- a/docs/functions_func_s.html +++ b/docs/functions_func_s.html @@ -73,14 +73,14 @@

                                                  - s -

                                                  • setData() : jng::Direct3DTexture, jng::Direct3DUniformBuffer, jng::Direct3DVertexBuffer, jng::OpenGLTexture, jng::OpenGLUniformBuffer, jng::OpenGLVertexBuffer, jng::Texture, jng::UniformBuffer, jng::VertexBuffer, jng::VulkanTexture, jng::VulkanVertexBuffer
                                                  • setEventCallback() : jng::Window
                                                  • setIndexBuffer() : jng::Direct3DVertexArray, jng::OpenGLVertexArray, jng::VertexArray, jng::VulkanVertexArray
                                                  • -
                                                  • setOrthographic() : jng::Camera
                                                  • -
                                                  • setOrthographicFar() : jng::Camera
                                                  • -
                                                  • setOrthographicNear() : jng::Camera
                                                  • -
                                                  • setOrthographicSize() : jng::Camera
                                                  • -
                                                  • setPerspective() : jng::Camera
                                                  • -
                                                  • setPerspectiveFar() : jng::Camera
                                                  • -
                                                  • setPerspectiveFOV() : jng::Camera
                                                  • -
                                                  • setPerspectiveNear() : jng::Camera
                                                  • +
                                                  • setOrthographic() : jng::Camera
                                                  • +
                                                  • setOrthographicFar() : jng::Camera
                                                  • +
                                                  • setOrthographicNear() : jng::Camera
                                                  • +
                                                  • setOrthographicSize() : jng::Camera
                                                  • +
                                                  • setPerspective() : jng::Camera
                                                  • +
                                                  • setPerspectiveFar() : jng::Camera
                                                  • +
                                                  • setPerspectiveFOV() : jng::Camera
                                                  • +
                                                  • setPerspectiveNear() : jng::Camera
                                                  • setProjectionType() : jng::Camera
                                                  • setTitle() : jng::Window
                                                  • setVertexLayout() : jng::Direct3DVertexBuffer
                                                  • @@ -95,7 +95,7 @@

                                                    - s -

                                                      diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html index e5fbcab1..aad47cc0 100644 --- a/docs/functions_func_t.html +++ b/docs/functions_func_t.html @@ -73,7 +73,7 @@

                                                      - t -

                                                        diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html index 8b201899..8c49cacd 100644 --- a/docs/functions_func_u.html +++ b/docs/functions_func_u.html @@ -71,7 +71,7 @@

                                                        - u -

                                                          diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html index e8c99062..3056bcc0 100644 --- a/docs/functions_func_v.html +++ b/docs/functions_func_v.html @@ -78,7 +78,7 @@

                                                          - v -

                                                            diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html index 44e51784..f1c3c82a 100644 --- a/docs/functions_func_w.html +++ b/docs/functions_func_w.html @@ -73,7 +73,7 @@

                                                            - w -

                                                              diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html index bfe2ec42..33c5aae5 100644 --- a/docs/functions_func_~.html +++ b/docs/functions_func_~.html @@ -83,6 +83,7 @@

                                                              - ~ -

                                                              • ~Layer() : jng::Layer
                                                              • ~LayerStack() : jng::LayerStack
                                                              • ~NativeScript() : jng::NativeScript
                                                              • +
                                                              • ~NonCopyable() : jng::NonCopyable
                                                              • ~OpenGLFramebuffer() : jng::OpenGLFramebuffer
                                                              • ~OpenGLGraphicsContext() : jng::OpenGLGraphicsContext
                                                              • ~OpenGLIndexBuffer() : jng::OpenGLIndexBuffer
                                                              • @@ -108,7 +109,7 @@

                                                                - ~ -

                                                                  diff --git a/docs/functions_g.html b/docs/functions_g.html index df508d27..11627028 100644 --- a/docs/functions_g.html +++ b/docs/functions_g.html @@ -100,6 +100,7 @@

                                                                  - g -

                                                                  • getProperties() : jng::Direct3DFramebuffer, jng::Engine, jng::Framebuffer, jng::OpenGLFramebuffer
                                                                  • getRendererBackend() : jng::RendererAPI
                                                                  • getRepeatCount() : jng::KeyPressEvent
                                                                  • +
                                                                  • getScene() : jng::Entity
                                                                  • getStatistics() : jng::Renderer2D
                                                                  • getStride() : jng::VertexLayout
                                                                  • getTransform() : jng::TransformComponent
                                                                  • @@ -118,7 +119,7 @@

                                                                    - g -

                                                                      diff --git a/docs/functions_h.html b/docs/functions_h.html index 530be9e9..25eba078 100644 --- a/docs/functions_h.html +++ b/docs/functions_h.html @@ -72,7 +72,7 @@

                                                                      - h -

                                                                        diff --git a/docs/functions_i.html b/docs/functions_i.html index 71b0ffba..3049ad2d 100644 --- a/docs/functions_i.html +++ b/docs/functions_i.html @@ -77,7 +77,7 @@

                                                                        - i -

                                                                          diff --git a/docs/functions_k.html b/docs/functions_k.html index f82db628..55a85b85 100644 --- a/docs/functions_k.html +++ b/docs/functions_k.html @@ -73,7 +73,7 @@

                                                                          - k -

                                                                            diff --git a/docs/functions_l.html b/docs/functions_l.html index 22e92dd5..59a9b668 100644 --- a/docs/functions_l.html +++ b/docs/functions_l.html @@ -73,7 +73,7 @@

                                                                            - l -

                                                                              diff --git a/docs/functions_m.html b/docs/functions_m.html index 851158ec..b110ac92 100644 --- a/docs/functions_m.html +++ b/docs/functions_m.html @@ -84,7 +84,7 @@

                                                                              - m -

                                                                                diff --git a/docs/functions_n.html b/docs/functions_n.html index 74c5e731..0d5b3f50 100644 --- a/docs/functions_n.html +++ b/docs/functions_n.html @@ -70,12 +70,13 @@

                                                                                - n -

                                                                                diff --git a/docs/functions_o.html b/docs/functions_o.html index a4df1bb2..6f6f13bc 100644 --- a/docs/functions_o.html +++ b/docs/functions_o.html @@ -68,12 +68,12 @@

                                                                                - o -

                                                                                • Offset : jng::LayoutElement
                                                                                • onAttach() : jng::Layer
                                                                                • -
                                                                                • onCreate() : jng::NativeScript
                                                                                • -
                                                                                • onDestroy() : jng::NativeScript
                                                                                • +
                                                                                • onCreate() : jng::NativeScript, jng::Scene
                                                                                • +
                                                                                • onDestroy() : jng::NativeScript, jng::Scene
                                                                                • onDetach() : jng::Layer
                                                                                • -
                                                                                • onEvent() : jng::Layer
                                                                                • +
                                                                                • onEvent() : jng::Layer, jng::NativeScript, jng::Scene
                                                                                • onImGuiUpdate() : jng::Layer
                                                                                • -
                                                                                • onUpdate() : jng::Layer, jng::NativeScript, jng::Scene, jng::Window
                                                                                • +
                                                                                • onUpdate() : jng::Layer, jng::NativeScript, jng::Scene, jng::Window
                                                                                • OpenGLFramebuffer() : jng::OpenGLFramebuffer
                                                                                • OpenGLGraphicsContext() : jng::OpenGLGraphicsContext
                                                                                • OpenGLIndexBuffer() : jng::OpenGLIndexBuffer
                                                                                • @@ -91,7 +91,7 @@

                                                                                  - o -

                                                                                    diff --git a/docs/functions_p.html b/docs/functions_p.html index f8a28d23..af59d54d 100644 --- a/docs/functions_p.html +++ b/docs/functions_p.html @@ -75,7 +75,7 @@

                                                                                    - p -

                                                                                      diff --git a/docs/functions_q.html b/docs/functions_q.html index 7e908363..6c6cf76c 100644 --- a/docs/functions_q.html +++ b/docs/functions_q.html @@ -79,7 +79,7 @@

                                                                                      - q -

                                                                                        diff --git a/docs/functions_r.html b/docs/functions_r.html index 1dcbdb01..af7906a8 100644 --- a/docs/functions_r.html +++ b/docs/functions_r.html @@ -80,7 +80,7 @@

                                                                                        - r -

                                                                                          diff --git a/docs/functions_rela.html b/docs/functions_rela.html index 07494f7e..5c2a94f4 100644 --- a/docs/functions_rela.html +++ b/docs/functions_rela.html @@ -66,13 +66,13 @@   diff --git a/docs/functions_s.html b/docs/functions_s.html index fc211f3c..3c82a895 100644 --- a/docs/functions_s.html +++ b/docs/functions_s.html @@ -68,21 +68,21 @@

                                                                                          - s -

                                                                                          • samples : jng::Framebuffer::Properties
                                                                                          • scale : jng::TransformComponent
                                                                                          • -
                                                                                          • Scene : jng::Entity, jng::Scene
                                                                                          • +
                                                                                          • Scene : jng::Entity, jng::NativeScript, jng::Scene
                                                                                          • SceneSerializer : jng::Scene, jng::SceneSerializer
                                                                                          • serialize() : jng::SceneSerializer
                                                                                          • setCurrentRenderTarget() : jng::Direct3DGraphicsContext
                                                                                          • setData() : jng::Direct3DTexture, jng::Direct3DUniformBuffer, jng::Direct3DVertexBuffer, jng::OpenGLTexture, jng::OpenGLUniformBuffer, jng::OpenGLVertexBuffer, jng::Texture, jng::UniformBuffer, jng::VertexBuffer, jng::VulkanTexture, jng::VulkanVertexBuffer
                                                                                          • setEventCallback() : jng::Window
                                                                                          • setIndexBuffer() : jng::Direct3DVertexArray, jng::OpenGLVertexArray, jng::VertexArray, jng::VulkanVertexArray
                                                                                          • -
                                                                                          • setOrthographic() : jng::Camera
                                                                                          • -
                                                                                          • setOrthographicFar() : jng::Camera
                                                                                          • -
                                                                                          • setOrthographicNear() : jng::Camera
                                                                                          • -
                                                                                          • setOrthographicSize() : jng::Camera
                                                                                          • -
                                                                                          • setPerspective() : jng::Camera
                                                                                          • -
                                                                                          • setPerspectiveFar() : jng::Camera
                                                                                          • -
                                                                                          • setPerspectiveFOV() : jng::Camera
                                                                                          • -
                                                                                          • setPerspectiveNear() : jng::Camera
                                                                                          • +
                                                                                          • setOrthographic() : jng::Camera
                                                                                          • +
                                                                                          • setOrthographicFar() : jng::Camera
                                                                                          • +
                                                                                          • setOrthographicNear() : jng::Camera
                                                                                          • +
                                                                                          • setOrthographicSize() : jng::Camera
                                                                                          • +
                                                                                          • setPerspective() : jng::Camera
                                                                                          • +
                                                                                          • setPerspectiveFar() : jng::Camera
                                                                                          • +
                                                                                          • setPerspectiveFOV() : jng::Camera
                                                                                          • +
                                                                                          • setPerspectiveNear() : jng::Camera
                                                                                          • setProjectionType() : jng::Camera
                                                                                          • setTitle() : jng::Window
                                                                                          • setVertexLayout() : jng::Direct3DVertexBuffer
                                                                                          • @@ -101,7 +101,7 @@

                                                                                            - s -

                                                                                              diff --git a/docs/functions_t.html b/docs/functions_t.html index 1e819264..63a3bece 100644 --- a/docs/functions_t.html +++ b/docs/functions_t.html @@ -83,7 +83,7 @@

                                                                                              - t -

                                                                                                diff --git a/docs/functions_type.html b/docs/functions_type.html index acf89cba..c86cd2aa 100644 --- a/docs/functions_type.html +++ b/docs/functions_type.html @@ -75,7 +75,7 @@ diff --git a/docs/functions_u.html b/docs/functions_u.html index 5e731050..4e5a8b45 100644 --- a/docs/functions_u.html +++ b/docs/functions_u.html @@ -71,7 +71,7 @@

                                                                                                - u -

                                                                                                  diff --git a/docs/functions_v.html b/docs/functions_v.html index e2e3f7c9..a8fdf570 100644 --- a/docs/functions_v.html +++ b/docs/functions_v.html @@ -78,7 +78,7 @@

                                                                                                  - v -

                                                                                                    diff --git a/docs/functions_vars.html b/docs/functions_vars.html index 71815521..1c99a328 100644 --- a/docs/functions_vars.html +++ b/docs/functions_vars.html @@ -182,7 +182,7 @@

                                                                                                    - w -

                                                                                                      diff --git a/docs/functions_w.html b/docs/functions_w.html index f151561c..24060dba 100644 --- a/docs/functions_w.html +++ b/docs/functions_w.html @@ -78,7 +78,7 @@

                                                                                                      - w -

                                                                                                        diff --git a/docs/functions_~.html b/docs/functions_~.html index 311fcf96..e0944565 100644 --- a/docs/functions_~.html +++ b/docs/functions_~.html @@ -83,6 +83,7 @@

                                                                                                        - ~ -

                                                                                                        • ~Layer() : jng::Layer
                                                                                                        • ~LayerStack() : jng::LayerStack
                                                                                                        • ~NativeScript() : jng::NativeScript
                                                                                                        • +
                                                                                                        • ~NonCopyable() : jng::NonCopyable
                                                                                                        • ~OpenGLFramebuffer() : jng::OpenGLFramebuffer
                                                                                                        • ~OpenGLGraphicsContext() : jng::OpenGLGraphicsContext
                                                                                                        • ~OpenGLIndexBuffer() : jng::OpenGLIndexBuffer
                                                                                                        • @@ -108,7 +109,7 @@

                                                                                                          - ~ -

                                                                                                            diff --git a/docs/globals.html b/docs/globals.html index bb39f5b6..3108b3b0 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -185,7 +185,7 @@

                                                                                                            - w -

                                                                                                              diff --git a/docs/globals_defs.html b/docs/globals_defs.html index 5cd5ea6f..ca431da2 100644 --- a/docs/globals_defs.html +++ b/docs/globals_defs.html @@ -162,7 +162,7 @@

                                                                                                              - w -

                                                                                                                diff --git a/docs/globals_func.html b/docs/globals_func.html index be5cf62b..db42bc5e 100644 --- a/docs/globals_func.html +++ b/docs/globals_func.html @@ -70,7 +70,7 @@ diff --git a/docs/globals_type.html b/docs/globals_type.html index 1495e9d3..7f3d00fe 100644 --- a/docs/globals_type.html +++ b/docs/globals_type.html @@ -73,7 +73,7 @@ diff --git a/docs/graphics__context_8cpp.html b/docs/graphics__context_8cpp.html index 0ee63889..379496c9 100644 --- a/docs/graphics__context_8cpp.html +++ b/docs/graphics__context_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/graphics__context_8hpp.html b/docs/graphics__context_8hpp.html index c34e92c3..6a2c2272 100644 --- a/docs/graphics__context_8hpp.html +++ b/docs/graphics__context_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/graphics__context_8hpp_source.html b/docs/graphics__context_8hpp_source.html index 9cac4a8b..dc32c6dc 100644 --- a/docs/graphics__context_8hpp_source.html +++ b/docs/graphics__context_8hpp_source.html @@ -103,12 +103,12 @@
                                                                                                                virtual ~GraphicsContext()=default
                                                                                                                virtual void swapBuffers() const =0
                                                                                                                Definition: window.hpp:20
                                                                                                                -
                                                                                                                Definition: base.hpp:17
                                                                                                                -
                                                                                                                std::unique_ptr< T > Scope
                                                                                                                Definition: base.hpp:20
                                                                                                                +
                                                                                                                Definition: base.hpp:13
                                                                                                                +
                                                                                                                std::unique_ptr< T > Scope
                                                                                                                Definition: base.hpp:26
                                                                                                                diff --git a/docs/graphics__context__d3d_8cpp.html b/docs/graphics__context__d3d_8cpp.html index 25ea3ab8..9b0a48ab 100644 --- a/docs/graphics__context__d3d_8cpp.html +++ b/docs/graphics__context__d3d_8cpp.html @@ -109,7 +109,7 @@

                                                                                                                diff --git a/docs/graphics__context__d3d_8hpp.html b/docs/graphics__context__d3d_8hpp.html index 10b90745..59750f93 100644 --- a/docs/graphics__context__d3d_8hpp.html +++ b/docs/graphics__context__d3d_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/graphics__context__d3d_8hpp_source.html b/docs/graphics__context__d3d_8hpp_source.html index c8c49ffc..90c07098 100644 --- a/docs/graphics__context__d3d_8hpp_source.html +++ b/docs/graphics__context__d3d_8hpp_source.html @@ -136,12 +136,12 @@
                                                                                                                Definition: graphics_context.hpp:15
                                                                                                                Definition: window.hpp:20
                                                                                                                -
                                                                                                                Definition: base.hpp:17
                                                                                                                +
                                                                                                                Definition: base.hpp:13
                                                                                                                diff --git a/docs/graphics__context__ogl_8hpp.html b/docs/graphics__context__ogl_8hpp.html index 860ac709..9308e931 100644 --- a/docs/graphics__context__ogl_8hpp.html +++ b/docs/graphics__context__ogl_8hpp.html @@ -143,7 +143,7 @@

                                                                                                                diff --git a/docs/graphics__context__ogl_8hpp_source.html b/docs/graphics__context__ogl_8hpp_source.html index 8910674c..7e77e7b3 100644 --- a/docs/graphics__context__ogl_8hpp_source.html +++ b/docs/graphics__context__ogl_8hpp_source.html @@ -114,7 +114,7 @@
                                                                                                                42} // namespace jng
                                                                                                                Definition: graphics_context.hpp:15
                                                                                                                Definition: graphics_context_ogl.hpp:27
                                                                                                                -
                                                                                                                void setVSync(bool enabled) override
                                                                                                                Definition: graphics_context_ogl.cpp:153
                                                                                                                +
                                                                                                                void setVSync(bool enabled) override
                                                                                                                Definition: graphics_context_ogl.cpp:157
                                                                                                                void swapBuffers() const override
                                                                                                                Definition: graphics_context_ogl.cpp:131
                                                                                                                ~OpenGLGraphicsContext()
                                                                                                                Definition: graphics_context_ogl.cpp:121
                                                                                                                OpenGLGraphicsContext(Window &window)
                                                                                                                Definition: graphics_context_ogl.cpp:79
                                                                                                                @@ -123,11 +123,11 @@
                                                                                                                void * DeviceContextHandle
                                                                                                                Definition: graphics_context_ogl.hpp:20
                                                                                                                void * GraphicsContextHandle
                                                                                                                Definition: graphics_context_ogl.hpp:18
                                                                                                                void * WindowHandle
                                                                                                                Definition: graphics_context_ogl.hpp:19
                                                                                                                -
                                                                                                                Definition: base.hpp:17
                                                                                                                +
                                                                                                                Definition: base.hpp:13
                                                                                                                diff --git a/docs/graphics__context__vlk_8cpp.html b/docs/graphics__context__vlk_8cpp.html index 1098f1d3..a90620c7 100644 --- a/docs/graphics__context__vlk_8cpp.html +++ b/docs/graphics__context__vlk_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/graphics__context__vlk_8hpp.html b/docs/graphics__context__vlk_8hpp.html index a2e15ebc..7e03b65a 100644 --- a/docs/graphics__context__vlk_8hpp.html +++ b/docs/graphics__context__vlk_8hpp.html @@ -111,7 +111,7 @@

                                                                                                                diff --git a/docs/graphics__context__vlk_8hpp_source.html b/docs/graphics__context__vlk_8hpp_source.html index e66459a5..0bd75e48 100644 --- a/docs/graphics__context__vlk_8hpp_source.html +++ b/docs/graphics__context__vlk_8hpp_source.html @@ -112,11 +112,11 @@
                                                                                                                Definition: window.hpp:20
                                                                                                                VkInstance_T * VkInstance
                                                                                                                Definition: graphics_context_vlk.hpp:12
                                                                                                                -
                                                                                                                Definition: base.hpp:17
                                                                                                                +
                                                                                                                Definition: base.hpp:13
                                                                                                                diff --git a/docs/hierarchy.html b/docs/hierarchy.html index d12558d5..747aa11a 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -72,7 +72,7 @@

    - + @@ -104,7 +104,7 @@ - + @@ -151,7 +151,7 @@ diff --git a/docs/imconfig_8hpp.html b/docs/imconfig_8hpp.html index b62fefcc..6cd0736c 100644 --- a/docs/imconfig_8hpp.html +++ b/docs/imconfig_8hpp.html @@ -150,7 +150,7 @@

    diff --git a/docs/imconfig_8hpp_source.html b/docs/imconfig_8hpp_source.html index 68dc305c..f6d0aea3 100644 --- a/docs/imconfig_8hpp_source.html +++ b/docs/imconfig_8hpp_source.html @@ -186,7 +186,7 @@ diff --git a/docs/imgui__layer_8cpp.html b/docs/imgui__layer_8cpp.html index b06c1cad..8bc936aa 100644 --- a/docs/imgui__layer_8cpp.html +++ b/docs/imgui__layer_8cpp.html @@ -90,7 +90,7 @@ diff --git a/docs/imgui__layer_8hpp.html b/docs/imgui__layer_8hpp.html index 60e1b2e4..e8bb092a 100644 --- a/docs/imgui__layer_8hpp.html +++ b/docs/imgui__layer_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/imgui__layer_8hpp_source.html b/docs/imgui__layer_8hpp_source.html index 8f3ca982..f9668786 100644 --- a/docs/imgui__layer_8hpp_source.html +++ b/docs/imgui__layer_8hpp_source.html @@ -100,11 +100,11 @@
    static void newFrame()
    Definition: imgui_layer.cpp:71
    static void init(const Window *window)
    Definition: imgui_layer.cpp:28
    Definition: window.hpp:20
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/index.html b/docs/index.html index 4a2b4279..f4cc5fbb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -68,7 +68,7 @@

    A 3D/2D game engine developed as an educational project with hope to be usefull.

    -Prerequisites

    +Prerequisites:

    • CMake >=3.20 (3.22 tested)
    • VulkanSDK 1.3.x.x (1.3.216.0 tested)
        @@ -84,12 +84,27 @@

        cd build
        cmake ..

        and it might Just™ work for you.

        -

        If not better instructions will come in the future...

        +

        If not better instructions will come in the future...

        +

        +Usage:

        +

        For now JNG is ditributed as a package with static libraries (compiled for Visual Studio 2022). To use it:

          +
        • Build package using /scripts/prepare_package.bat or download prebuilt from GitHub
        • +
        • Set additional include directory in your project to {package_dir}/include
        • +
        • Link to libraries in {package_dir}/lib/{config}, where {config} is debug or release depending on your configuration
        • +
        • Copy contents of the {package_dir}/bin into your application working directory
        • +
        • Define the following:
            +
          • JNG_DEBUG - [optional] if you want to use JNG debug features (eg. logging)
          • +
          • SPDLOG_COMPILED_LIB - [required] - needed by spdlog library
          • +
          • IMGUI_DISABLE_INCLUDE_IMCONFIG_H - [required] - needed by Dear ImGui library
          • +
          • IMGUI_USER_CONFIG="jng/imconfig.hpp" - [required] - same as above
          • +
          +
        • +
        diff --git a/docs/input_8cpp.html b/docs/input_8cpp.html index 6052454c..2679c0ac 100644 --- a/docs/input_8cpp.html +++ b/docs/input_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/input_8hpp.html b/docs/input_8hpp.html index 92d420eb..f04c54d9 100644 --- a/docs/input_8hpp.html +++ b/docs/input_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/input_8hpp_source.html b/docs/input_8hpp_source.html index 2d3d18ed..7f18e5be 100644 --- a/docs/input_8hpp_source.html +++ b/docs/input_8hpp_source.html @@ -107,11 +107,11 @@
        uint16 KeyCode
        Definition: key_codes.hpp:13
        uint8 MouseCode
        Definition: mouse_codes.hpp:13
        -
        Definition: base.hpp:17
        +
        Definition: base.hpp:13
        diff --git a/docs/jng_8hpp.html b/docs/jng_8hpp.html index 6da53272..94ce9aa8 100644 --- a/docs/jng_8hpp.html +++ b/docs/jng_8hpp.html @@ -82,7 +82,6 @@ #include "platform/mouse_codes.hpp"
        #include "platform/window.hpp"
        #include "renderer/buffers.hpp"
        -#include "renderer/camera.hpp"
        #include "renderer/framebuffer.hpp"
        #include "renderer/renderer.hpp"
        #include "renderer/renderer_api.hpp"
        @@ -90,6 +89,7 @@ #include "renderer/shader.hpp"
        #include "renderer/texture.hpp"
        #include "renderer/vertex_array.hpp"
        +#include "scene/camera.hpp"
        #include "scene/components.hpp"
        #include "scene/entity.hpp"
        #include "scene/scene.hpp"
        @@ -103,7 +103,7 @@ diff --git a/docs/jng_8hpp_source.html b/docs/jng_8hpp_source.html index 547c7853..46f77791 100644 --- a/docs/jng_8hpp_source.html +++ b/docs/jng_8hpp_source.html @@ -91,15 +91,15 @@
        19#include "platform/window.hpp"
        20
        21#include "renderer/buffers.hpp"
        -
        22#include "renderer/camera.hpp"
        - -
        24#include "renderer/renderer.hpp"
        - - -
        27#include "renderer/shader.hpp"
        -
        28#include "renderer/texture.hpp"
        - -
        30
        + +
        23#include "renderer/renderer.hpp"
        + + +
        26#include "renderer/shader.hpp"
        +
        27#include "renderer/texture.hpp"
        + +
        29
        +
        30#include "scene/camera.hpp"
        31#include "scene/components.hpp"
        32#include "scene/entity.hpp"
        33#include "scene/scene.hpp"
        @@ -142,7 +142,7 @@ diff --git a/docs/key__codes_8hpp.html b/docs/key__codes_8hpp.html index e1dbd1d6..beef2f49 100644 --- a/docs/key__codes_8hpp.html +++ b/docs/key__codes_8hpp.html @@ -336,7 +336,7 @@ diff --git a/docs/key__codes_8hpp_source.html b/docs/key__codes_8hpp_source.html index 5ad4ce9f..7c984661 100644 --- a/docs/key__codes_8hpp_source.html +++ b/docs/key__codes_8hpp_source.html @@ -338,12 +338,12 @@
        constexpr KeyCode F3
        Definition: key_codes.hpp:93
        constexpr KeyCode Equal
        Definition: key_codes.hpp:35
        constexpr KeyCode F6
        Definition: key_codes.hpp:96
        -
        Definition: base.hpp:17
        -
        uint16_t uint16
        Definition: base.hpp:36
        +
        Definition: base.hpp:13
        +
        uint16_t uint16
        Definition: base.hpp:42
        diff --git a/docs/key__events_8hpp.html b/docs/key__events_8hpp.html index 4a7dd5c3..38299626 100644 --- a/docs/key__events_8hpp.html +++ b/docs/key__events_8hpp.html @@ -94,7 +94,7 @@ diff --git a/docs/key__events_8hpp_source.html b/docs/key__events_8hpp_source.html index 4c367d29..bd0cb188 100644 --- a/docs/key__events_8hpp_source.html +++ b/docs/key__events_8hpp_source.html @@ -131,11 +131,11 @@
        KeyReleaseEvent(int keyCode)
        Definition: key_events.hpp:43
        #define EVENT_CLASS_TYPE(type)
        Definition: event.hpp:62
        -
        Definition: base.hpp:17
        +
        Definition: base.hpp:13
        diff --git a/docs/layer_8hpp.html b/docs/layer_8hpp.html index 02fb7211..4674e158 100644 --- a/docs/layer_8hpp.html +++ b/docs/layer_8hpp.html @@ -89,7 +89,7 @@ diff --git a/docs/layer_8hpp_source.html b/docs/layer_8hpp_source.html index c6df4aec..0d889e77 100644 --- a/docs/layer_8hpp_source.html +++ b/docs/layer_8hpp_source.html @@ -92,27 +92,26 @@
        20
        21 virtual void onAttach() {}
        22 virtual void onDetach() {}
        -
        23 // TODO: when Cherno won't have that feature go back to return bool to enable pause layer ???
        -
        24 virtual void onUpdate(float /*dt*/) {}
        -
        25 virtual void onImGuiUpdate() {}
        -
        26 virtual void onEvent(Event& /*event*/) {}
        -
        27 };
        -
        28
        -
        29} // namespace jng
        +
        23 virtual void onUpdate(float /*dt*/) {}
        +
        24 virtual void onImGuiUpdate() {}
        +
        25 virtual void onEvent(Event& /*event*/) {}
        +
        26 };
        +
        27
        +
        28} // namespace jng
        Definition: event.hpp:25
        Definition: layer.hpp:16
        virtual void onDetach()
        Definition: layer.hpp:22
        virtual void onAttach()
        Definition: layer.hpp:21
        virtual ~Layer()=default
        Layer()=default
        -
        virtual void onEvent(Event &)
        Definition: layer.hpp:26
        -
        virtual void onUpdate(float)
        Definition: layer.hpp:24
        -
        virtual void onImGuiUpdate()
        Definition: layer.hpp:25
        -
        Definition: base.hpp:17
        +
        virtual void onEvent(Event &)
        Definition: layer.hpp:25
        +
        virtual void onUpdate(float)
        Definition: layer.hpp:23
        +
        virtual void onImGuiUpdate()
        Definition: layer.hpp:24
        +
        Definition: base.hpp:13
        diff --git a/docs/layer__stack_8cpp.html b/docs/layer__stack_8cpp.html index 29790914..c7c4dae3 100644 --- a/docs/layer__stack_8cpp.html +++ b/docs/layer__stack_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/layer__stack_8hpp.html b/docs/layer__stack_8hpp.html index 7fec7a69..7648048c 100644 --- a/docs/layer__stack_8hpp.html +++ b/docs/layer__stack_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/layer__stack_8hpp_source.html b/docs/layer__stack_8hpp_source.html index 4d02af5d..dcfba1e9 100644 --- a/docs/layer__stack_8hpp_source.html +++ b/docs/layer__stack_8hpp_source.html @@ -134,11 +134,11 @@
        ContainerType::const_reverse_iterator ConstReverseInterator
        Definition: layer_stack.hpp:21
        Interator begin()
        Definition: layer_stack.hpp:29
        ReverseInterator rbegin()
        Definition: layer_stack.hpp:33
        -
        Definition: base.hpp:17
        +
        Definition: base.hpp:13
        diff --git a/docs/linux_2graphics__context__ogl_8cpp.html b/docs/linux_2graphics__context__ogl_8cpp.html index 2a2b4b93..3c0adcb6 100644 --- a/docs/linux_2graphics__context__ogl_8cpp.html +++ b/docs/linux_2graphics__context__ogl_8cpp.html @@ -109,7 +109,7 @@

        diff --git a/docs/log_8cpp.html b/docs/log_8cpp.html index 9bdaaa94..7ba4badd 100644 --- a/docs/log_8cpp.html +++ b/docs/log_8cpp.html @@ -73,7 +73,7 @@ diff --git a/docs/log_8hpp.html b/docs/log_8hpp.html index 8cae4615..68e42e4c 100644 --- a/docs/log_8hpp.html +++ b/docs/log_8hpp.html @@ -282,7 +282,7 @@

        diff --git a/docs/log_8hpp_source.html b/docs/log_8hpp_source.html index 447d98d8..0614e6c1 100644 --- a/docs/log_8hpp_source.html +++ b/docs/log_8hpp_source.html @@ -89,7 +89,7 @@
        17namespace jng {
        18
        19 class Log :
        -
        20 public ccl::NonCopyable
        +
        20 public NonCopyable
        21 {
        22 public:
        23 static void init();
        @@ -134,11 +134,11 @@
        62
        63#endif
        -
        Definition: base.hpp:17
        +
        Definition: base.hpp:13
        diff --git a/docs/mouse__codes_8hpp.html b/docs/mouse__codes_8hpp.html index bd642038..cb98d04d 100644 --- a/docs/mouse__codes_8hpp.html +++ b/docs/mouse__codes_8hpp.html @@ -106,7 +106,7 @@ diff --git a/docs/mouse__codes_8hpp_source.html b/docs/mouse__codes_8hpp_source.html index 7664dca3..1f0f5f95 100644 --- a/docs/mouse__codes_8hpp_source.html +++ b/docs/mouse__codes_8hpp_source.html @@ -99,12 +99,12 @@
        constexpr MouseCode Middle
        Definition: mouse_codes.hpp:17
        constexpr MouseCode X2
        Definition: mouse_codes.hpp:19
        uint8 MouseCode
        Definition: mouse_codes.hpp:13
        -
        Definition: base.hpp:17
        -
        uint8_t uint8
        Definition: base.hpp:35
        +
        Definition: base.hpp:13
        +
        uint8_t uint8
        Definition: base.hpp:41
        diff --git a/docs/mouse__events_8hpp.html b/docs/mouse__events_8hpp.html index 80a47142..21cb6de4 100644 --- a/docs/mouse__events_8hpp.html +++ b/docs/mouse__events_8hpp.html @@ -98,7 +98,7 @@ diff --git a/docs/mouse__events_8hpp_source.html b/docs/mouse__events_8hpp_source.html index 32819a67..e7719f0a 100644 --- a/docs/mouse__events_8hpp_source.html +++ b/docs/mouse__events_8hpp_source.html @@ -163,11 +163,11 @@
        MouseScrollEvent(const float xOffset, const float yOffset)
        Definition: mouse_events.hpp:63
        #define EVENT_CLASS_TYPE(type)
        Definition: event.hpp:62
        -
        Definition: base.hpp:17
        +
        Definition: base.hpp:13
        diff --git a/docs/namespace_y_a_m_l.html b/docs/namespace_y_a_m_l.html index ca899d72..df56cb1d 100644 --- a/docs/namespace_y_a_m_l.html +++ b/docs/namespace_y_a_m_l.html @@ -144,7 +144,7 @@

        diff --git a/docs/namespacejng.html b/docs/namespacejng.html index c1d16376..333ec8bd 100644 --- a/docs/namespacejng.html +++ b/docs/namespacejng.html @@ -108,6 +108,7 @@

    + @@ -153,6 +154,8 @@ + + @@ -804,7 +807,7 @@

    diff --git a/docs/namespacejng_1_1_key.html b/docs/namespacejng_1_1_key.html index b2fa234c..9e99a5d5 100644 --- a/docs/namespacejng_1_1_key.html +++ b/docs/namespacejng_1_1_key.html @@ -2981,7 +2981,7 @@

    diff --git a/docs/namespacejng_1_1_mouse.html b/docs/namespacejng_1_1_mouse.html index bc36a153..796601d5 100644 --- a/docs/namespacejng_1_1_mouse.html +++ b/docs/namespacejng_1_1_mouse.html @@ -221,7 +221,7 @@

    diff --git a/docs/namespacejng_1_1_platform.html b/docs/namespacejng_1_1_platform.html index 507645e2..613cb393 100644 --- a/docs/namespacejng_1_1_platform.html +++ b/docs/namespacejng_1_1_platform.html @@ -140,7 +140,7 @@

    diff --git a/docs/namespacemembers.html b/docs/namespacemembers.html index 4dc717d0..05172a1d 100644 --- a/docs/namespacemembers.html +++ b/docs/namespacemembers.html @@ -320,7 +320,7 @@

    - z -

      diff --git a/docs/namespacemembers_enum.html b/docs/namespacemembers_enum.html index 49d444d0..d07a3f1b 100644 --- a/docs/namespacemembers_enum.html +++ b/docs/namespacemembers_enum.html @@ -70,7 +70,7 @@ diff --git a/docs/namespacemembers_func.html b/docs/namespacemembers_func.html index ed14fbf4..3ec0a265 100644 --- a/docs/namespacemembers_func.html +++ b/docs/namespacemembers_func.html @@ -73,7 +73,7 @@ diff --git a/docs/namespacemembers_type.html b/docs/namespacemembers_type.html index 29d933eb..615d20ea 100644 --- a/docs/namespacemembers_type.html +++ b/docs/namespacemembers_type.html @@ -80,7 +80,7 @@ diff --git a/docs/namespacemembers_vars.html b/docs/namespacemembers_vars.html index 3a48b96e..3a31a68e 100644 --- a/docs/namespacemembers_vars.html +++ b/docs/namespacemembers_vars.html @@ -301,7 +301,7 @@

      - z -

        diff --git a/docs/namespaces.html b/docs/namespaces.html index d59f33ff..eb3c3e42 100644 --- a/docs/namespaces.html +++ b/docs/namespaces.html @@ -83,7 +83,7 @@

    - + @@ -108,54 +108,55 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Namespaces

     Cjng::CameraComponent
     CYAML::convert< glm::vec3 >
     CYAML::convert< glm::vec4 >
     Cjng::Engine
     Cjng::EngineMain engine class from which all client applications derive
     Cjng::Entity
     Cjng::Event
     Cjng::KeyEvent
     Cjng::LayoutElement
     Cjng::NativeScript
     Cjng::NativeScriptComponent
     Cccl::NonCopyable
     Cjng::NonCopyable
     Cjng::Renderer
     Cjng::Renderer2D
     Cjng::Engine::Properties
    class  Direct3DVertexBuffer
     
    class  Engine
     Main engine class from which all client applications derive. More...
     
    class  Entity
     
     
    struct  NativeScriptComponent
     
    class  NonCopyable
     
    class  OpenGLFramebuffer
     
    class  OpenGLGraphicsContext
     CDirect3DUniformBuffer
     CDirect3DVertexArray
     CDirect3DVertexBuffer
     CEngine
     CEngineMain engine class from which all client applications derive
     CProperties
     CEntity
     CEvent
     CMouseScrollEvent
     CNativeScript
     CNativeScriptComponent
     COpenGLFramebuffer
     COpenGLGraphicsContext
     COpenGLIndexBuffer
     COpenGLRendererAPI
     COpenGLShader
     COpenGLTexture
     COpenGLUniformBuffer
     COpenGLVertexArray
     COpenGLVertexBuffer
     CQuadVertex
     CRenderData
     CRenderer
     CRenderer2D
     CProperties
     CStatistics
     CRendererAPI
     CRendererAPIImpl
     CScene
     CSceneSerializer
     CShader
     CSpriteComponent
     CTagComponent
     CTexture
     CTransformComponent
     CUniformBuffer
     CVertexArray
     CVertexBuffer
     CVertexLayout
     CVulkanGraphicsContext
     CVulkanIndexBuffer
     CVulkanRendererAPI
     CVulkanShader
     CVulkanTexture
     CVulkanVertexArray
     CVulkanVertexBuffer
     CWindow
     CWindowData
     CWindowCloseEvent
     CWindowResizeEvent
     NYAML
     Cconvert< glm::vec3 >
     Cconvert< glm::vec4 >
     CNonCopyable
     COpenGLFramebuffer
     COpenGLGraphicsContext
     COpenGLIndexBuffer
     COpenGLRendererAPI
     COpenGLShader
     COpenGLTexture
     COpenGLUniformBuffer
     COpenGLVertexArray
     COpenGLVertexBuffer
     CQuadVertex
     CRenderData
     CRenderer
     CRenderer2D
     CProperties
     CStatistics
     CRendererAPI
     CRendererAPIImpl
     CScene
     CSceneSerializer
     CShader
     CSpriteComponent
     CTagComponent
     CTexture
     CTransformComponent
     CUniformBuffer
     CVertexArray
     CVertexBuffer
     CVertexLayout
     CVulkanGraphicsContext
     CVulkanIndexBuffer
     CVulkanRendererAPI
     CVulkanShader
     CVulkanTexture
     CVulkanVertexArray
     CVulkanVertexBuffer
     CWindow
     CWindowData
     CWindowCloseEvent
     CWindowResizeEvent
     NYAML
     Cconvert< glm::vec3 >
     Cconvert< glm::vec4 >
    diff --git a/docs/native__script_8hpp.html b/docs/native__script_8hpp.html index 8f2999b6..18c2b74d 100644 --- a/docs/native__script_8hpp.html +++ b/docs/native__script_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/native__script_8hpp_source.html b/docs/native__script_8hpp_source.html index 9603dc98..756e0764 100644 --- a/docs/native__script_8hpp_source.html +++ b/docs/native__script_8hpp_source.html @@ -81,39 +81,56 @@
    9
    10namespace jng {
    11
    - -
    13 {
    -
    14 public:
    -
    15 explicit NativeScript() = default;
    -
    16 virtual ~NativeScript() = default;
    -
    17
    -
    18 virtual void onCreate() {}
    -
    19 virtual void onDestroy() {}
    -
    20 virtual void onUpdate(float /*dt*/) {}
    -
    21 protected:
    -
    22 template<typename T>
    -
    23 T& getComponent() { return m_entity.getComponent<T>(); }
    -
    24 private:
    -
    25 Entity m_entity;
    -
    26 };
    -
    27
    -
    28} // namespace jng
    +
    12 class Event;
    +
    13 class Scene;
    +
    14
    + +
    16 {
    +
    17 public:
    +
    18 explicit NativeScript() = default;
    +
    19 virtual ~NativeScript() = default;
    +
    20
    +
    21 virtual void onCreate() {}
    +
    22 virtual void onDestroy() {}
    +
    23 virtual void onUpdate(float /*dt*/) {}
    +
    24 virtual void onEvent(Event& /*event*/) {}
    +
    25 protected:
    +
    26 template<typename T>
    +
    27 T& getComponent() { return m_entity.getComponent<T>(); }
    +
    28
    +
    29 Entity createEntity(const std::string& name) { return m_entity.getScene()->createEntity(name); }
    +
    30 void destroyEntity(Entity entity) { return m_entity.getScene()->destroyEntity(entity); }
    +
    31 private:
    +
    32 Entity m_entity;
    +
    33
    +
    34 friend class Scene;
    +
    35 };
    +
    36
    +
    37} // namespace jng
    Definition: entity.hpp:17
    -
    Component & getComponent()
    Definition: entity.hpp:65
    -
    Definition: native_script.hpp:13
    -
    virtual void onCreate()
    Definition: native_script.hpp:18
    +
    Scene * getScene()
    Definition: entity.hpp:33
    +
    Component & getComponent()
    Definition: entity.hpp:67
    +
    Definition: event.hpp:25
    +
    Definition: native_script.hpp:16
    +
    virtual void onCreate()
    Definition: native_script.hpp:21
    virtual ~NativeScript()=default
    -
    virtual void onDestroy()
    Definition: native_script.hpp:19
    -
    T & getComponent()
    Definition: native_script.hpp:23
    -
    virtual void onUpdate(float)
    Definition: native_script.hpp:20
    +
    virtual void onDestroy()
    Definition: native_script.hpp:22
    +
    T & getComponent()
    Definition: native_script.hpp:27
    +
    virtual void onEvent(Event &)
    Definition: native_script.hpp:24
    +
    Entity createEntity(const std::string &name)
    Definition: native_script.hpp:29
    +
    virtual void onUpdate(float)
    Definition: native_script.hpp:23
    NativeScript()=default
    +
    void destroyEntity(Entity entity)
    Definition: native_script.hpp:30
    +
    Definition: scene.hpp:20
    +
    Entity createEntity(const std::string &name)
    Definition: scene.cpp:19
    +
    void destroyEntity(Entity entity)
    Definition: scene.cpp:28
    constexpr KeyCode T
    Definition: key_codes.hpp:56
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/platform_8hpp.html b/docs/platform_8hpp.html index 58eed6df..61a92103 100644 --- a/docs/platform_8hpp.html +++ b/docs/platform_8hpp.html @@ -75,6 +75,7 @@
    #include "jng/core/base.hpp"
    #include "jng/platform/key_codes.hpp"
    +#include <string>

    Go to the source code of this file.

    @@ -97,7 +98,7 @@ diff --git a/docs/platform_8hpp_source.html b/docs/platform_8hpp_source.html index c12f22b3..b01c80ec 100644 --- a/docs/platform_8hpp_source.html +++ b/docs/platform_8hpp_source.html @@ -80,24 +80,26 @@
    8#include "jng/core/base.hpp"
    10
    -
    11namespace jng {
    -
    12 namespace Platform {
    -
    13
    -
    19 std::string openFilenameDialog(const char* filter);
    -
    20
    -
    26 std::string saveFilenameDialog(const char* filter);
    -
    27
    -
    28 } // namespace Platform
    -
    29} // namespace jng
    +
    11#include <string>
    +
    12
    +
    13namespace jng {
    +
    14 namespace Platform {
    +
    15
    +
    21 std::string openFilenameDialog(const char* filter);
    +
    22
    +
    28 std::string saveFilenameDialog(const char* filter);
    +
    29
    +
    30 } // namespace Platform
    +
    31} // namespace jng
    std::string saveFilenameDialog(const char *filter)
    Opens a save filename dialog native to the system.
    Definition: platform_win.cpp:43
    std::string openFilenameDialog(const char *filter)
    Opens an open filename dialog native to the system.
    Definition: platform_win.cpp:22
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/platform__win_8cpp.html b/docs/platform__win_8cpp.html index 58c62f11..8e1d766a 100644 --- a/docs/platform__win_8cpp.html +++ b/docs/platform__win_8cpp.html @@ -121,7 +121,7 @@

    diff --git a/docs/profiling_8cpp.html b/docs/profiling_8cpp.html index 02fd6a47..fc2e6d03 100644 --- a/docs/profiling_8cpp.html +++ b/docs/profiling_8cpp.html @@ -74,7 +74,7 @@ diff --git a/docs/profiling_8hpp.html b/docs/profiling_8hpp.html index 224186f6..38d6d04e 100644 --- a/docs/profiling_8hpp.html +++ b/docs/profiling_8hpp.html @@ -176,7 +176,7 @@

    diff --git a/docs/profiling_8hpp_source.html b/docs/profiling_8hpp_source.html index bf733894..0c090af1 100644 --- a/docs/profiling_8hpp_source.html +++ b/docs/profiling_8hpp_source.html @@ -191,7 +191,7 @@ diff --git a/docs/renderer2d_8cpp.html b/docs/renderer2d_8cpp.html index 599020c3..a104f7a5 100644 --- a/docs/renderer2d_8cpp.html +++ b/docs/renderer2d_8cpp.html @@ -102,7 +102,7 @@ diff --git a/docs/renderer2d_8hpp.html b/docs/renderer2d_8hpp.html index 9267c065..5299b3af 100644 --- a/docs/renderer2d_8hpp.html +++ b/docs/renderer2d_8hpp.html @@ -95,7 +95,7 @@ diff --git a/docs/renderer2d_8hpp_source.html b/docs/renderer2d_8hpp_source.html index 2d13863e..9d240ab5 100644 --- a/docs/renderer2d_8hpp_source.html +++ b/docs/renderer2d_8hpp_source.html @@ -88,7 +88,7 @@
    16 class Texture;
    17
    18 class Renderer2D :
    -
    19 public ccl::NonCopyable
    +
    19 public NonCopyable
    20 {
    21 public:
    @@ -125,6 +125,7 @@
    53
    54} // namespace jng
    +
    Definition: base.hpp:16
    Definition: renderer2d.hpp:20
    static void shutdown()
    Definition: renderer2d.cpp:111
    static void fillQuad(const Properties &properties)
    Definition: renderer2d.cpp:134
    @@ -132,9 +133,9 @@
    static void init()
    Definition: renderer2d.cpp:61
    static const Statistics & getStatistics()
    Definition: renderer2d.cpp:230
    static void endScene()
    Definition: renderer2d.cpp:127
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: renderer2d.hpp:23
    const uint32 color
    Definition: renderer2d.hpp:27
    const glm::vec2 * textureCoords
    Definition: renderer2d.hpp:25
    @@ -146,7 +147,7 @@ diff --git a/docs/renderer_8cpp.html b/docs/renderer_8cpp.html index 63e1d114..b8a0911d 100644 --- a/docs/renderer_8cpp.html +++ b/docs/renderer_8cpp.html @@ -83,7 +83,7 @@ diff --git a/docs/renderer_8hpp.html b/docs/renderer_8hpp.html index 00414918..727efd8b 100644 --- a/docs/renderer_8hpp.html +++ b/docs/renderer_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/renderer_8hpp_source.html b/docs/renderer_8hpp_source.html index f7e38b2e..5988f11a 100644 --- a/docs/renderer_8hpp_source.html +++ b/docs/renderer_8hpp_source.html @@ -82,7 +82,7 @@
    10namespace jng {
    11
    12 class Renderer :
    -
    13 public ccl::NonCopyable
    +
    13 public NonCopyable
    14 {
    15 public:
    16 static void init();
    @@ -92,14 +92,15 @@
    20
    21} // namespace jng
    +
    Definition: base.hpp:16
    Definition: renderer.hpp:14
    static void shutdown()
    Definition: renderer.cpp:18
    static void init()
    Definition: renderer.cpp:13
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/renderer__api_8cpp.html b/docs/renderer__api_8cpp.html index 504c5eaa..6f8af533 100644 --- a/docs/renderer__api_8cpp.html +++ b/docs/renderer__api_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/renderer__api_8hpp.html b/docs/renderer__api_8hpp.html index 9a73be4f..04324bb4 100644 --- a/docs/renderer__api_8hpp.html +++ b/docs/renderer__api_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/renderer__api_8hpp_source.html b/docs/renderer__api_8hpp_source.html index fa72914c..5de33799 100644 --- a/docs/renderer__api_8hpp_source.html +++ b/docs/renderer__api_8hpp_source.html @@ -124,11 +124,11 @@
    static void clear(const glm::vec3 &color)
    Definition: renderer_api.hpp:33
    static void drawIndexed(const Ref< VertexArray > &vao)
    Definition: renderer_api.hpp:35
    static void setViewport(uint32 x, uint32 y, uint32 width, uint32 height)
    Definition: renderer_api.hpp:32
    -
    Definition: base.hpp:17
    -
    RendererBackend
    Definition: base.hpp:44
    -
    std::unique_ptr< T > Scope
    Definition: base.hpp:20
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    RendererBackend
    Definition: base.hpp:50
    +
    std::unique_ptr< T > Scope
    Definition: base.hpp:26
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: renderer_api.hpp:19
    virtual void drawIndexed(const Ref< VertexArray > &vao) const =0
    virtual void setViewport(uint32 x, uint32 y, uint32 width, uint32 height) const =0
    @@ -139,7 +139,7 @@ diff --git a/docs/renderer__api__d3d_8cpp.html b/docs/renderer__api__d3d_8cpp.html index 271cbbb5..2adfcbb7 100644 --- a/docs/renderer__api__d3d_8cpp.html +++ b/docs/renderer__api__d3d_8cpp.html @@ -91,7 +91,7 @@ diff --git a/docs/renderer__api__d3d_8hpp.html b/docs/renderer__api__d3d_8hpp.html index ff5c3b2e..a4ea00ae 100644 --- a/docs/renderer__api__d3d_8hpp.html +++ b/docs/renderer__api__d3d_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/renderer__api__d3d_8hpp_source.html b/docs/renderer__api__d3d_8hpp_source.html index 83a00a57..0142ed65 100644 --- a/docs/renderer__api__d3d_8hpp_source.html +++ b/docs/renderer__api__d3d_8hpp_source.html @@ -101,15 +101,15 @@
    void clear(const glm::vec3 &color) const override
    Definition: renderer_api_d3d.cpp:27
    void setViewport(uint32 x, uint32 y, uint32 width, uint32 height) const override
    Definition: renderer_api_d3d.cpp:22
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: renderer_api.hpp:19
    diff --git a/docs/renderer__api__ogl_8cpp.html b/docs/renderer__api__ogl_8cpp.html index 6c9c67b6..c9a9d85f 100644 --- a/docs/renderer__api__ogl_8cpp.html +++ b/docs/renderer__api__ogl_8cpp.html @@ -75,7 +75,7 @@
    #include "renderer/opengl/renderer_api_ogl.hpp"
    #include "renderer/buffers.hpp"
    #include "renderer/vertex_array.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>

    @@ -85,7 +85,7 @@ diff --git a/docs/renderer__api__ogl_8hpp.html b/docs/renderer__api__ogl_8hpp.html index 40197b71..ffcc25ca 100644 --- a/docs/renderer__api__ogl_8hpp.html +++ b/docs/renderer__api__ogl_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/renderer__api__ogl_8hpp_source.html b/docs/renderer__api__ogl_8hpp_source.html index ec6a8747..8542bb47 100644 --- a/docs/renderer__api__ogl_8hpp_source.html +++ b/docs/renderer__api__ogl_8hpp_source.html @@ -101,15 +101,15 @@
    void setViewport(uint32 x, uint32 y, uint32 width, uint32 height) const override
    Definition: renderer_api_ogl.cpp:16
    void draw(uint32 count) const override
    Definition: renderer_api_ogl.cpp:27
    void clear(const glm::vec3 &color) const override
    Definition: renderer_api_ogl.cpp:21
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: renderer_api.hpp:19
    diff --git a/docs/renderer__api__vlk_8cpp.html b/docs/renderer__api__vlk_8cpp.html index 7370ec95..48ecc116 100644 --- a/docs/renderer__api__vlk_8cpp.html +++ b/docs/renderer__api__vlk_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/renderer__api__vlk_8hpp.html b/docs/renderer__api__vlk_8hpp.html index 48ced6eb..7acc3a91 100644 --- a/docs/renderer__api__vlk_8hpp.html +++ b/docs/renderer__api__vlk_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/renderer__api__vlk_8hpp_source.html b/docs/renderer__api__vlk_8hpp_source.html index 5f4e96ad..f41889af 100644 --- a/docs/renderer__api__vlk_8hpp_source.html +++ b/docs/renderer__api__vlk_8hpp_source.html @@ -101,15 +101,15 @@
    void draw(uint32 count) const override
    Definition: renderer_api_vlk.cpp:24
    void clear(const glm::vec3 &color) const override
    Definition: renderer_api_vlk.cpp:19
    void drawIndexed(const Ref< VertexArray > &vao) const override
    Definition: renderer_api_vlk.cpp:28
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: renderer_api.hpp:19
    diff --git a/docs/scene_8cpp.html b/docs/scene_8cpp.html index 5e392856..07588336 100644 --- a/docs/scene_8cpp.html +++ b/docs/scene_8cpp.html @@ -77,6 +77,7 @@ #include "renderer/renderer2d.hpp"
    #include "scene/components.hpp"
    #include "scene/entity.hpp"
    +#include "scripting/native_script.hpp"
    #include <glm/gtx/matrix_decompose.hpp>

    Namespaces

    @@ -87,7 +88,7 @@ diff --git a/docs/scene_8hpp.html b/docs/scene_8hpp.html index db26f92d..b5de3430 100644 --- a/docs/scene_8hpp.html +++ b/docs/scene_8hpp.html @@ -73,8 +73,9 @@
    scene.hpp File Reference
    -
    #include "jng/renderer/camera.hpp"
    +
    #include "jng/scene/camera.hpp"
    #include <entt/entt.hpp>
    +#include <string>

    Go to the source code of this file.

    @@ -91,7 +92,7 @@ diff --git a/docs/scene_8hpp_source.html b/docs/scene_8hpp_source.html index 561d751e..125e485e 100644 --- a/docs/scene_8hpp_source.html +++ b/docs/scene_8hpp_source.html @@ -77,62 +77,71 @@
    5 */
    6
    7#pragma once
    - +
    9
    10#include <entt/entt.hpp>
    -
    11
    -
    12namespace jng {
    -
    13
    -
    14 class Entity;
    -
    15 class SceneSerializer;
    -
    16
    -
    17 class Scene
    -
    18 {
    -
    19 public:
    -
    20 Scene() = default;
    -
    21
    -
    22 Entity createEntity(const std::string& name);
    -
    23 void destroyEntity(Entity entity);
    -
    24
    - +
    11#include <string>
    +
    12
    +
    13namespace jng {
    +
    14
    +
    15 class Entity;
    +
    16 class Event;
    +
    17 class SceneSerializer;
    +
    18
    +
    19 class Scene
    +
    20 {
    +
    21 public:
    +
    22 Scene() = default;
    +
    23
    +
    24 Entity createEntity(const std::string& name);
    +
    25 void destroyEntity(Entity entity);
    26
    -
    27 void onUpdate();
    -
    28
    -
    29 template<typename Func>
    -
    30 void each(Func func);
    -
    31 private:
    -
    32 entt::registry m_registry;
    -
    33 Camera* m_camera = nullptr;
    -
    34
    -
    35 friend class Entity;
    -
    36 friend class SceneSerializer;
    -
    37 };
    -
    38
    -
    39 template<typename Func>
    -
    40 void Scene::each(Func func)
    -
    41 {
    -
    42 m_registry.each([&](entt::entity entityHandle) {
    -
    43 func({ entityHandle, *this });
    -
    44 });
    -
    45 }
    -
    46
    -
    47} // namespace jng
    + +
    28
    +
    29 void onCreate();
    +
    30 void onDestroy();
    +
    31 void onUpdate(float dt);
    +
    32 void onEvent(Event& event);
    +
    33
    +
    34 template<typename Func>
    +
    35 void each(Func func);
    +
    36 private:
    +
    37 entt::registry m_registry;
    +
    38 Camera* m_camera = nullptr;
    +
    39
    +
    40 friend class Entity;
    +
    41 friend class SceneSerializer;
    +
    42 };
    +
    43
    +
    44 template<typename Func>
    +
    45 void Scene::each(Func func)
    +
    46 {
    +
    47 m_registry.each([&](entt::entity entityHandle) {
    +
    48 func({ entityHandle, *this });
    +
    49 });
    +
    50 }
    +
    51
    +
    52} // namespace jng
    Definition: camera.hpp:16
    Definition: entity.hpp:17
    -
    Definition: scene.hpp:18
    -
    Entity createEntity(const std::string &name)
    Definition: scene.cpp:18
    -
    Camera * getActiveCamera()
    Definition: scene.cpp:32
    +
    Definition: event.hpp:25
    +
    Definition: scene.hpp:20
    +
    Entity createEntity(const std::string &name)
    Definition: scene.cpp:19
    +
    void onDestroy()
    Definition: scene.cpp:59
    +
    Camera * getActiveCamera()
    Definition: scene.cpp:33
    +
    void onEvent(Event &event)
    Definition: scene.cpp:72
    Scene()=default
    -
    void destroyEntity(Entity entity)
    Definition: scene.cpp:27
    -
    void each(Func func)
    Definition: scene.hpp:40
    -
    void onUpdate()
    Definition: scene.cpp:44
    +
    void destroyEntity(Entity entity)
    Definition: scene.cpp:28
    +
    void each(Func func)
    Definition: scene.hpp:45
    +
    void onCreate()
    Definition: scene.cpp:45
    +
    void onUpdate(float dt)
    Definition: scene.cpp:84
    Definition: scene_serializer.hpp:19
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    diff --git a/docs/scene__serializer_8cpp.html b/docs/scene__serializer_8cpp.html index 2606f832..71c68651 100644 --- a/docs/scene__serializer_8cpp.html +++ b/docs/scene__serializer_8cpp.html @@ -104,7 +104,7 @@ diff --git a/docs/scene__serializer_8hpp.html b/docs/scene__serializer_8hpp.html index 4a8c4c8b..25f1fffd 100644 --- a/docs/scene__serializer_8hpp.html +++ b/docs/scene__serializer_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/scene__serializer_8hpp_source.html b/docs/scene__serializer_8hpp_source.html index 087f4279..73fb90d3 100644 --- a/docs/scene__serializer_8hpp_source.html +++ b/docs/scene__serializer_8hpp_source.html @@ -107,13 +107,13 @@
    void serialize(const char *filename)
    Definition: scene_serializer.cpp:85
    void deserialize(const char *filename)
    Definition: scene_serializer.cpp:103
    Definition: scene_serializer.hpp:10
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    diff --git a/docs/search/all_12.js b/docs/search/all_12.js index 9c59a3e9..542f0d06 100644 --- a/docs/search/all_12.js +++ b/docs/search/all_12.js @@ -4,7 +4,7 @@ var searchData= ['samples_1',['samples',['../structjng_1_1_framebuffer_1_1_properties.html#a939f579076519c1198a162eb424e53d1',1,'jng::Framebuffer::Properties']]], ['savefilenamedialog_2',['saveFilenameDialog',['../namespacejng_1_1_platform.html#a22acb53148184042e8938ce09ddc04bc',1,'jng::Platform']]], ['scale_3',['scale',['../structjng_1_1_transform_component.html#a71557d62c67cd6269534c78e462dcb86',1,'jng::TransformComponent']]], - ['scene_4',['Scene',['../classjng_1_1_scene.html',1,'jng::Scene'],['../classjng_1_1_scene.html#a66016f35c0b3c131e78ae21f890b02b5',1,'jng::Scene::Scene()'],['../classjng_1_1_entity.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::Entity::Scene()']]], + ['scene_4',['Scene',['../classjng_1_1_scene.html',1,'jng::Scene'],['../classjng_1_1_native_script.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::NativeScript::Scene()'],['../classjng_1_1_entity.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::Entity::Scene()'],['../classjng_1_1_scene.html#a66016f35c0b3c131e78ae21f890b02b5',1,'jng::Scene::Scene()']]], ['scene_2ecpp_5',['scene.cpp',['../scene_8cpp.html',1,'']]], ['scene_2ehpp_6',['scene.hpp',['../scene_8hpp.html',1,'']]], ['scene_5fserializer_2ecpp_7',['scene_serializer.cpp',['../scene__serializer_8cpp.html',1,'']]], @@ -15,23 +15,23 @@ var searchData= ['semicolon_12',['Semicolon',['../namespacejng_1_1_key.html#a6ff1b11c55eeb482e746f0d4b966170c',1,'jng::Key']]], ['serialize_13',['serialize',['../classjng_1_1_scene_serializer.html#a5b22e0f3e2a3d0f74081d479c6ec48a1',1,'jng::SceneSerializer']]], ['setcurrentrendertarget_14',['setCurrentRenderTarget',['../classjng_1_1_direct3_d_graphics_context.html#a51b7cf60162c1f3fa7cdf83d6c4e6523',1,'jng::Direct3DGraphicsContext']]], - ['setdata_15',['setData',['../classjng_1_1_vulkan_texture.html#a5f57c1a0afbd6841406d51a0f0d11d15',1,'jng::VulkanTexture::setData()'],['../classjng_1_1_vertex_buffer.html#a55cf3e10dc27adfd5b6a982f35c21993',1,'jng::VertexBuffer::setData()'],['../classjng_1_1_uniform_buffer.html#a6b507f56499c8ac7f9708f5c77b912e2',1,'jng::UniformBuffer::setData()'],['../classjng_1_1_texture.html#a03d9ff7d96237769d47cd9da782584c4',1,'jng::Texture::setData()'],['../classjng_1_1_direct3_d_vertex_buffer.html#af1a83f2624d29aaaeda0de35a0d9ae3f',1,'jng::Direct3DVertexBuffer::setData()'],['../classjng_1_1_direct3_d_uniform_buffer.html#a4c871932e4284fb217f99bed3c50b1c4',1,'jng::Direct3DUniformBuffer::setData()'],['../classjng_1_1_direct3_d_texture.html#a2078895b805e7a6576297c5f2f50824c',1,'jng::Direct3DTexture::setData()'],['../classjng_1_1_open_g_l_vertex_buffer.html#a8d560aa03227e9c0fce741bf5c9247f2',1,'jng::OpenGLVertexBuffer::setData()'],['../classjng_1_1_open_g_l_uniform_buffer.html#af67f0e7a787cd485019c09411cdf40ee',1,'jng::OpenGLUniformBuffer::setData()'],['../classjng_1_1_open_g_l_texture.html#a0eb480d858a2d2c1e4d688d6d20a97b5',1,'jng::OpenGLTexture::setData()'],['../classjng_1_1_vulkan_vertex_buffer.html#a528f0d96d83e578c46b7866f8dab1676',1,'jng::VulkanVertexBuffer::setData()']]], + ['setdata_15',['setData',['../classjng_1_1_open_g_l_vertex_buffer.html#a8d560aa03227e9c0fce741bf5c9247f2',1,'jng::OpenGLVertexBuffer::setData()'],['../classjng_1_1_open_g_l_uniform_buffer.html#af67f0e7a787cd485019c09411cdf40ee',1,'jng::OpenGLUniformBuffer::setData()'],['../classjng_1_1_open_g_l_texture.html#a0eb480d858a2d2c1e4d688d6d20a97b5',1,'jng::OpenGLTexture::setData()'],['../classjng_1_1_vulkan_vertex_buffer.html#a528f0d96d83e578c46b7866f8dab1676',1,'jng::VulkanVertexBuffer::setData()'],['../classjng_1_1_vulkan_texture.html#a5f57c1a0afbd6841406d51a0f0d11d15',1,'jng::VulkanTexture::setData()'],['../classjng_1_1_vertex_buffer.html#a55cf3e10dc27adfd5b6a982f35c21993',1,'jng::VertexBuffer::setData()'],['../classjng_1_1_uniform_buffer.html#a6b507f56499c8ac7f9708f5c77b912e2',1,'jng::UniformBuffer::setData()'],['../classjng_1_1_texture.html#a03d9ff7d96237769d47cd9da782584c4',1,'jng::Texture::setData()'],['../classjng_1_1_direct3_d_vertex_buffer.html#af1a83f2624d29aaaeda0de35a0d9ae3f',1,'jng::Direct3DVertexBuffer::setData()'],['../classjng_1_1_direct3_d_uniform_buffer.html#a4c871932e4284fb217f99bed3c50b1c4',1,'jng::Direct3DUniformBuffer::setData()'],['../classjng_1_1_direct3_d_texture.html#a2078895b805e7a6576297c5f2f50824c',1,'jng::Direct3DTexture::setData()']]], ['seteventcallback_16',['setEventCallback',['../classjng_1_1_window.html#a42b2908932dcda5a9def998fa55cc1bb',1,'jng::Window']]], - ['setindexbuffer_17',['setIndexBuffer',['../classjng_1_1_vertex_array.html#ac5331abe64c3160120befedb9c6d5d98',1,'jng::VertexArray::setIndexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#ac9b357d38e6c1093b76b38ecd3f8236c',1,'jng::Direct3DVertexArray::setIndexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aec1320d294632d70d8b1cfd23a8cc8c6',1,'jng::OpenGLVertexArray::setIndexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#afff4d710d4a550abb70143546da1269e',1,'jng::VulkanVertexArray::setIndexBuffer()']]], - ['setorthographic_18',['setOrthographic',['../classjng_1_1_camera.html#adf98a6530bce7a03472960b5d9cdcdb9',1,'jng::Camera']]], - ['setorthographicfar_19',['setOrthographicFar',['../classjng_1_1_camera.html#a4dd8b2dbc31124c43f9bafc4b8079d07',1,'jng::Camera']]], - ['setorthographicnear_20',['setOrthographicNear',['../classjng_1_1_camera.html#ac906225a1a0d28e0f8443433a14e5af0',1,'jng::Camera']]], - ['setorthographicsize_21',['setOrthographicSize',['../classjng_1_1_camera.html#a4aab1e70016c6603637b492767f1d4be',1,'jng::Camera']]], - ['setperspective_22',['setPerspective',['../classjng_1_1_camera.html#a90561258da06d2d595d7c6ebf1d67760',1,'jng::Camera']]], - ['setperspectivefar_23',['setPerspectiveFar',['../classjng_1_1_camera.html#a9df6cd6e5975c73fdd1c287c78cda8bf',1,'jng::Camera']]], - ['setperspectivefov_24',['setPerspectiveFOV',['../classjng_1_1_camera.html#a95db1295d4326485d03c704975088ff5',1,'jng::Camera']]], - ['setperspectivenear_25',['setPerspectiveNear',['../classjng_1_1_camera.html#a296d8472c0204387b57a64ea0ff4ad67',1,'jng::Camera']]], + ['setindexbuffer_17',['setIndexBuffer',['../classjng_1_1_open_g_l_vertex_array.html#aec1320d294632d70d8b1cfd23a8cc8c6',1,'jng::OpenGLVertexArray::setIndexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#afff4d710d4a550abb70143546da1269e',1,'jng::VulkanVertexArray::setIndexBuffer()'],['../classjng_1_1_vertex_array.html#ac5331abe64c3160120befedb9c6d5d98',1,'jng::VertexArray::setIndexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#ac9b357d38e6c1093b76b38ecd3f8236c',1,'jng::Direct3DVertexArray::setIndexBuffer()']]], + ['setorthographic_18',['setOrthographic',['../classjng_1_1_camera.html#ad7e919017de8f10b6ca7a365493a5b3a',1,'jng::Camera']]], + ['setorthographicfar_19',['setOrthographicFar',['../classjng_1_1_camera.html#a93e14c44b41b296ce05a831254333b85',1,'jng::Camera']]], + ['setorthographicnear_20',['setOrthographicNear',['../classjng_1_1_camera.html#a96139720021038afbd1c34f357ca6454',1,'jng::Camera']]], + ['setorthographicsize_21',['setOrthographicSize',['../classjng_1_1_camera.html#a669df0642b08cb1d543f8707cfa4b3c6',1,'jng::Camera']]], + ['setperspective_22',['setPerspective',['../classjng_1_1_camera.html#afacc9676174fe4580c04f386c140e110',1,'jng::Camera']]], + ['setperspectivefar_23',['setPerspectiveFar',['../classjng_1_1_camera.html#a6bad9e360501ced12a35fe3db21801d9',1,'jng::Camera']]], + ['setperspectivefov_24',['setPerspectiveFOV',['../classjng_1_1_camera.html#aac4c8fac2528f84c3f326b2744371668',1,'jng::Camera']]], + ['setperspectivenear_25',['setPerspectiveNear',['../classjng_1_1_camera.html#a81b5f4498ab782adb2e3363595019cfb',1,'jng::Camera']]], ['setprojectiontype_26',['setProjectionType',['../classjng_1_1_camera.html#a2e197b85957f37280e444229e0117bd3',1,'jng::Camera']]], ['settitle_27',['setTitle',['../classjng_1_1_window.html#a7a0c66cb0d92257e9dcd9faf930e3c68',1,'jng::Window']]], ['setvertexlayout_28',['setVertexLayout',['../classjng_1_1_direct3_d_vertex_buffer.html#a3d144320241b72b53a276eb4ebab8b0c',1,'jng::Direct3DVertexBuffer']]], ['setviewport_29',['setViewport',['../classjng_1_1_open_g_l_renderer_a_p_i.html#ab207f7ea7c0562c2468dc5325c5ffcac',1,'jng::OpenGLRendererAPI::setViewport()'],['../classjng_1_1_vulkan_renderer_a_p_i.html#a7d0539faea7b83db5574653f424dee84',1,'jng::VulkanRendererAPI::setViewport()'],['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#a4b071d675a10d01d901e6f1c66212c7f',1,'jng::RendererAPI::RendererAPIImpl::setViewport()'],['../classjng_1_1_renderer_a_p_i.html#ae1396674236bbcdc2af3b511f825df99',1,'jng::RendererAPI::setViewport()'],['../classjng_1_1_direct3_d_renderer_a_p_i.html#ab5cfc7310e88d7460ed84a188d649ecc',1,'jng::Direct3DRendererAPI::setViewport()']]], ['setviewportsize_30',['setViewportSize',['../classjng_1_1_camera.html#aa471af643e86e06d61a7b4fc9685b10c',1,'jng::Camera']]], - ['setvsync_31',['setVSync',['../classjng_1_1_graphics_context.html#a48e242ba972e323af11d48e252e428e9',1,'jng::GraphicsContext::setVSync()'],['../classjng_1_1_open_g_l_graphics_context.html#a2f853bc00b448ffd818138f53c17afcf',1,'jng::OpenGLGraphicsContext::setVSync()'],['../classjng_1_1_direct3_d_graphics_context.html#aae815ff8c5b53c9042c244e387f528ab',1,'jng::Direct3DGraphicsContext::setVSync()']]], + ['setvsync_31',['setVSync',['../classjng_1_1_direct3_d_graphics_context.html#aae815ff8c5b53c9042c244e387f528ab',1,'jng::Direct3DGraphicsContext::setVSync()'],['../classjng_1_1_graphics_context.html#a48e242ba972e323af11d48e252e428e9',1,'jng::GraphicsContext::setVSync()'],['../classjng_1_1_open_g_l_graphics_context.html#a2f853bc00b448ffd818138f53c17afcf',1,'jng::OpenGLGraphicsContext::setVSync()']]], ['shader_32',['Shader',['../classjng_1_1_shader.html',1,'jng']]], ['shader_33',['shader',['../structjng_1_1_render_data.html#a27335154705f3e86fd18b8e51001776e',1,'jng::RenderData']]], ['shader_2ecpp_34',['shader.cpp',['../shader_8cpp.html',1,'']]], diff --git a/docs/search/all_1a.js b/docs/search/all_1a.js index 13c60c7e..278f91ac 100644 --- a/docs/search/all_1a.js +++ b/docs/search/all_1a.js @@ -17,25 +17,26 @@ var searchData= ['_7elayer_14',['~Layer',['../classjng_1_1_layer.html#a82b4e963f30c0d206a6b031c97090f7f',1,'jng::Layer']]], ['_7elayerstack_15',['~LayerStack',['../classjng_1_1_layer_stack.html#a111c78597880314165c2610639af6941',1,'jng::LayerStack']]], ['_7enativescript_16',['~NativeScript',['../classjng_1_1_native_script.html#a25b4344f625ab1d5c5e8d448159324ab',1,'jng::NativeScript']]], - ['_7eopenglframebuffer_17',['~OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html#aa180924388fae929812b0add8dee8600',1,'jng::OpenGLFramebuffer']]], - ['_7eopenglgraphicscontext_18',['~OpenGLGraphicsContext',['../classjng_1_1_open_g_l_graphics_context.html#ac70b410db1da32a7cf0182e39a8466bf',1,'jng::OpenGLGraphicsContext']]], - ['_7eopenglindexbuffer_19',['~OpenGLIndexBuffer',['../classjng_1_1_open_g_l_index_buffer.html#a9201bb6d2fcac16dae699ac779312b03',1,'jng::OpenGLIndexBuffer']]], - ['_7eopenglshader_20',['~OpenGLShader',['../classjng_1_1_open_g_l_shader.html#a1cecfcd5ba523faedafdc46823d6420a',1,'jng::OpenGLShader']]], - ['_7eopengltexture_21',['~OpenGLTexture',['../classjng_1_1_open_g_l_texture.html#a4ae856ccec49dfe062e177199be7a837',1,'jng::OpenGLTexture']]], - ['_7eopengluniformbuffer_22',['~OpenGLUniformBuffer',['../classjng_1_1_open_g_l_uniform_buffer.html#a9e2983ab449f189d58640567551e7ac7',1,'jng::OpenGLUniformBuffer']]], - ['_7eopenglvertexarray_23',['~OpenGLVertexArray',['../classjng_1_1_open_g_l_vertex_array.html#a495d29486e26ded1357dfc84680a6882',1,'jng::OpenGLVertexArray']]], - ['_7eopenglvertexbuffer_24',['~OpenGLVertexBuffer',['../classjng_1_1_open_g_l_vertex_buffer.html#af39bf2107d941510982d982651251739',1,'jng::OpenGLVertexBuffer']]], - ['_7erendererapiimpl_25',['~RendererAPIImpl',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#ac0bd6d408da31348f758d83c800b96b7',1,'jng::RendererAPI::RendererAPIImpl']]], - ['_7eshader_26',['~Shader',['../classjng_1_1_shader.html#a11f101642238b36011301d8ce54e63c4',1,'jng::Shader']]], - ['_7etexture_27',['~Texture',['../classjng_1_1_texture.html#a2a142d794f916afc110d2e0563373d8d',1,'jng::Texture']]], - ['_7euniformbuffer_28',['~UniformBuffer',['../classjng_1_1_uniform_buffer.html#a49082cf0d3c6af8290509a955f5eff02',1,'jng::UniformBuffer']]], - ['_7evertexarray_29',['~VertexArray',['../classjng_1_1_vertex_array.html#a6ed78eafeeeba3523196520214a50062',1,'jng::VertexArray']]], - ['_7evertexbuffer_30',['~VertexBuffer',['../classjng_1_1_vertex_buffer.html#a48c178e269e668ba7e76b4f4aaba1e75',1,'jng::VertexBuffer']]], - ['_7evulkangraphicscontext_31',['~VulkanGraphicsContext',['../classjng_1_1_vulkan_graphics_context.html#a55a9cc46ff403164b74d8562e981c7e3',1,'jng::VulkanGraphicsContext']]], - ['_7evulkanindexbuffer_32',['~VulkanIndexBuffer',['../classjng_1_1_vulkan_index_buffer.html#a51efa5647e49a9240c7f1df5283c40f0',1,'jng::VulkanIndexBuffer']]], - ['_7evulkanshader_33',['~VulkanShader',['../classjng_1_1_vulkan_shader.html#afdce17a2b8c4fdffc91a45910d6c2997',1,'jng::VulkanShader']]], - ['_7evulkantexture_34',['~VulkanTexture',['../classjng_1_1_vulkan_texture.html#a0633f332e0e03f1462ce7c334010e407',1,'jng::VulkanTexture']]], - ['_7evulkanvertexarray_35',['~VulkanVertexArray',['../classjng_1_1_vulkan_vertex_array.html#afae7433c24f23e3aa78ff87270758aaa',1,'jng::VulkanVertexArray']]], - ['_7evulkanvertexbuffer_36',['~VulkanVertexBuffer',['../classjng_1_1_vulkan_vertex_buffer.html#a2a6d427c640a41e824f1230772a4e475',1,'jng::VulkanVertexBuffer']]], - ['_7ewindow_37',['~Window',['../classjng_1_1_window.html#a2755e87ecc995d961d3544ac2f8edbda',1,'jng::Window']]] + ['_7enoncopyable_17',['~NonCopyable',['../classjng_1_1_non_copyable.html#af643e4cf2d4bf8d93b82df4f3afa2db1',1,'jng::NonCopyable']]], + ['_7eopenglframebuffer_18',['~OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html#aa180924388fae929812b0add8dee8600',1,'jng::OpenGLFramebuffer']]], + ['_7eopenglgraphicscontext_19',['~OpenGLGraphicsContext',['../classjng_1_1_open_g_l_graphics_context.html#ac70b410db1da32a7cf0182e39a8466bf',1,'jng::OpenGLGraphicsContext']]], + ['_7eopenglindexbuffer_20',['~OpenGLIndexBuffer',['../classjng_1_1_open_g_l_index_buffer.html#a9201bb6d2fcac16dae699ac779312b03',1,'jng::OpenGLIndexBuffer']]], + ['_7eopenglshader_21',['~OpenGLShader',['../classjng_1_1_open_g_l_shader.html#a1cecfcd5ba523faedafdc46823d6420a',1,'jng::OpenGLShader']]], + ['_7eopengltexture_22',['~OpenGLTexture',['../classjng_1_1_open_g_l_texture.html#a4ae856ccec49dfe062e177199be7a837',1,'jng::OpenGLTexture']]], + ['_7eopengluniformbuffer_23',['~OpenGLUniformBuffer',['../classjng_1_1_open_g_l_uniform_buffer.html#a9e2983ab449f189d58640567551e7ac7',1,'jng::OpenGLUniformBuffer']]], + ['_7eopenglvertexarray_24',['~OpenGLVertexArray',['../classjng_1_1_open_g_l_vertex_array.html#a495d29486e26ded1357dfc84680a6882',1,'jng::OpenGLVertexArray']]], + ['_7eopenglvertexbuffer_25',['~OpenGLVertexBuffer',['../classjng_1_1_open_g_l_vertex_buffer.html#af39bf2107d941510982d982651251739',1,'jng::OpenGLVertexBuffer']]], + ['_7erendererapiimpl_26',['~RendererAPIImpl',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#ac0bd6d408da31348f758d83c800b96b7',1,'jng::RendererAPI::RendererAPIImpl']]], + ['_7eshader_27',['~Shader',['../classjng_1_1_shader.html#a11f101642238b36011301d8ce54e63c4',1,'jng::Shader']]], + ['_7etexture_28',['~Texture',['../classjng_1_1_texture.html#a2a142d794f916afc110d2e0563373d8d',1,'jng::Texture']]], + ['_7euniformbuffer_29',['~UniformBuffer',['../classjng_1_1_uniform_buffer.html#a49082cf0d3c6af8290509a955f5eff02',1,'jng::UniformBuffer']]], + ['_7evertexarray_30',['~VertexArray',['../classjng_1_1_vertex_array.html#a6ed78eafeeeba3523196520214a50062',1,'jng::VertexArray']]], + ['_7evertexbuffer_31',['~VertexBuffer',['../classjng_1_1_vertex_buffer.html#a48c178e269e668ba7e76b4f4aaba1e75',1,'jng::VertexBuffer']]], + ['_7evulkangraphicscontext_32',['~VulkanGraphicsContext',['../classjng_1_1_vulkan_graphics_context.html#a55a9cc46ff403164b74d8562e981c7e3',1,'jng::VulkanGraphicsContext']]], + ['_7evulkanindexbuffer_33',['~VulkanIndexBuffer',['../classjng_1_1_vulkan_index_buffer.html#a51efa5647e49a9240c7f1df5283c40f0',1,'jng::VulkanIndexBuffer']]], + ['_7evulkanshader_34',['~VulkanShader',['../classjng_1_1_vulkan_shader.html#afdce17a2b8c4fdffc91a45910d6c2997',1,'jng::VulkanShader']]], + ['_7evulkantexture_35',['~VulkanTexture',['../classjng_1_1_vulkan_texture.html#a0633f332e0e03f1462ce7c334010e407',1,'jng::VulkanTexture']]], + ['_7evulkanvertexarray_36',['~VulkanVertexArray',['../classjng_1_1_vulkan_vertex_array.html#afae7433c24f23e3aa78ff87270758aaa',1,'jng::VulkanVertexArray']]], + ['_7evulkanvertexbuffer_37',['~VulkanVertexBuffer',['../classjng_1_1_vulkan_vertex_buffer.html#a2a6d427c640a41e824f1230772a4e475',1,'jng::VulkanVertexBuffer']]], + ['_7ewindow_38',['~Window',['../classjng_1_1_window.html#a2755e87ecc995d961d3544ac2f8edbda',1,'jng::Window']]] ]; diff --git a/docs/search/all_2.js b/docs/search/all_2.js index f590cfa9..b8357788 100644 --- a/docs/search/all_2.js +++ b/docs/search/all_2.js @@ -1,28 +1,29 @@ var searchData= [ ['c_0',['C',['../namespacejng_1_1_key.html#abe8ffbdea5356ad890cbc09953bb1944',1,'jng::Key']]], - ['camera_1',['camera',['../structjng_1_1_camera_component.html#abcc207c3f36c84680c6ff7cb5782a373',1,'jng::CameraComponent']]], - ['camera_2',['Camera',['../classjng_1_1_camera.html#a78dd97224d033a3163a671b806f4ab06',1,'jng::Camera::Camera()'],['../classjng_1_1_camera.html',1,'jng::Camera']]], - ['camera_2ecpp_3',['camera.cpp',['../camera_8cpp.html',1,'']]], - ['camera_2ehpp_4',['camera.hpp',['../camera_8hpp.html',1,'']]], - ['cameracomponent_5',['CameraComponent',['../structjng_1_1_camera_component.html#aad05d36619a84da7d862a2bb0dfe5d0d',1,'jng::CameraComponent::CameraComponent(const CameraComponent &)=default'],['../structjng_1_1_camera_component.html#ae33255c13356465034b621c018c0f32d',1,'jng::CameraComponent::CameraComponent()=default'],['../structjng_1_1_camera_component.html',1,'jng::CameraComponent']]], - ['capslock_6',['CapsLock',['../namespacejng_1_1_key.html#a516438b0d78e5170b6ef214290edcac6',1,'jng::Key']]], - ['clear_7',['clear',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#aeea6d28c91e65ca59f982aa244d61867',1,'jng::RendererAPI::RendererAPIImpl::clear()'],['../classjng_1_1_renderer_a_p_i.html#a8534b8d56b0a4e2ba863228ab75c5262',1,'jng::RendererAPI::clear()'],['../classjng_1_1_direct3_d_renderer_a_p_i.html#aab0ceceb5518b138b3396d7dc695578a',1,'jng::Direct3DRendererAPI::clear()'],['../classjng_1_1_open_g_l_renderer_a_p_i.html#adc0a2af95274d716faf93ca4af8f0b4f',1,'jng::OpenGLRendererAPI::clear()'],['../classjng_1_1_vulkan_renderer_a_p_i.html#abfb8a76e661c3ebea2f4e481f8a866a8',1,'jng::VulkanRendererAPI::clear()']]], - ['close_8',['close',['../classjng_1_1_engine.html#a9a5f16f0739bd31b1e885a816a8dba6b',1,'jng::Engine']]], - ['color_9',['color',['../structjng_1_1_renderer2_d_1_1_properties.html#a0a78f485fc9d23eca017762453e271a0',1,'jng::Renderer2D::Properties::color()'],['../structjng_1_1_sprite_component.html#aaa9777731041cd760bc98f1085babd1a',1,'jng::SpriteComponent::color()'],['../structjng_1_1_quad_vertex.html#a211acfcc310d3c384e6b9697793d44f1',1,'jng::QuadVertex::color()']]], - ['comma_10',['Comma',['../namespacejng_1_1_key.html#a5df8515bb385d31d83d1e770a4b30d6c',1,'jng::Key']]], - ['compiletovulkanspirv_11',['compileToVulkanSPIRV',['../classjng_1_1_shader.html#a558982fbc0a6c1fcf3bbb916181ec230',1,'jng::Shader']]], - ['components_2ehpp_12',['components.hpp',['../components_8hpp.html',1,'']]], - ['constinterator_13',['ConstInterator',['../classjng_1_1_layer_stack.html#a9821f6b2ba30278bc5a10c9ef9bd0c5e',1,'jng::LayerStack']]], - ['constreverseinterator_14',['ConstReverseInterator',['../classjng_1_1_layer_stack.html#aed61a4d804f48818bd62529ae2821374',1,'jng::LayerStack']]], - ['containerconstinterator_15',['ContainerConstInterator',['../classjng_1_1_vertex_layout.html#a9758682f26291ab9c4b2eb73016510b3',1,'jng::VertexLayout']]], - ['containertype_16',['ContainerType',['../classjng_1_1_layer_stack.html#aaeb97736ec3d89d9738e2f615c1930da',1,'jng::LayerStack::ContainerType()'],['../classjng_1_1_vertex_layout.html#a95e5d83c57acdfafb915356f91071165',1,'jng::VertexLayout::ContainerType()']]], - ['convert_3c_20glm_3a_3avec3_20_3e_17',['convert< glm::vec3 >',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html',1,'YAML']]], - ['convert_3c_20glm_3a_3avec4_20_3e_18',['convert< glm::vec4 >',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html',1,'YAML']]], - ['create_19',['create',['../classjng_1_1_window.html#af05735b1c36ba92f7d0fcf19e5ca47eb',1,'jng::Window::create()'],['../classjng_1_1_vertex_buffer.html#a1e60e0da38071497bdf4aca4bd4aaa09',1,'jng::VertexBuffer::create(const void *vertices, size_t size)'],['../classjng_1_1_vertex_buffer.html#acc2ec0da7c2a6b0ab5ebd6786ef5eaa0',1,'jng::VertexBuffer::create(size_t size)'],['../classjng_1_1_index_buffer.html#a92bd835443fe0eae1b2b7e124a324dc1',1,'jng::IndexBuffer::create()'],['../classjng_1_1_uniform_buffer.html#a89b0a5457f8cfa8097c1a8a6da609dfb',1,'jng::UniformBuffer::create()'],['../classjng_1_1_framebuffer.html#ac1cd3fde3d453f429b631842f184c6e3',1,'jng::Framebuffer::create()'],['../classjng_1_1_shader.html#a3b706dca6a38e32645bd77f2000b518b',1,'jng::Shader::create()'],['../classjng_1_1_texture.html#a98ba902790dfa0d886003cbf83e16a65',1,'jng::Texture::create(const char *path)'],['../classjng_1_1_texture.html#a64bcaa022c6f5596f82fcf004452effe',1,'jng::Texture::create(uint32 width, uint32 height)'],['../classjng_1_1_vertex_array.html#a9d47d986992b6d4c87873f6aee325abb',1,'jng::VertexArray::create()'],['../classjng_1_1_graphics_context.html#a8d0614016a0a20ac37e338491b6b8287',1,'jng::GraphicsContext::create()']]], - ['createapp_20',['createApp',['../entry__point_8hpp.html#a280447b0c28d73bffcaac601e47159de',1,'entry_point.hpp']]], - ['createcachedirectoryifneeded_21',['createCacheDirectoryIfNeeded',['../classjng_1_1_shader.html#aea588b1cb7f32c18ed3ab1b2cc48b04e',1,'jng::Shader']]], - ['createentity_22',['createEntity',['../classjng_1_1_scene.html#a0a2ee71a28456504bed83437841509e5',1,'jng::Scene']]], - ['createscript_23',['createScript',['../structjng_1_1_native_script_component.html#acb51aedf16e4fafd73cc8d0a3e6d3ee4',1,'jng::NativeScriptComponent']]], - ['currentquadindexcount_24',['currentQuadIndexCount',['../structjng_1_1_render_data.html#a8c5a5dee33cf265ce403ea399d854358',1,'jng::RenderData']]] + ['camera_1',['Camera',['../classjng_1_1_camera.html#a78dd97224d033a3163a671b806f4ab06',1,'jng::Camera']]], + ['camera_2',['camera',['../structjng_1_1_camera_component.html#abcc207c3f36c84680c6ff7cb5782a373',1,'jng::CameraComponent']]], + ['camera_3',['Camera',['../classjng_1_1_camera.html',1,'jng']]], + ['camera_2ecpp_4',['camera.cpp',['../camera_8cpp.html',1,'']]], + ['camera_2ehpp_5',['camera.hpp',['../camera_8hpp.html',1,'']]], + ['cameracomponent_6',['CameraComponent',['../structjng_1_1_camera_component.html#aad05d36619a84da7d862a2bb0dfe5d0d',1,'jng::CameraComponent::CameraComponent(const CameraComponent &)=default'],['../structjng_1_1_camera_component.html#ae33255c13356465034b621c018c0f32d',1,'jng::CameraComponent::CameraComponent()=default'],['../structjng_1_1_camera_component.html',1,'jng::CameraComponent']]], + ['capslock_7',['CapsLock',['../namespacejng_1_1_key.html#a516438b0d78e5170b6ef214290edcac6',1,'jng::Key']]], + ['clear_8',['clear',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#aeea6d28c91e65ca59f982aa244d61867',1,'jng::RendererAPI::RendererAPIImpl::clear()'],['../classjng_1_1_renderer_a_p_i.html#a8534b8d56b0a4e2ba863228ab75c5262',1,'jng::RendererAPI::clear()'],['../classjng_1_1_direct3_d_renderer_a_p_i.html#aab0ceceb5518b138b3396d7dc695578a',1,'jng::Direct3DRendererAPI::clear()'],['../classjng_1_1_open_g_l_renderer_a_p_i.html#adc0a2af95274d716faf93ca4af8f0b4f',1,'jng::OpenGLRendererAPI::clear()'],['../classjng_1_1_vulkan_renderer_a_p_i.html#abfb8a76e661c3ebea2f4e481f8a866a8',1,'jng::VulkanRendererAPI::clear()']]], + ['close_9',['close',['../classjng_1_1_engine.html#a9a5f16f0739bd31b1e885a816a8dba6b',1,'jng::Engine']]], + ['color_10',['color',['../structjng_1_1_renderer2_d_1_1_properties.html#a0a78f485fc9d23eca017762453e271a0',1,'jng::Renderer2D::Properties::color()'],['../structjng_1_1_sprite_component.html#aaa9777731041cd760bc98f1085babd1a',1,'jng::SpriteComponent::color()'],['../structjng_1_1_quad_vertex.html#a211acfcc310d3c384e6b9697793d44f1',1,'jng::QuadVertex::color()']]], + ['comma_11',['Comma',['../namespacejng_1_1_key.html#a5df8515bb385d31d83d1e770a4b30d6c',1,'jng::Key']]], + ['compiletovulkanspirv_12',['compileToVulkanSPIRV',['../classjng_1_1_shader.html#a558982fbc0a6c1fcf3bbb916181ec230',1,'jng::Shader']]], + ['components_2ehpp_13',['components.hpp',['../components_8hpp.html',1,'']]], + ['constinterator_14',['ConstInterator',['../classjng_1_1_layer_stack.html#a9821f6b2ba30278bc5a10c9ef9bd0c5e',1,'jng::LayerStack']]], + ['constreverseinterator_15',['ConstReverseInterator',['../classjng_1_1_layer_stack.html#aed61a4d804f48818bd62529ae2821374',1,'jng::LayerStack']]], + ['containerconstinterator_16',['ContainerConstInterator',['../classjng_1_1_vertex_layout.html#a9758682f26291ab9c4b2eb73016510b3',1,'jng::VertexLayout']]], + ['containertype_17',['ContainerType',['../classjng_1_1_vertex_layout.html#a95e5d83c57acdfafb915356f91071165',1,'jng::VertexLayout::ContainerType()'],['../classjng_1_1_layer_stack.html#aaeb97736ec3d89d9738e2f615c1930da',1,'jng::LayerStack::ContainerType()']]], + ['convert_3c_20glm_3a_3avec3_20_3e_18',['convert< glm::vec3 >',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html',1,'YAML']]], + ['convert_3c_20glm_3a_3avec4_20_3e_19',['convert< glm::vec4 >',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html',1,'YAML']]], + ['create_20',['create',['../classjng_1_1_window.html#af05735b1c36ba92f7d0fcf19e5ca47eb',1,'jng::Window::create()'],['../classjng_1_1_vertex_buffer.html#a1e60e0da38071497bdf4aca4bd4aaa09',1,'jng::VertexBuffer::create(const void *vertices, size_t size)'],['../classjng_1_1_vertex_buffer.html#acc2ec0da7c2a6b0ab5ebd6786ef5eaa0',1,'jng::VertexBuffer::create(size_t size)'],['../classjng_1_1_index_buffer.html#a92bd835443fe0eae1b2b7e124a324dc1',1,'jng::IndexBuffer::create()'],['../classjng_1_1_uniform_buffer.html#a89b0a5457f8cfa8097c1a8a6da609dfb',1,'jng::UniformBuffer::create()'],['../classjng_1_1_framebuffer.html#ac1cd3fde3d453f429b631842f184c6e3',1,'jng::Framebuffer::create()'],['../classjng_1_1_shader.html#a3b706dca6a38e32645bd77f2000b518b',1,'jng::Shader::create()'],['../classjng_1_1_texture.html#a98ba902790dfa0d886003cbf83e16a65',1,'jng::Texture::create(const char *path)'],['../classjng_1_1_texture.html#a64bcaa022c6f5596f82fcf004452effe',1,'jng::Texture::create(uint32 width, uint32 height)'],['../classjng_1_1_vertex_array.html#a9d47d986992b6d4c87873f6aee325abb',1,'jng::VertexArray::create()'],['../classjng_1_1_graphics_context.html#a8d0614016a0a20ac37e338491b6b8287',1,'jng::GraphicsContext::create()']]], + ['createapp_21',['createApp',['../entry__point_8hpp.html#a280447b0c28d73bffcaac601e47159de',1,'entry_point.hpp']]], + ['createcachedirectoryifneeded_22',['createCacheDirectoryIfNeeded',['../classjng_1_1_shader.html#aea588b1cb7f32c18ed3ab1b2cc48b04e',1,'jng::Shader']]], + ['createentity_23',['createEntity',['../classjng_1_1_scene.html#a0a2ee71a28456504bed83437841509e5',1,'jng::Scene::createEntity()'],['../classjng_1_1_native_script.html#ad39969aa871c618ef687806634fa02c1',1,'jng::NativeScript::createEntity()']]], + ['createscript_24',['createScript',['../structjng_1_1_native_script_component.html#acb51aedf16e4fafd73cc8d0a3e6d3ee4',1,'jng::NativeScriptComponent']]], + ['currentquadindexcount_25',['currentQuadIndexCount',['../structjng_1_1_render_data.html#a8c5a5dee33cf265ce403ea399d854358',1,'jng::RenderData']]] ]; diff --git a/docs/search/all_3.js b/docs/search/all_3.js index df017891..0731a443 100644 --- a/docs/search/all_3.js +++ b/docs/search/all_3.js @@ -6,7 +6,7 @@ var searchData= ['decode_3',['decode',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html#a935e31dad7403fdefc60995d3bc8a776',1,'YAML::convert< glm::vec4 >::decode()'],['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html#a728b087127b10d0ece4ae21148a36f94',1,'YAML::convert< glm::vec3 >::decode()']]], ['delete_4',['Delete',['../namespacejng_1_1_key.html#a3f48ad40ca7ad408beb903ea4e2220d1',1,'jng::Key']]], ['deserialize_5',['deserialize',['../classjng_1_1_scene_serializer.html#ae658fd70f03a1b05b5bddf2e8df1663d',1,'jng::SceneSerializer']]], - ['destroyentity_6',['destroyEntity',['../classjng_1_1_scene.html#a774591255d3d171ce54abb2c61ac8928',1,'jng::Scene']]], + ['destroyentity_6',['destroyEntity',['../classjng_1_1_scene.html#a774591255d3d171ce54abb2c61ac8928',1,'jng::Scene::destroyEntity()'],['../classjng_1_1_native_script.html#af32965d3da25f3c2ca00f1d39a307872',1,'jng::NativeScript::destroyEntity()']]], ['destroyscript_7',['destroyScript',['../structjng_1_1_native_script_component.html#a098a406745f305a53e921fe0af2927d7',1,'jng::NativeScriptComponent']]], ['devicecontexthandle_8',['DeviceContextHandle',['../graphics__context__ogl_8hpp.html#a295e39235badd6ffc69b453d45b7e472',1,'graphics_context_ogl.hpp']]], ['direct3d_9',['Direct3D',['../namespacejng.html#a12ce176de3b33861d2a2f4c90385d499ae5054d13a102957ce58cbb9cbba107d7',1,'jng']]], diff --git a/docs/search/all_6.js b/docs/search/all_6.js index 3deff109..9653a95a 100644 --- a/docs/search/all_6.js +++ b/docs/search/all_6.js @@ -18,8 +18,8 @@ var searchData= ['getelements_15',['getElements',['../classjng_1_1_vertex_layout.html#ad7771765fb8cbfdc992ed2b7ad4ec1fb',1,'jng::VertexLayout']]], ['geteventcallback_16',['getEventCallback',['../classjng_1_1_window.html#ade766b3dc27877def5adf94dc6d12065',1,'jng::Window']]], ['getgraphicscontext_17',['getGraphicsContext',['../classjng_1_1_window.html#a20562766f80433f500fb531c829e542b',1,'jng::Window']]], - ['getheight_18',['getHeight',['../classjng_1_1_window_resize_event.html#a14256529ea28c48e302682814f809ff7',1,'jng::WindowResizeEvent::getHeight()'],['../classjng_1_1_window.html#a8549966bdbb354783266073835f147be',1,'jng::Window::getHeight()'],['../classjng_1_1_texture.html#adfa3c10afd9c8fed9fdc6107881b8bf7',1,'jng::Texture::getHeight()'],['../classjng_1_1_direct3_d_texture.html#a53f5f19fb174ad03082350a27db7f64b',1,'jng::Direct3DTexture::getHeight()'],['../classjng_1_1_open_g_l_texture.html#a1144194910951cc82395b0766ab2ce2c',1,'jng::OpenGLTexture::getHeight()'],['../classjng_1_1_vulkan_texture.html#ac022cae0d6129c40b306960727d6db32',1,'jng::VulkanTexture::getHeight() const']]], - ['getid_19',['getID',['../classjng_1_1_vulkan_texture.html#a22bb973e838cf8255892dfbffa3cc9fa',1,'jng::VulkanTexture::getID()'],['../classjng_1_1_texture.html#a6dce05521abb859355610c9417ac3ddf',1,'jng::Texture::getID()'],['../classjng_1_1_direct3_d_texture.html#a0a386195e597fd7d93345c1d05075b83',1,'jng::Direct3DTexture::getID()'],['../classjng_1_1_open_g_l_texture.html#ab75718b2ed7682039c0c685a6575d054',1,'jng::OpenGLTexture::getID()']]], + ['getheight_18',['getHeight',['../classjng_1_1_window_resize_event.html#a14256529ea28c48e302682814f809ff7',1,'jng::WindowResizeEvent::getHeight()'],['../classjng_1_1_window.html#a8549966bdbb354783266073835f147be',1,'jng::Window::getHeight()'],['../classjng_1_1_texture.html#adfa3c10afd9c8fed9fdc6107881b8bf7',1,'jng::Texture::getHeight()'],['../classjng_1_1_direct3_d_texture.html#a53f5f19fb174ad03082350a27db7f64b',1,'jng::Direct3DTexture::getHeight()'],['../classjng_1_1_open_g_l_texture.html#a1144194910951cc82395b0766ab2ce2c',1,'jng::OpenGLTexture::getHeight()'],['../classjng_1_1_vulkan_texture.html#ac022cae0d6129c40b306960727d6db32',1,'jng::VulkanTexture::getHeight()']]], + ['getid_19',['getID',['../classjng_1_1_texture.html#a6dce05521abb859355610c9417ac3ddf',1,'jng::Texture::getID()'],['../classjng_1_1_direct3_d_texture.html#a0a386195e597fd7d93345c1d05075b83',1,'jng::Direct3DTexture::getID()'],['../classjng_1_1_open_g_l_texture.html#ab75718b2ed7682039c0c685a6575d054',1,'jng::OpenGLTexture::getID()'],['../classjng_1_1_vulkan_texture.html#a22bb973e838cf8255892dfbffa3cc9fa',1,'jng::VulkanTexture::getID()']]], ['getindexbuffer_20',['getIndexBuffer',['../classjng_1_1_vertex_array.html#a878bf81ab89c22419c6725828237b3da',1,'jng::VertexArray::getIndexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#ae7ff8460451134dbdcb0c3b3f4815cd6',1,'jng::Direct3DVertexArray::getIndexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#a8faf26afe2f8b9c445ff6b8eb99e97ab',1,'jng::OpenGLVertexArray::getIndexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#a1beed5a443f1ad65a633ba9e05a28f2c',1,'jng::VulkanVertexArray::getIndexBuffer()']]], ['getkeycode_21',['getKeyCode',['../classjng_1_1_key_event.html#ab99b0988b692713bbcc69b35edbd9669',1,'jng::KeyEvent']]], ['getlayerstack_22',['getLayerStack',['../classjng_1_1_engine.html#ac9c71ba944549e14d1dc3d38cd9ef79a',1,'jng::Engine']]], @@ -35,35 +35,36 @@ var searchData= ['getperspectivenear_32',['getPerspectiveNear',['../classjng_1_1_camera.html#a7dd008773aa3444e31473f957969c281',1,'jng::Camera']]], ['getprojection_33',['getProjection',['../classjng_1_1_camera.html#a754b87e54064cb508f750f4f3f4bf73a',1,'jng::Camera']]], ['getprojectiontype_34',['getProjectionType',['../classjng_1_1_camera.html#a186f7cd4895bb9758d4f93c8143332e3',1,'jng::Camera']]], - ['getproperties_35',['getProperties',['../classjng_1_1_open_g_l_framebuffer.html#ad7c2c508ff201154e05b846f844e4a69',1,'jng::OpenGLFramebuffer::getProperties()'],['../classjng_1_1_engine.html#a638b9ad8711a0f81df200120a47ee8ef',1,'jng::Engine::getProperties()'],['../classjng_1_1_framebuffer.html#a6ea0f269317ab7dbf2000a93a09b2fa3',1,'jng::Framebuffer::getProperties()'],['../classjng_1_1_direct3_d_framebuffer.html#a9743eeb8a6e7e947c13c74719324b00c',1,'jng::Direct3DFramebuffer::getProperties()']]], + ['getproperties_35',['getProperties',['../classjng_1_1_engine.html#a638b9ad8711a0f81df200120a47ee8ef',1,'jng::Engine::getProperties()'],['../classjng_1_1_framebuffer.html#a6ea0f269317ab7dbf2000a93a09b2fa3',1,'jng::Framebuffer::getProperties()'],['../classjng_1_1_direct3_d_framebuffer.html#a9743eeb8a6e7e947c13c74719324b00c',1,'jng::Direct3DFramebuffer::getProperties()'],['../classjng_1_1_open_g_l_framebuffer.html#ad7c2c508ff201154e05b846f844e4a69',1,'jng::OpenGLFramebuffer::getProperties()']]], ['getrendererbackend_36',['getRendererBackend',['../classjng_1_1_renderer_a_p_i.html#a5684a9b3693eb6877b1937855498fbf2',1,'jng::RendererAPI']]], ['getrepeatcount_37',['getRepeatCount',['../classjng_1_1_key_press_event.html#a73089b99c8d05064123ee5f22f1d8f14',1,'jng::KeyPressEvent']]], - ['getstatistics_38',['getStatistics',['../classjng_1_1_renderer2_d.html#ad157bbcac6c18ceaf98ed2b1b9e383ff',1,'jng::Renderer2D']]], - ['getstride_39',['getStride',['../classjng_1_1_vertex_layout.html#aa7ff65453232e73fbe85766c1c69c25a',1,'jng::VertexLayout']]], - ['gettransform_40',['getTransform',['../structjng_1_1_transform_component.html#aeafc6db73dfac1a0141422d75579223a',1,'jng::TransformComponent']]], - ['gettype_41',['getType',['../classjng_1_1_event.html#aa7b32dcd46ce5e6d68299c70a7762bf6',1,'jng::Event']]], - ['getvertexbuffer_42',['getVertexBuffer',['../classjng_1_1_direct3_d_vertex_array.html#a074620058035b26c0584643f777ecdc9',1,'jng::Direct3DVertexArray::getVertexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aa0c03cedcfd3ee6c666b85b30b42916c',1,'jng::OpenGLVertexArray::getVertexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#ab8ff627ff9fd0800b756f00d306994fe',1,'jng::VulkanVertexArray::getVertexBuffer()'],['../classjng_1_1_vertex_array.html#a44bd4e546033f6ff75fcbb0fc692c559',1,'jng::VertexArray::getVertexBuffer()']]], - ['getvertexshaderbytecode_43',['getVertexShaderByteCode',['../classjng_1_1_direct3_d_shader.html#a800721c1aa3778406756237a03395f0b',1,'jng::Direct3DShader']]], - ['getvp_44',['getVP',['../classjng_1_1_camera.html#a42d7255062f821bf7789c110da7a8fdc',1,'jng::Camera']]], - ['getwidth_45',['getWidth',['../classjng_1_1_window_resize_event.html#a6ca56a6ef73fb74810923ea63202f5e5',1,'jng::WindowResizeEvent::getWidth()'],['../classjng_1_1_window.html#ab1d3905e0dbc7310476e9b006a5d48ed',1,'jng::Window::getWidth()'],['../classjng_1_1_texture.html#a42be77787a0ae4e7f185b110727171f9',1,'jng::Texture::getWidth()'],['../classjng_1_1_direct3_d_texture.html#ab497e2bed30b86e19b027cf8301884d7',1,'jng::Direct3DTexture::getWidth()'],['../classjng_1_1_open_g_l_texture.html#a0f0b5b575486461ce2ae18c04e9a8643',1,'jng::OpenGLTexture::getWidth()'],['../classjng_1_1_vulkan_texture.html#ac972cddf4923491f3a803f0bf6710f96',1,'jng::VulkanTexture::getWidth()']]], - ['getwindow_46',['getWindow',['../classjng_1_1_engine.html#a6f46f6345bb4f4d5583d5b6d3dd77251',1,'jng::Engine']]], - ['getx_47',['getX',['../classjng_1_1_mouse_move_event.html#a67b36c2db956145f398a571cd796c0fe',1,'jng::MouseMoveEvent']]], - ['getxoffset_48',['getXOffset',['../classjng_1_1_mouse_scroll_event.html#a9c7c5a21cd9780387b2ea25b25c1b76d',1,'jng::MouseScrollEvent']]], - ['gety_49',['getY',['../classjng_1_1_mouse_move_event.html#a79c08e3ba8ad21ea116b9df674f61ec0',1,'jng::MouseMoveEvent']]], - ['getyoffset_50',['getYOffset',['../classjng_1_1_mouse_scroll_event.html#a7bfa6dbf8f0dbeb7019fe4f6757e2eb7',1,'jng::MouseScrollEvent']]], - ['glfw_5fexpose_5fnative_5fwin32_51',['GLFW_EXPOSE_NATIVE_WIN32',['../graphics__context__d3d_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): graphics_context_d3d.cpp'],['../windows_2graphics__context__ogl_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): graphics_context_ogl.cpp'],['../platform__win_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): platform_win.cpp']]], - ['glfw_5fexpose_5fnative_5fx11_52',['GLFW_EXPOSE_NATIVE_X11',['../linux_2graphics__context__ogl_8cpp.html#a815229caf806e5d73667d164a0e327ef',1,'graphics_context_ogl.cpp']]], - ['glfwinitializer_53',['GLFWInitializer',['../structjng_1_1_g_l_f_w_initializer.html#a50f002fe2eb8a324a082494175c90125',1,'jng::GLFWInitializer::GLFWInitializer()'],['../structjng_1_1_g_l_f_w_initializer.html',1,'jng::GLFWInitializer']]], - ['globalglfwinitializer_54',['globalGLFWInitializer',['../namespacejng.html#a70a54d5ec764ce2e5f0e85927de223cd',1,'jng']]], - ['graphics_5fcontext_2ecpp_55',['graphics_context.cpp',['../graphics__context_8cpp.html',1,'']]], - ['graphics_5fcontext_2ehpp_56',['graphics_context.hpp',['../graphics__context_8hpp.html',1,'']]], - ['graphics_5fcontext_5fd3d_2ecpp_57',['graphics_context_d3d.cpp',['../graphics__context__d3d_8cpp.html',1,'']]], - ['graphics_5fcontext_5fd3d_2ehpp_58',['graphics_context_d3d.hpp',['../graphics__context__d3d_8hpp.html',1,'']]], - ['graphics_5fcontext_5fogl_2ecpp_59',['graphics_context_ogl.cpp',['../linux_2graphics__context__ogl_8cpp.html',1,'(Global Namespace)'],['../windows_2graphics__context__ogl_8cpp.html',1,'(Global Namespace)']]], - ['graphics_5fcontext_5fogl_2ehpp_60',['graphics_context_ogl.hpp',['../graphics__context__ogl_8hpp.html',1,'']]], - ['graphics_5fcontext_5fvlk_2ecpp_61',['graphics_context_vlk.cpp',['../graphics__context__vlk_8cpp.html',1,'']]], - ['graphics_5fcontext_5fvlk_2ehpp_62',['graphics_context_vlk.hpp',['../graphics__context__vlk_8hpp.html',1,'']]], - ['graphicscontext_63',['GraphicsContext',['../classjng_1_1_graphics_context.html',1,'jng']]], - ['graphicscontexthandle_64',['GraphicsContextHandle',['../graphics__context__ogl_8hpp.html#a40d1a56538869d890fa7fafb544eef0e',1,'graphics_context_ogl.hpp']]], - ['graveaccent_65',['GraveAccent',['../namespacejng_1_1_key.html#af95a0ca8c1a37df657d7668de5868901',1,'jng::Key']]] + ['getscene_38',['getScene',['../classjng_1_1_entity.html#aa246ec87006e7109b92806507b9e8b54',1,'jng::Entity']]], + ['getstatistics_39',['getStatistics',['../classjng_1_1_renderer2_d.html#ad157bbcac6c18ceaf98ed2b1b9e383ff',1,'jng::Renderer2D']]], + ['getstride_40',['getStride',['../classjng_1_1_vertex_layout.html#aa7ff65453232e73fbe85766c1c69c25a',1,'jng::VertexLayout']]], + ['gettransform_41',['getTransform',['../structjng_1_1_transform_component.html#aeafc6db73dfac1a0141422d75579223a',1,'jng::TransformComponent']]], + ['gettype_42',['getType',['../classjng_1_1_event.html#aa7b32dcd46ce5e6d68299c70a7762bf6',1,'jng::Event']]], + ['getvertexbuffer_43',['getVertexBuffer',['../classjng_1_1_direct3_d_vertex_array.html#a074620058035b26c0584643f777ecdc9',1,'jng::Direct3DVertexArray::getVertexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aa0c03cedcfd3ee6c666b85b30b42916c',1,'jng::OpenGLVertexArray::getVertexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#ab8ff627ff9fd0800b756f00d306994fe',1,'jng::VulkanVertexArray::getVertexBuffer()'],['../classjng_1_1_vertex_array.html#a44bd4e546033f6ff75fcbb0fc692c559',1,'jng::VertexArray::getVertexBuffer()']]], + ['getvertexshaderbytecode_44',['getVertexShaderByteCode',['../classjng_1_1_direct3_d_shader.html#a800721c1aa3778406756237a03395f0b',1,'jng::Direct3DShader']]], + ['getvp_45',['getVP',['../classjng_1_1_camera.html#a42d7255062f821bf7789c110da7a8fdc',1,'jng::Camera']]], + ['getwidth_46',['getWidth',['../classjng_1_1_window_resize_event.html#a6ca56a6ef73fb74810923ea63202f5e5',1,'jng::WindowResizeEvent::getWidth()'],['../classjng_1_1_window.html#ab1d3905e0dbc7310476e9b006a5d48ed',1,'jng::Window::getWidth()'],['../classjng_1_1_texture.html#a42be77787a0ae4e7f185b110727171f9',1,'jng::Texture::getWidth()'],['../classjng_1_1_direct3_d_texture.html#ab497e2bed30b86e19b027cf8301884d7',1,'jng::Direct3DTexture::getWidth()'],['../classjng_1_1_open_g_l_texture.html#a0f0b5b575486461ce2ae18c04e9a8643',1,'jng::OpenGLTexture::getWidth()'],['../classjng_1_1_vulkan_texture.html#ac972cddf4923491f3a803f0bf6710f96',1,'jng::VulkanTexture::getWidth()']]], + ['getwindow_47',['getWindow',['../classjng_1_1_engine.html#a6f46f6345bb4f4d5583d5b6d3dd77251',1,'jng::Engine']]], + ['getx_48',['getX',['../classjng_1_1_mouse_move_event.html#a67b36c2db956145f398a571cd796c0fe',1,'jng::MouseMoveEvent']]], + ['getxoffset_49',['getXOffset',['../classjng_1_1_mouse_scroll_event.html#a9c7c5a21cd9780387b2ea25b25c1b76d',1,'jng::MouseScrollEvent']]], + ['gety_50',['getY',['../classjng_1_1_mouse_move_event.html#a79c08e3ba8ad21ea116b9df674f61ec0',1,'jng::MouseMoveEvent']]], + ['getyoffset_51',['getYOffset',['../classjng_1_1_mouse_scroll_event.html#a7bfa6dbf8f0dbeb7019fe4f6757e2eb7',1,'jng::MouseScrollEvent']]], + ['glfw_5fexpose_5fnative_5fwin32_52',['GLFW_EXPOSE_NATIVE_WIN32',['../graphics__context__d3d_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): graphics_context_d3d.cpp'],['../windows_2graphics__context__ogl_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): graphics_context_ogl.cpp'],['../platform__win_8cpp.html#a7226e54815f41685fdc9df544352957e',1,'GLFW_EXPOSE_NATIVE_WIN32(): platform_win.cpp']]], + ['glfw_5fexpose_5fnative_5fx11_53',['GLFW_EXPOSE_NATIVE_X11',['../linux_2graphics__context__ogl_8cpp.html#a815229caf806e5d73667d164a0e327ef',1,'graphics_context_ogl.cpp']]], + ['glfwinitializer_54',['GLFWInitializer',['../structjng_1_1_g_l_f_w_initializer.html#a50f002fe2eb8a324a082494175c90125',1,'jng::GLFWInitializer::GLFWInitializer()'],['../structjng_1_1_g_l_f_w_initializer.html',1,'jng::GLFWInitializer']]], + ['globalglfwinitializer_55',['globalGLFWInitializer',['../namespacejng.html#a70a54d5ec764ce2e5f0e85927de223cd',1,'jng']]], + ['graphics_5fcontext_2ecpp_56',['graphics_context.cpp',['../graphics__context_8cpp.html',1,'']]], + ['graphics_5fcontext_2ehpp_57',['graphics_context.hpp',['../graphics__context_8hpp.html',1,'']]], + ['graphics_5fcontext_5fd3d_2ecpp_58',['graphics_context_d3d.cpp',['../graphics__context__d3d_8cpp.html',1,'']]], + ['graphics_5fcontext_5fd3d_2ehpp_59',['graphics_context_d3d.hpp',['../graphics__context__d3d_8hpp.html',1,'']]], + ['graphics_5fcontext_5fogl_2ecpp_60',['graphics_context_ogl.cpp',['../linux_2graphics__context__ogl_8cpp.html',1,'(Global Namespace)'],['../windows_2graphics__context__ogl_8cpp.html',1,'(Global Namespace)']]], + ['graphics_5fcontext_5fogl_2ehpp_61',['graphics_context_ogl.hpp',['../graphics__context__ogl_8hpp.html',1,'']]], + ['graphics_5fcontext_5fvlk_2ecpp_62',['graphics_context_vlk.cpp',['../graphics__context__vlk_8cpp.html',1,'']]], + ['graphics_5fcontext_5fvlk_2ehpp_63',['graphics_context_vlk.hpp',['../graphics__context__vlk_8hpp.html',1,'']]], + ['graphicscontext_64',['GraphicsContext',['../classjng_1_1_graphics_context.html',1,'jng']]], + ['graphicscontexthandle_65',['GraphicsContextHandle',['../graphics__context__ogl_8hpp.html#a40d1a56538869d890fa7fafb544eef0e',1,'graphics_context_ogl.hpp']]], + ['graveaccent_66',['GraveAccent',['../namespacejng_1_1_key.html#af95a0ca8c1a37df657d7668de5868901',1,'jng::Key']]] ]; diff --git a/docs/search/all_d.js b/docs/search/all_d.js index 9404d6b8..75c473d3 100644 --- a/docs/search/all_d.js +++ b/docs/search/all_d.js @@ -24,31 +24,32 @@ var searchData= ['nomenus_21',['NOMENUS',['../windows__base_8hpp.html#a15dd7444df67d292b83dc869d6e4b417',1,'windows_base.hpp']]], ['nometafile_22',['NOMETAFILE',['../windows__base_8hpp.html#a37618c72c08b2464576612b2ac595b30',1,'windows_base.hpp']]], ['nominmax_23',['NOMINMAX',['../windows__base_8hpp.html#a9f918755b601cf4bffca775992e6fb90',1,'windows_base.hpp']]], - ['none_24',['None',['../classjng_1_1_engine.html#acee4c6dfe14e28482ff2d8a0ecbc985ba6adf97f83acf6453d4a6a4b1070f3754',1,'jng::Engine::None()'],['../namespacejng.html#a12ce176de3b33861d2a2f4c90385d499a6adf97f83acf6453d4a6a4b1070f3754',1,'jng::None()'],['../namespacejng.html#adb449770efd1c22981a35ae7ab49f8cba6adf97f83acf6453d4a6a4b1070f3754',1,'jng::None()']]], - ['nonls_25',['NONLS',['../windows__base_8hpp.html#a52be9abe7ca69b513aa7e975284d4f67',1,'windows_base.hpp']]], - ['noopenfile_26',['NOOPENFILE',['../windows__base_8hpp.html#a2d7186e4a6dfcc0011461ce1e8b70a05',1,'windows_base.hpp']]], - ['noprofiler_27',['NOPROFILER',['../windows__base_8hpp.html#af883320ccbc88fe5ff2d8733ec0a034f',1,'windows_base.hpp']]], - ['noproxystub_28',['NOPROXYSTUB',['../windows__base_8hpp.html#af1b20e8b75a982c5f3eb64a4f6610b09',1,'windows_base.hpp']]], - ['norasterops_29',['NORASTEROPS',['../windows__base_8hpp.html#a0293d1b2742d9c9ef401d75a55b81859',1,'windows_base.hpp']]], - ['normalized_30',['Normalized',['../structjng_1_1_layout_element.html#aa6d02785de1c75698a452ccf12ec969b',1,'jng::LayoutElement']]], - ['norpc_31',['NORPC',['../windows__base_8hpp.html#a1eb2b907b2980d537b022b92e71c1704',1,'windows_base.hpp']]], - ['noscroll_32',['NOSCROLL',['../windows__base_8hpp.html#a06f62f70cab65b4c19972202f784e12d',1,'windows_base.hpp']]], - ['noservice_33',['NOSERVICE',['../windows__base_8hpp.html#a14ac98af6281e748377693d824e41ca9',1,'windows_base.hpp']]], - ['nosound_34',['NOSOUND',['../windows__base_8hpp.html#af40cddcc88a6ebeed4f75d4bbbed195e',1,'windows_base.hpp']]], - ['nosyscommands_35',['NOSYSCOMMANDS',['../windows__base_8hpp.html#a271ce221dc9c5c8887d443008b3d718c',1,'windows_base.hpp']]], - ['nosysmetrics_36',['NOSYSMETRICS',['../windows__base_8hpp.html#aea709a8ba0a7d510cefcf625fdb3b4b1',1,'windows_base.hpp']]], - ['notape_37',['NOTAPE',['../windows__base_8hpp.html#a41089baa05964138bac3e53d2d1b4366',1,'windows_base.hpp']]], - ['notextmetric_38',['NOTEXTMETRIC',['../windows__base_8hpp.html#a7d6ea5ce712ed1d05533cf8ebf38d880',1,'windows_base.hpp']]], - ['nowh_39',['NOWH',['../windows__base_8hpp.html#aac388bb1bd11a9a15b594321658ae233',1,'windows_base.hpp']]], - ['number0_40',['Number0',['../namespacejng_1_1_key.html#af6f029e59f010437b12d5cdb46fb71b7',1,'jng::Key']]], - ['number1_41',['Number1',['../namespacejng_1_1_key.html#ae171493aca3c5bdbe1acae27341ee200',1,'jng::Key']]], - ['number2_42',['Number2',['../namespacejng_1_1_key.html#a4d75d531320ce37a5c28ea63eb9cb6bd',1,'jng::Key']]], - ['number3_43',['Number3',['../namespacejng_1_1_key.html#a7d18761e517f15b31f5855465a9b77b5',1,'jng::Key']]], - ['number4_44',['Number4',['../namespacejng_1_1_key.html#af650e453a1225c31540d4e2c708fc2b8',1,'jng::Key']]], - ['number5_45',['Number5',['../namespacejng_1_1_key.html#a466efdcf3028c97b57e39ac2a7f932a3',1,'jng::Key']]], - ['number6_46',['Number6',['../namespacejng_1_1_key.html#a252b51ed287551bd90dc741a775c3f9c',1,'jng::Key']]], - ['number7_47',['Number7',['../namespacejng_1_1_key.html#acb390c86aeb988a0f3c0930e0774ab83',1,'jng::Key']]], - ['number8_48',['Number8',['../namespacejng_1_1_key.html#a213020f65e29c5849395b08dc4368d4d',1,'jng::Key']]], - ['number9_49',['Number9',['../namespacejng_1_1_key.html#a303418fa3c472b8c17e59d8ab3fcbc58',1,'jng::Key']]], - ['numlock_50',['NumLock',['../namespacejng_1_1_key.html#a358ad098fe012fc825e774a483c22967',1,'jng::Key']]] + ['noncopyable_24',['NonCopyable',['../classjng_1_1_non_copyable.html',1,'jng::NonCopyable'],['../classjng_1_1_non_copyable.html#abe7998c4d3c9ea79055cab363a512e5a',1,'jng::NonCopyable::NonCopyable()']]], + ['none_25',['None',['../classjng_1_1_engine.html#acee4c6dfe14e28482ff2d8a0ecbc985ba6adf97f83acf6453d4a6a4b1070f3754',1,'jng::Engine::None()'],['../namespacejng.html#a12ce176de3b33861d2a2f4c90385d499a6adf97f83acf6453d4a6a4b1070f3754',1,'jng::None()'],['../namespacejng.html#adb449770efd1c22981a35ae7ab49f8cba6adf97f83acf6453d4a6a4b1070f3754',1,'jng::None()']]], + ['nonls_26',['NONLS',['../windows__base_8hpp.html#a52be9abe7ca69b513aa7e975284d4f67',1,'windows_base.hpp']]], + ['noopenfile_27',['NOOPENFILE',['../windows__base_8hpp.html#a2d7186e4a6dfcc0011461ce1e8b70a05',1,'windows_base.hpp']]], + ['noprofiler_28',['NOPROFILER',['../windows__base_8hpp.html#af883320ccbc88fe5ff2d8733ec0a034f',1,'windows_base.hpp']]], + ['noproxystub_29',['NOPROXYSTUB',['../windows__base_8hpp.html#af1b20e8b75a982c5f3eb64a4f6610b09',1,'windows_base.hpp']]], + ['norasterops_30',['NORASTEROPS',['../windows__base_8hpp.html#a0293d1b2742d9c9ef401d75a55b81859',1,'windows_base.hpp']]], + ['normalized_31',['Normalized',['../structjng_1_1_layout_element.html#aa6d02785de1c75698a452ccf12ec969b',1,'jng::LayoutElement']]], + ['norpc_32',['NORPC',['../windows__base_8hpp.html#a1eb2b907b2980d537b022b92e71c1704',1,'windows_base.hpp']]], + ['noscroll_33',['NOSCROLL',['../windows__base_8hpp.html#a06f62f70cab65b4c19972202f784e12d',1,'windows_base.hpp']]], + ['noservice_34',['NOSERVICE',['../windows__base_8hpp.html#a14ac98af6281e748377693d824e41ca9',1,'windows_base.hpp']]], + ['nosound_35',['NOSOUND',['../windows__base_8hpp.html#af40cddcc88a6ebeed4f75d4bbbed195e',1,'windows_base.hpp']]], + ['nosyscommands_36',['NOSYSCOMMANDS',['../windows__base_8hpp.html#a271ce221dc9c5c8887d443008b3d718c',1,'windows_base.hpp']]], + ['nosysmetrics_37',['NOSYSMETRICS',['../windows__base_8hpp.html#aea709a8ba0a7d510cefcf625fdb3b4b1',1,'windows_base.hpp']]], + ['notape_38',['NOTAPE',['../windows__base_8hpp.html#a41089baa05964138bac3e53d2d1b4366',1,'windows_base.hpp']]], + ['notextmetric_39',['NOTEXTMETRIC',['../windows__base_8hpp.html#a7d6ea5ce712ed1d05533cf8ebf38d880',1,'windows_base.hpp']]], + ['nowh_40',['NOWH',['../windows__base_8hpp.html#aac388bb1bd11a9a15b594321658ae233',1,'windows_base.hpp']]], + ['number0_41',['Number0',['../namespacejng_1_1_key.html#af6f029e59f010437b12d5cdb46fb71b7',1,'jng::Key']]], + ['number1_42',['Number1',['../namespacejng_1_1_key.html#ae171493aca3c5bdbe1acae27341ee200',1,'jng::Key']]], + ['number2_43',['Number2',['../namespacejng_1_1_key.html#a4d75d531320ce37a5c28ea63eb9cb6bd',1,'jng::Key']]], + ['number3_44',['Number3',['../namespacejng_1_1_key.html#a7d18761e517f15b31f5855465a9b77b5',1,'jng::Key']]], + ['number4_45',['Number4',['../namespacejng_1_1_key.html#af650e453a1225c31540d4e2c708fc2b8',1,'jng::Key']]], + ['number5_46',['Number5',['../namespacejng_1_1_key.html#a466efdcf3028c97b57e39ac2a7f932a3',1,'jng::Key']]], + ['number6_47',['Number6',['../namespacejng_1_1_key.html#a252b51ed287551bd90dc741a775c3f9c',1,'jng::Key']]], + ['number7_48',['Number7',['../namespacejng_1_1_key.html#acb390c86aeb988a0f3c0930e0774ab83',1,'jng::Key']]], + ['number8_49',['Number8',['../namespacejng_1_1_key.html#a213020f65e29c5849395b08dc4368d4d',1,'jng::Key']]], + ['number9_50',['Number9',['../namespacejng_1_1_key.html#a303418fa3c472b8c17e59d8ab3fcbc58',1,'jng::Key']]], + ['numlock_51',['NumLock',['../namespacejng_1_1_key.html#a358ad098fe012fc825e774a483c22967',1,'jng::Key']]] ]; diff --git a/docs/search/all_e.js b/docs/search/all_e.js index 774b5760..9d180c99 100644 --- a/docs/search/all_e.js +++ b/docs/search/all_e.js @@ -4,12 +4,12 @@ var searchData= ['oemresource_1',['OEMRESOURCE',['../windows__base_8hpp.html#a3a75770af38d05856eb2e9d1867b471c',1,'windows_base.hpp']]], ['offset_2',['Offset',['../structjng_1_1_layout_element.html#a728b6a44275b666550d37f06dce12fc6',1,'jng::LayoutElement']]], ['onattach_3',['onAttach',['../classjng_1_1_layer.html#a6c1346b074c4aa67430e0951c7965552',1,'jng::Layer']]], - ['oncreate_4',['onCreate',['../classjng_1_1_native_script.html#a12c7efdc73e7be2107e86da6e7252f4e',1,'jng::NativeScript']]], - ['ondestroy_5',['onDestroy',['../classjng_1_1_native_script.html#a3b8e3fa1d746e50e5d506c9379117a52',1,'jng::NativeScript']]], + ['oncreate_4',['onCreate',['../classjng_1_1_scene.html#aa16988c805c60376487a3502db2e8fc9',1,'jng::Scene::onCreate()'],['../classjng_1_1_native_script.html#a12c7efdc73e7be2107e86da6e7252f4e',1,'jng::NativeScript::onCreate()']]], + ['ondestroy_5',['onDestroy',['../classjng_1_1_scene.html#a4124970be66c7ad506fb66ade3686ebf',1,'jng::Scene::onDestroy()'],['../classjng_1_1_native_script.html#a3b8e3fa1d746e50e5d506c9379117a52',1,'jng::NativeScript::onDestroy()']]], ['ondetach_6',['onDetach',['../classjng_1_1_layer.html#a1bd441d8b3bb7a7a61d189cfedea765d',1,'jng::Layer']]], - ['onevent_7',['onEvent',['../classjng_1_1_layer.html#a98778927330aed3fe696e3e0c090c9ad',1,'jng::Layer']]], + ['onevent_7',['onEvent',['../classjng_1_1_layer.html#a98778927330aed3fe696e3e0c090c9ad',1,'jng::Layer::onEvent()'],['../classjng_1_1_scene.html#a54c8c1eb1a636c0d983bd9fe5ec1a531',1,'jng::Scene::onEvent()'],['../classjng_1_1_native_script.html#aa503498d7f8e995d77576627ddec68c2',1,'jng::NativeScript::onEvent()']]], ['onimguiupdate_8',['onImGuiUpdate',['../classjng_1_1_layer.html#ae40ae57173847f299d615001e3cc1ff5',1,'jng::Layer']]], - ['onupdate_9',['onUpdate',['../classjng_1_1_scene.html#ad433ef62af62a679c8564f226ed471d4',1,'jng::Scene::onUpdate()'],['../classjng_1_1_native_script.html#adc3a28c84f459c04c88d5752e19181ac',1,'jng::NativeScript::onUpdate()'],['../classjng_1_1_layer.html#acc9f94712e940db97a91945a6bfe324d',1,'jng::Layer::onUpdate()'],['../classjng_1_1_window.html#a5919501e3a5b0d74f69399622e74cb4e',1,'jng::Window::onUpdate()']]], + ['onupdate_9',['onUpdate',['../classjng_1_1_layer.html#acc9f94712e940db97a91945a6bfe324d',1,'jng::Layer::onUpdate()'],['../classjng_1_1_window.html#a5919501e3a5b0d74f69399622e74cb4e',1,'jng::Window::onUpdate()'],['../classjng_1_1_scene.html#af6b58865561320648cc57e590e738ac1',1,'jng::Scene::onUpdate()'],['../classjng_1_1_native_script.html#adc3a28c84f459c04c88d5752e19181ac',1,'jng::NativeScript::onUpdate()']]], ['openfilenamedialog_10',['openFilenameDialog',['../namespacejng_1_1_platform.html#a6726b971ae5fb7a56d0a00d01485b9c4',1,'jng::Platform']]], ['opengl_11',['OpenGL',['../namespacejng.html#a12ce176de3b33861d2a2f4c90385d499a760716b590ee7c0adc25f434f577d8be',1,'jng']]], ['openglframebuffer_12',['OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html',1,'jng::OpenGLFramebuffer'],['../classjng_1_1_open_g_l_framebuffer.html#aaceba6fd7a14a18350ceee7df4505de0',1,'jng::OpenGLFramebuffer::OpenGLFramebuffer()']]], diff --git a/docs/search/classes_9.js b/docs/search/classes_9.js index 46ecbc9e..20a1a42c 100644 --- a/docs/search/classes_9.js +++ b/docs/search/classes_9.js @@ -1,5 +1,6 @@ var searchData= [ ['nativescript_0',['NativeScript',['../classjng_1_1_native_script.html',1,'jng']]], - ['nativescriptcomponent_1',['NativeScriptComponent',['../structjng_1_1_native_script_component.html',1,'jng']]] + ['nativescriptcomponent_1',['NativeScriptComponent',['../structjng_1_1_native_script_component.html',1,'jng']]], + ['noncopyable_2',['NonCopyable',['../classjng_1_1_non_copyable.html',1,'jng']]] ]; diff --git a/docs/search/functions_10.js b/docs/search/functions_10.js index f94e28f2..b2f0c2f9 100644 --- a/docs/search/functions_10.js +++ b/docs/search/functions_10.js @@ -8,14 +8,14 @@ var searchData= ['setdata_5',['setData',['../classjng_1_1_vertex_buffer.html#a55cf3e10dc27adfd5b6a982f35c21993',1,'jng::VertexBuffer::setData()'],['../classjng_1_1_uniform_buffer.html#a6b507f56499c8ac7f9708f5c77b912e2',1,'jng::UniformBuffer::setData()'],['../classjng_1_1_texture.html#a03d9ff7d96237769d47cd9da782584c4',1,'jng::Texture::setData()'],['../classjng_1_1_direct3_d_vertex_buffer.html#af1a83f2624d29aaaeda0de35a0d9ae3f',1,'jng::Direct3DVertexBuffer::setData()'],['../classjng_1_1_direct3_d_uniform_buffer.html#a4c871932e4284fb217f99bed3c50b1c4',1,'jng::Direct3DUniformBuffer::setData()'],['../classjng_1_1_direct3_d_texture.html#a2078895b805e7a6576297c5f2f50824c',1,'jng::Direct3DTexture::setData()'],['../classjng_1_1_open_g_l_vertex_buffer.html#a8d560aa03227e9c0fce741bf5c9247f2',1,'jng::OpenGLVertexBuffer::setData()'],['../classjng_1_1_open_g_l_uniform_buffer.html#af67f0e7a787cd485019c09411cdf40ee',1,'jng::OpenGLUniformBuffer::setData()'],['../classjng_1_1_open_g_l_texture.html#a0eb480d858a2d2c1e4d688d6d20a97b5',1,'jng::OpenGLTexture::setData()'],['../classjng_1_1_vulkan_vertex_buffer.html#a528f0d96d83e578c46b7866f8dab1676',1,'jng::VulkanVertexBuffer::setData()'],['../classjng_1_1_vulkan_texture.html#a5f57c1a0afbd6841406d51a0f0d11d15',1,'jng::VulkanTexture::setData()']]], ['seteventcallback_6',['setEventCallback',['../classjng_1_1_window.html#a42b2908932dcda5a9def998fa55cc1bb',1,'jng::Window']]], ['setindexbuffer_7',['setIndexBuffer',['../classjng_1_1_vertex_array.html#ac5331abe64c3160120befedb9c6d5d98',1,'jng::VertexArray::setIndexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#ac9b357d38e6c1093b76b38ecd3f8236c',1,'jng::Direct3DVertexArray::setIndexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aec1320d294632d70d8b1cfd23a8cc8c6',1,'jng::OpenGLVertexArray::setIndexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#afff4d710d4a550abb70143546da1269e',1,'jng::VulkanVertexArray::setIndexBuffer()']]], - ['setorthographic_8',['setOrthographic',['../classjng_1_1_camera.html#adf98a6530bce7a03472960b5d9cdcdb9',1,'jng::Camera']]], - ['setorthographicfar_9',['setOrthographicFar',['../classjng_1_1_camera.html#a4dd8b2dbc31124c43f9bafc4b8079d07',1,'jng::Camera']]], - ['setorthographicnear_10',['setOrthographicNear',['../classjng_1_1_camera.html#ac906225a1a0d28e0f8443433a14e5af0',1,'jng::Camera']]], - ['setorthographicsize_11',['setOrthographicSize',['../classjng_1_1_camera.html#a4aab1e70016c6603637b492767f1d4be',1,'jng::Camera']]], - ['setperspective_12',['setPerspective',['../classjng_1_1_camera.html#a90561258da06d2d595d7c6ebf1d67760',1,'jng::Camera']]], - ['setperspectivefar_13',['setPerspectiveFar',['../classjng_1_1_camera.html#a9df6cd6e5975c73fdd1c287c78cda8bf',1,'jng::Camera']]], - ['setperspectivefov_14',['setPerspectiveFOV',['../classjng_1_1_camera.html#a95db1295d4326485d03c704975088ff5',1,'jng::Camera']]], - ['setperspectivenear_15',['setPerspectiveNear',['../classjng_1_1_camera.html#a296d8472c0204387b57a64ea0ff4ad67',1,'jng::Camera']]], + ['setorthographic_8',['setOrthographic',['../classjng_1_1_camera.html#ad7e919017de8f10b6ca7a365493a5b3a',1,'jng::Camera']]], + ['setorthographicfar_9',['setOrthographicFar',['../classjng_1_1_camera.html#a93e14c44b41b296ce05a831254333b85',1,'jng::Camera']]], + ['setorthographicnear_10',['setOrthographicNear',['../classjng_1_1_camera.html#a96139720021038afbd1c34f357ca6454',1,'jng::Camera']]], + ['setorthographicsize_11',['setOrthographicSize',['../classjng_1_1_camera.html#a669df0642b08cb1d543f8707cfa4b3c6',1,'jng::Camera']]], + ['setperspective_12',['setPerspective',['../classjng_1_1_camera.html#afacc9676174fe4580c04f386c140e110',1,'jng::Camera']]], + ['setperspectivefar_13',['setPerspectiveFar',['../classjng_1_1_camera.html#a6bad9e360501ced12a35fe3db21801d9',1,'jng::Camera']]], + ['setperspectivefov_14',['setPerspectiveFOV',['../classjng_1_1_camera.html#aac4c8fac2528f84c3f326b2744371668',1,'jng::Camera']]], + ['setperspectivenear_15',['setPerspectiveNear',['../classjng_1_1_camera.html#a81b5f4498ab782adb2e3363595019cfb',1,'jng::Camera']]], ['setprojectiontype_16',['setProjectionType',['../classjng_1_1_camera.html#a2e197b85957f37280e444229e0117bd3',1,'jng::Camera']]], ['settitle_17',['setTitle',['../classjng_1_1_window.html#a7a0c66cb0d92257e9dcd9faf930e3c68',1,'jng::Window']]], ['setvertexlayout_18',['setVertexLayout',['../classjng_1_1_direct3_d_vertex_buffer.html#a3d144320241b72b53a276eb4ebab8b0c',1,'jng::Direct3DVertexBuffer']]], diff --git a/docs/search/functions_15.js b/docs/search/functions_15.js index 13c60c7e..278f91ac 100644 --- a/docs/search/functions_15.js +++ b/docs/search/functions_15.js @@ -17,25 +17,26 @@ var searchData= ['_7elayer_14',['~Layer',['../classjng_1_1_layer.html#a82b4e963f30c0d206a6b031c97090f7f',1,'jng::Layer']]], ['_7elayerstack_15',['~LayerStack',['../classjng_1_1_layer_stack.html#a111c78597880314165c2610639af6941',1,'jng::LayerStack']]], ['_7enativescript_16',['~NativeScript',['../classjng_1_1_native_script.html#a25b4344f625ab1d5c5e8d448159324ab',1,'jng::NativeScript']]], - ['_7eopenglframebuffer_17',['~OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html#aa180924388fae929812b0add8dee8600',1,'jng::OpenGLFramebuffer']]], - ['_7eopenglgraphicscontext_18',['~OpenGLGraphicsContext',['../classjng_1_1_open_g_l_graphics_context.html#ac70b410db1da32a7cf0182e39a8466bf',1,'jng::OpenGLGraphicsContext']]], - ['_7eopenglindexbuffer_19',['~OpenGLIndexBuffer',['../classjng_1_1_open_g_l_index_buffer.html#a9201bb6d2fcac16dae699ac779312b03',1,'jng::OpenGLIndexBuffer']]], - ['_7eopenglshader_20',['~OpenGLShader',['../classjng_1_1_open_g_l_shader.html#a1cecfcd5ba523faedafdc46823d6420a',1,'jng::OpenGLShader']]], - ['_7eopengltexture_21',['~OpenGLTexture',['../classjng_1_1_open_g_l_texture.html#a4ae856ccec49dfe062e177199be7a837',1,'jng::OpenGLTexture']]], - ['_7eopengluniformbuffer_22',['~OpenGLUniformBuffer',['../classjng_1_1_open_g_l_uniform_buffer.html#a9e2983ab449f189d58640567551e7ac7',1,'jng::OpenGLUniformBuffer']]], - ['_7eopenglvertexarray_23',['~OpenGLVertexArray',['../classjng_1_1_open_g_l_vertex_array.html#a495d29486e26ded1357dfc84680a6882',1,'jng::OpenGLVertexArray']]], - ['_7eopenglvertexbuffer_24',['~OpenGLVertexBuffer',['../classjng_1_1_open_g_l_vertex_buffer.html#af39bf2107d941510982d982651251739',1,'jng::OpenGLVertexBuffer']]], - ['_7erendererapiimpl_25',['~RendererAPIImpl',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#ac0bd6d408da31348f758d83c800b96b7',1,'jng::RendererAPI::RendererAPIImpl']]], - ['_7eshader_26',['~Shader',['../classjng_1_1_shader.html#a11f101642238b36011301d8ce54e63c4',1,'jng::Shader']]], - ['_7etexture_27',['~Texture',['../classjng_1_1_texture.html#a2a142d794f916afc110d2e0563373d8d',1,'jng::Texture']]], - ['_7euniformbuffer_28',['~UniformBuffer',['../classjng_1_1_uniform_buffer.html#a49082cf0d3c6af8290509a955f5eff02',1,'jng::UniformBuffer']]], - ['_7evertexarray_29',['~VertexArray',['../classjng_1_1_vertex_array.html#a6ed78eafeeeba3523196520214a50062',1,'jng::VertexArray']]], - ['_7evertexbuffer_30',['~VertexBuffer',['../classjng_1_1_vertex_buffer.html#a48c178e269e668ba7e76b4f4aaba1e75',1,'jng::VertexBuffer']]], - ['_7evulkangraphicscontext_31',['~VulkanGraphicsContext',['../classjng_1_1_vulkan_graphics_context.html#a55a9cc46ff403164b74d8562e981c7e3',1,'jng::VulkanGraphicsContext']]], - ['_7evulkanindexbuffer_32',['~VulkanIndexBuffer',['../classjng_1_1_vulkan_index_buffer.html#a51efa5647e49a9240c7f1df5283c40f0',1,'jng::VulkanIndexBuffer']]], - ['_7evulkanshader_33',['~VulkanShader',['../classjng_1_1_vulkan_shader.html#afdce17a2b8c4fdffc91a45910d6c2997',1,'jng::VulkanShader']]], - ['_7evulkantexture_34',['~VulkanTexture',['../classjng_1_1_vulkan_texture.html#a0633f332e0e03f1462ce7c334010e407',1,'jng::VulkanTexture']]], - ['_7evulkanvertexarray_35',['~VulkanVertexArray',['../classjng_1_1_vulkan_vertex_array.html#afae7433c24f23e3aa78ff87270758aaa',1,'jng::VulkanVertexArray']]], - ['_7evulkanvertexbuffer_36',['~VulkanVertexBuffer',['../classjng_1_1_vulkan_vertex_buffer.html#a2a6d427c640a41e824f1230772a4e475',1,'jng::VulkanVertexBuffer']]], - ['_7ewindow_37',['~Window',['../classjng_1_1_window.html#a2755e87ecc995d961d3544ac2f8edbda',1,'jng::Window']]] + ['_7enoncopyable_17',['~NonCopyable',['../classjng_1_1_non_copyable.html#af643e4cf2d4bf8d93b82df4f3afa2db1',1,'jng::NonCopyable']]], + ['_7eopenglframebuffer_18',['~OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html#aa180924388fae929812b0add8dee8600',1,'jng::OpenGLFramebuffer']]], + ['_7eopenglgraphicscontext_19',['~OpenGLGraphicsContext',['../classjng_1_1_open_g_l_graphics_context.html#ac70b410db1da32a7cf0182e39a8466bf',1,'jng::OpenGLGraphicsContext']]], + ['_7eopenglindexbuffer_20',['~OpenGLIndexBuffer',['../classjng_1_1_open_g_l_index_buffer.html#a9201bb6d2fcac16dae699ac779312b03',1,'jng::OpenGLIndexBuffer']]], + ['_7eopenglshader_21',['~OpenGLShader',['../classjng_1_1_open_g_l_shader.html#a1cecfcd5ba523faedafdc46823d6420a',1,'jng::OpenGLShader']]], + ['_7eopengltexture_22',['~OpenGLTexture',['../classjng_1_1_open_g_l_texture.html#a4ae856ccec49dfe062e177199be7a837',1,'jng::OpenGLTexture']]], + ['_7eopengluniformbuffer_23',['~OpenGLUniformBuffer',['../classjng_1_1_open_g_l_uniform_buffer.html#a9e2983ab449f189d58640567551e7ac7',1,'jng::OpenGLUniformBuffer']]], + ['_7eopenglvertexarray_24',['~OpenGLVertexArray',['../classjng_1_1_open_g_l_vertex_array.html#a495d29486e26ded1357dfc84680a6882',1,'jng::OpenGLVertexArray']]], + ['_7eopenglvertexbuffer_25',['~OpenGLVertexBuffer',['../classjng_1_1_open_g_l_vertex_buffer.html#af39bf2107d941510982d982651251739',1,'jng::OpenGLVertexBuffer']]], + ['_7erendererapiimpl_26',['~RendererAPIImpl',['../structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html#ac0bd6d408da31348f758d83c800b96b7',1,'jng::RendererAPI::RendererAPIImpl']]], + ['_7eshader_27',['~Shader',['../classjng_1_1_shader.html#a11f101642238b36011301d8ce54e63c4',1,'jng::Shader']]], + ['_7etexture_28',['~Texture',['../classjng_1_1_texture.html#a2a142d794f916afc110d2e0563373d8d',1,'jng::Texture']]], + ['_7euniformbuffer_29',['~UniformBuffer',['../classjng_1_1_uniform_buffer.html#a49082cf0d3c6af8290509a955f5eff02',1,'jng::UniformBuffer']]], + ['_7evertexarray_30',['~VertexArray',['../classjng_1_1_vertex_array.html#a6ed78eafeeeba3523196520214a50062',1,'jng::VertexArray']]], + ['_7evertexbuffer_31',['~VertexBuffer',['../classjng_1_1_vertex_buffer.html#a48c178e269e668ba7e76b4f4aaba1e75',1,'jng::VertexBuffer']]], + ['_7evulkangraphicscontext_32',['~VulkanGraphicsContext',['../classjng_1_1_vulkan_graphics_context.html#a55a9cc46ff403164b74d8562e981c7e3',1,'jng::VulkanGraphicsContext']]], + ['_7evulkanindexbuffer_33',['~VulkanIndexBuffer',['../classjng_1_1_vulkan_index_buffer.html#a51efa5647e49a9240c7f1df5283c40f0',1,'jng::VulkanIndexBuffer']]], + ['_7evulkanshader_34',['~VulkanShader',['../classjng_1_1_vulkan_shader.html#afdce17a2b8c4fdffc91a45910d6c2997',1,'jng::VulkanShader']]], + ['_7evulkantexture_35',['~VulkanTexture',['../classjng_1_1_vulkan_texture.html#a0633f332e0e03f1462ce7c334010e407',1,'jng::VulkanTexture']]], + ['_7evulkanvertexarray_36',['~VulkanVertexArray',['../classjng_1_1_vulkan_vertex_array.html#afae7433c24f23e3aa78ff87270758aaa',1,'jng::VulkanVertexArray']]], + ['_7evulkanvertexbuffer_37',['~VulkanVertexBuffer',['../classjng_1_1_vulkan_vertex_buffer.html#a2a6d427c640a41e824f1230772a4e475',1,'jng::VulkanVertexBuffer']]], + ['_7ewindow_38',['~Window',['../classjng_1_1_window.html#a2755e87ecc995d961d3544ac2f8edbda',1,'jng::Window']]] ]; diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js index 1da96dd4..55d9e500 100644 --- a/docs/search/functions_2.js +++ b/docs/search/functions_2.js @@ -8,5 +8,5 @@ var searchData= ['create_5',['create',['../classjng_1_1_window.html#af05735b1c36ba92f7d0fcf19e5ca47eb',1,'jng::Window::create()'],['../classjng_1_1_vertex_buffer.html#a1e60e0da38071497bdf4aca4bd4aaa09',1,'jng::VertexBuffer::create(const void *vertices, size_t size)'],['../classjng_1_1_vertex_buffer.html#acc2ec0da7c2a6b0ab5ebd6786ef5eaa0',1,'jng::VertexBuffer::create(size_t size)'],['../classjng_1_1_index_buffer.html#a92bd835443fe0eae1b2b7e124a324dc1',1,'jng::IndexBuffer::create()'],['../classjng_1_1_uniform_buffer.html#a89b0a5457f8cfa8097c1a8a6da609dfb',1,'jng::UniformBuffer::create()'],['../classjng_1_1_framebuffer.html#ac1cd3fde3d453f429b631842f184c6e3',1,'jng::Framebuffer::create()'],['../classjng_1_1_shader.html#a3b706dca6a38e32645bd77f2000b518b',1,'jng::Shader::create()'],['../classjng_1_1_texture.html#a98ba902790dfa0d886003cbf83e16a65',1,'jng::Texture::create(const char *path)'],['../classjng_1_1_texture.html#a64bcaa022c6f5596f82fcf004452effe',1,'jng::Texture::create(uint32 width, uint32 height)'],['../classjng_1_1_vertex_array.html#a9d47d986992b6d4c87873f6aee325abb',1,'jng::VertexArray::create()'],['../classjng_1_1_graphics_context.html#a8d0614016a0a20ac37e338491b6b8287',1,'jng::GraphicsContext::create()']]], ['createapp_6',['createApp',['../entry__point_8hpp.html#a280447b0c28d73bffcaac601e47159de',1,'entry_point.hpp']]], ['createcachedirectoryifneeded_7',['createCacheDirectoryIfNeeded',['../classjng_1_1_shader.html#aea588b1cb7f32c18ed3ab1b2cc48b04e',1,'jng::Shader']]], - ['createentity_8',['createEntity',['../classjng_1_1_scene.html#a0a2ee71a28456504bed83437841509e5',1,'jng::Scene']]] + ['createentity_8',['createEntity',['../classjng_1_1_scene.html#a0a2ee71a28456504bed83437841509e5',1,'jng::Scene::createEntity()'],['../classjng_1_1_native_script.html#ad39969aa871c618ef687806634fa02c1',1,'jng::NativeScript::createEntity()']]] ]; diff --git a/docs/search/functions_3.js b/docs/search/functions_3.js index 9e9d43df..e3c64343 100644 --- a/docs/search/functions_3.js +++ b/docs/search/functions_3.js @@ -3,7 +3,7 @@ var searchData= ['datatypetosize_0',['dataTypeToSize',['../structjng_1_1_layout_element.html#a2b5ee6f7a6232b438a541671f2c75086',1,'jng::LayoutElement']]], ['decode_1',['decode',['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html#a728b087127b10d0ece4ae21148a36f94',1,'YAML::convert< glm::vec3 >::decode()'],['../struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html#a935e31dad7403fdefc60995d3bc8a776',1,'YAML::convert< glm::vec4 >::decode()']]], ['deserialize_2',['deserialize',['../classjng_1_1_scene_serializer.html#ae658fd70f03a1b05b5bddf2e8df1663d',1,'jng::SceneSerializer']]], - ['destroyentity_3',['destroyEntity',['../classjng_1_1_scene.html#a774591255d3d171ce54abb2c61ac8928',1,'jng::Scene']]], + ['destroyentity_3',['destroyEntity',['../classjng_1_1_scene.html#a774591255d3d171ce54abb2c61ac8928',1,'jng::Scene::destroyEntity()'],['../classjng_1_1_native_script.html#af32965d3da25f3c2ca00f1d39a307872',1,'jng::NativeScript::destroyEntity()']]], ['direct3dframebuffer_4',['Direct3DFramebuffer',['../classjng_1_1_direct3_d_framebuffer.html#a54f02ee3b94a6c77fa00199634d6369c',1,'jng::Direct3DFramebuffer']]], ['direct3dgraphicscontext_5',['Direct3DGraphicsContext',['../classjng_1_1_direct3_d_graphics_context.html#a6d8160d86d6d2a50da82c2802e2f0668',1,'jng::Direct3DGraphicsContext']]], ['direct3dindexbuffer_6',['Direct3DIndexBuffer',['../classjng_1_1_direct3_d_index_buffer.html#af436b0f7b4762e52ffa1aa92a5496aeb',1,'jng::Direct3DIndexBuffer']]], diff --git a/docs/search/functions_6.js b/docs/search/functions_6.js index c7266431..5112cea5 100644 --- a/docs/search/functions_6.js +++ b/docs/search/functions_6.js @@ -34,18 +34,19 @@ var searchData= ['getproperties_31',['getProperties',['../classjng_1_1_engine.html#a638b9ad8711a0f81df200120a47ee8ef',1,'jng::Engine::getProperties()'],['../classjng_1_1_framebuffer.html#a6ea0f269317ab7dbf2000a93a09b2fa3',1,'jng::Framebuffer::getProperties()'],['../classjng_1_1_direct3_d_framebuffer.html#a9743eeb8a6e7e947c13c74719324b00c',1,'jng::Direct3DFramebuffer::getProperties()'],['../classjng_1_1_open_g_l_framebuffer.html#ad7c2c508ff201154e05b846f844e4a69',1,'jng::OpenGLFramebuffer::getProperties()']]], ['getrendererbackend_32',['getRendererBackend',['../classjng_1_1_renderer_a_p_i.html#a5684a9b3693eb6877b1937855498fbf2',1,'jng::RendererAPI']]], ['getrepeatcount_33',['getRepeatCount',['../classjng_1_1_key_press_event.html#a73089b99c8d05064123ee5f22f1d8f14',1,'jng::KeyPressEvent']]], - ['getstatistics_34',['getStatistics',['../classjng_1_1_renderer2_d.html#ad157bbcac6c18ceaf98ed2b1b9e383ff',1,'jng::Renderer2D']]], - ['getstride_35',['getStride',['../classjng_1_1_vertex_layout.html#aa7ff65453232e73fbe85766c1c69c25a',1,'jng::VertexLayout']]], - ['gettransform_36',['getTransform',['../structjng_1_1_transform_component.html#aeafc6db73dfac1a0141422d75579223a',1,'jng::TransformComponent']]], - ['gettype_37',['getType',['../classjng_1_1_event.html#aa7b32dcd46ce5e6d68299c70a7762bf6',1,'jng::Event']]], - ['getvertexbuffer_38',['getVertexBuffer',['../classjng_1_1_vertex_array.html#a44bd4e546033f6ff75fcbb0fc692c559',1,'jng::VertexArray::getVertexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#a074620058035b26c0584643f777ecdc9',1,'jng::Direct3DVertexArray::getVertexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aa0c03cedcfd3ee6c666b85b30b42916c',1,'jng::OpenGLVertexArray::getVertexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#ab8ff627ff9fd0800b756f00d306994fe',1,'jng::VulkanVertexArray::getVertexBuffer()']]], - ['getvertexshaderbytecode_39',['getVertexShaderByteCode',['../classjng_1_1_direct3_d_shader.html#a800721c1aa3778406756237a03395f0b',1,'jng::Direct3DShader']]], - ['getvp_40',['getVP',['../classjng_1_1_camera.html#a42d7255062f821bf7789c110da7a8fdc',1,'jng::Camera']]], - ['getwidth_41',['getWidth',['../classjng_1_1_window_resize_event.html#a6ca56a6ef73fb74810923ea63202f5e5',1,'jng::WindowResizeEvent::getWidth()'],['../classjng_1_1_window.html#ab1d3905e0dbc7310476e9b006a5d48ed',1,'jng::Window::getWidth()'],['../classjng_1_1_texture.html#a42be77787a0ae4e7f185b110727171f9',1,'jng::Texture::getWidth()'],['../classjng_1_1_direct3_d_texture.html#ab497e2bed30b86e19b027cf8301884d7',1,'jng::Direct3DTexture::getWidth()'],['../classjng_1_1_open_g_l_texture.html#a0f0b5b575486461ce2ae18c04e9a8643',1,'jng::OpenGLTexture::getWidth()'],['../classjng_1_1_vulkan_texture.html#ac972cddf4923491f3a803f0bf6710f96',1,'jng::VulkanTexture::getWidth()']]], - ['getwindow_42',['getWindow',['../classjng_1_1_engine.html#a6f46f6345bb4f4d5583d5b6d3dd77251',1,'jng::Engine']]], - ['getx_43',['getX',['../classjng_1_1_mouse_move_event.html#a67b36c2db956145f398a571cd796c0fe',1,'jng::MouseMoveEvent']]], - ['getxoffset_44',['getXOffset',['../classjng_1_1_mouse_scroll_event.html#a9c7c5a21cd9780387b2ea25b25c1b76d',1,'jng::MouseScrollEvent']]], - ['gety_45',['getY',['../classjng_1_1_mouse_move_event.html#a79c08e3ba8ad21ea116b9df674f61ec0',1,'jng::MouseMoveEvent']]], - ['getyoffset_46',['getYOffset',['../classjng_1_1_mouse_scroll_event.html#a7bfa6dbf8f0dbeb7019fe4f6757e2eb7',1,'jng::MouseScrollEvent']]], - ['glfwinitializer_47',['GLFWInitializer',['../structjng_1_1_g_l_f_w_initializer.html#a50f002fe2eb8a324a082494175c90125',1,'jng::GLFWInitializer']]] + ['getscene_34',['getScene',['../classjng_1_1_entity.html#aa246ec87006e7109b92806507b9e8b54',1,'jng::Entity']]], + ['getstatistics_35',['getStatistics',['../classjng_1_1_renderer2_d.html#ad157bbcac6c18ceaf98ed2b1b9e383ff',1,'jng::Renderer2D']]], + ['getstride_36',['getStride',['../classjng_1_1_vertex_layout.html#aa7ff65453232e73fbe85766c1c69c25a',1,'jng::VertexLayout']]], + ['gettransform_37',['getTransform',['../structjng_1_1_transform_component.html#aeafc6db73dfac1a0141422d75579223a',1,'jng::TransformComponent']]], + ['gettype_38',['getType',['../classjng_1_1_event.html#aa7b32dcd46ce5e6d68299c70a7762bf6',1,'jng::Event']]], + ['getvertexbuffer_39',['getVertexBuffer',['../classjng_1_1_vertex_array.html#a44bd4e546033f6ff75fcbb0fc692c559',1,'jng::VertexArray::getVertexBuffer()'],['../classjng_1_1_direct3_d_vertex_array.html#a074620058035b26c0584643f777ecdc9',1,'jng::Direct3DVertexArray::getVertexBuffer()'],['../classjng_1_1_open_g_l_vertex_array.html#aa0c03cedcfd3ee6c666b85b30b42916c',1,'jng::OpenGLVertexArray::getVertexBuffer()'],['../classjng_1_1_vulkan_vertex_array.html#ab8ff627ff9fd0800b756f00d306994fe',1,'jng::VulkanVertexArray::getVertexBuffer()']]], + ['getvertexshaderbytecode_40',['getVertexShaderByteCode',['../classjng_1_1_direct3_d_shader.html#a800721c1aa3778406756237a03395f0b',1,'jng::Direct3DShader']]], + ['getvp_41',['getVP',['../classjng_1_1_camera.html#a42d7255062f821bf7789c110da7a8fdc',1,'jng::Camera']]], + ['getwidth_42',['getWidth',['../classjng_1_1_window_resize_event.html#a6ca56a6ef73fb74810923ea63202f5e5',1,'jng::WindowResizeEvent::getWidth()'],['../classjng_1_1_window.html#ab1d3905e0dbc7310476e9b006a5d48ed',1,'jng::Window::getWidth()'],['../classjng_1_1_texture.html#a42be77787a0ae4e7f185b110727171f9',1,'jng::Texture::getWidth()'],['../classjng_1_1_direct3_d_texture.html#ab497e2bed30b86e19b027cf8301884d7',1,'jng::Direct3DTexture::getWidth()'],['../classjng_1_1_open_g_l_texture.html#a0f0b5b575486461ce2ae18c04e9a8643',1,'jng::OpenGLTexture::getWidth()'],['../classjng_1_1_vulkan_texture.html#ac972cddf4923491f3a803f0bf6710f96',1,'jng::VulkanTexture::getWidth()']]], + ['getwindow_43',['getWindow',['../classjng_1_1_engine.html#a6f46f6345bb4f4d5583d5b6d3dd77251',1,'jng::Engine']]], + ['getx_44',['getX',['../classjng_1_1_mouse_move_event.html#a67b36c2db956145f398a571cd796c0fe',1,'jng::MouseMoveEvent']]], + ['getxoffset_45',['getXOffset',['../classjng_1_1_mouse_scroll_event.html#a9c7c5a21cd9780387b2ea25b25c1b76d',1,'jng::MouseScrollEvent']]], + ['gety_46',['getY',['../classjng_1_1_mouse_move_event.html#a79c08e3ba8ad21ea116b9df674f61ec0',1,'jng::MouseMoveEvent']]], + ['getyoffset_47',['getYOffset',['../classjng_1_1_mouse_scroll_event.html#a7bfa6dbf8f0dbeb7019fe4f6757e2eb7',1,'jng::MouseScrollEvent']]], + ['glfwinitializer_48',['GLFWInitializer',['../structjng_1_1_g_l_f_w_initializer.html#a50f002fe2eb8a324a082494175c90125',1,'jng::GLFWInitializer']]] ]; diff --git a/docs/search/functions_c.js b/docs/search/functions_c.js index 1f38607d..fba873a8 100644 --- a/docs/search/functions_c.js +++ b/docs/search/functions_c.js @@ -2,5 +2,6 @@ var searchData= [ ['nativescript_0',['NativeScript',['../classjng_1_1_native_script.html#aeb0600956f3e61f3248a3d5c8e60524c',1,'jng::NativeScript']]], ['nativescriptcomponent_1',['NativeScriptComponent',['../structjng_1_1_native_script_component.html#a61e24a799282fce7b14667460d821516',1,'jng::NativeScriptComponent::NativeScriptComponent()=default'],['../structjng_1_1_native_script_component.html#a0f3fb4e5e2a9f3a667617323924fa2e7',1,'jng::NativeScriptComponent::NativeScriptComponent(const NativeScriptComponent &)=default']]], - ['newframe_2',['newFrame',['../classjng_1_1_im_gui_layer.html#a8835caf033a48965b4f24d66ac290729',1,'jng::ImGuiLayer']]] + ['newframe_2',['newFrame',['../classjng_1_1_im_gui_layer.html#a8835caf033a48965b4f24d66ac290729',1,'jng::ImGuiLayer']]], + ['noncopyable_3',['NonCopyable',['../classjng_1_1_non_copyable.html#abe7998c4d3c9ea79055cab363a512e5a',1,'jng::NonCopyable']]] ]; diff --git a/docs/search/functions_d.js b/docs/search/functions_d.js index 27fdc01a..2546e0c9 100644 --- a/docs/search/functions_d.js +++ b/docs/search/functions_d.js @@ -1,12 +1,12 @@ var searchData= [ ['onattach_0',['onAttach',['../classjng_1_1_layer.html#a6c1346b074c4aa67430e0951c7965552',1,'jng::Layer']]], - ['oncreate_1',['onCreate',['../classjng_1_1_native_script.html#a12c7efdc73e7be2107e86da6e7252f4e',1,'jng::NativeScript']]], - ['ondestroy_2',['onDestroy',['../classjng_1_1_native_script.html#a3b8e3fa1d746e50e5d506c9379117a52',1,'jng::NativeScript']]], + ['oncreate_1',['onCreate',['../classjng_1_1_scene.html#aa16988c805c60376487a3502db2e8fc9',1,'jng::Scene::onCreate()'],['../classjng_1_1_native_script.html#a12c7efdc73e7be2107e86da6e7252f4e',1,'jng::NativeScript::onCreate()']]], + ['ondestroy_2',['onDestroy',['../classjng_1_1_scene.html#a4124970be66c7ad506fb66ade3686ebf',1,'jng::Scene::onDestroy()'],['../classjng_1_1_native_script.html#a3b8e3fa1d746e50e5d506c9379117a52',1,'jng::NativeScript::onDestroy()']]], ['ondetach_3',['onDetach',['../classjng_1_1_layer.html#a1bd441d8b3bb7a7a61d189cfedea765d',1,'jng::Layer']]], - ['onevent_4',['onEvent',['../classjng_1_1_layer.html#a98778927330aed3fe696e3e0c090c9ad',1,'jng::Layer']]], + ['onevent_4',['onEvent',['../classjng_1_1_layer.html#a98778927330aed3fe696e3e0c090c9ad',1,'jng::Layer::onEvent()'],['../classjng_1_1_scene.html#a54c8c1eb1a636c0d983bd9fe5ec1a531',1,'jng::Scene::onEvent()'],['../classjng_1_1_native_script.html#aa503498d7f8e995d77576627ddec68c2',1,'jng::NativeScript::onEvent()']]], ['onimguiupdate_5',['onImGuiUpdate',['../classjng_1_1_layer.html#ae40ae57173847f299d615001e3cc1ff5',1,'jng::Layer']]], - ['onupdate_6',['onUpdate',['../classjng_1_1_layer.html#acc9f94712e940db97a91945a6bfe324d',1,'jng::Layer::onUpdate()'],['../classjng_1_1_window.html#a5919501e3a5b0d74f69399622e74cb4e',1,'jng::Window::onUpdate()'],['../classjng_1_1_scene.html#ad433ef62af62a679c8564f226ed471d4',1,'jng::Scene::onUpdate()'],['../classjng_1_1_native_script.html#adc3a28c84f459c04c88d5752e19181ac',1,'jng::NativeScript::onUpdate()']]], + ['onupdate_6',['onUpdate',['../classjng_1_1_layer.html#acc9f94712e940db97a91945a6bfe324d',1,'jng::Layer::onUpdate()'],['../classjng_1_1_window.html#a5919501e3a5b0d74f69399622e74cb4e',1,'jng::Window::onUpdate()'],['../classjng_1_1_scene.html#af6b58865561320648cc57e590e738ac1',1,'jng::Scene::onUpdate()'],['../classjng_1_1_native_script.html#adc3a28c84f459c04c88d5752e19181ac',1,'jng::NativeScript::onUpdate()']]], ['openfilenamedialog_7',['openFilenameDialog',['../namespacejng_1_1_platform.html#a6726b971ae5fb7a56d0a00d01485b9c4',1,'jng::Platform']]], ['openglframebuffer_8',['OpenGLFramebuffer',['../classjng_1_1_open_g_l_framebuffer.html#aaceba6fd7a14a18350ceee7df4505de0',1,'jng::OpenGLFramebuffer']]], ['openglgraphicscontext_9',['OpenGLGraphicsContext',['../classjng_1_1_open_g_l_graphics_context.html#af7c6025877525a7d27179aedef12fe31',1,'jng::OpenGLGraphicsContext']]], diff --git a/docs/search/related_1.js b/docs/search/related_1.js index 464eeb4b..0eae45b6 100644 --- a/docs/search/related_1.js +++ b/docs/search/related_1.js @@ -1,5 +1,5 @@ var searchData= [ - ['scene_0',['Scene',['../classjng_1_1_entity.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::Entity']]], + ['scene_0',['Scene',['../classjng_1_1_entity.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::Entity::Scene()'],['../classjng_1_1_native_script.html#a032858ae1fe02d2d1170981c2af2d67c',1,'jng::NativeScript::Scene()']]], ['sceneserializer_1',['SceneSerializer',['../classjng_1_1_scene.html#a5fa7cde0ffbc72d80ef032c1ea3e9c85',1,'jng::Scene']]] ]; diff --git a/docs/shader_8cpp.html b/docs/shader_8cpp.html index e59f05ea..cc547623 100644 --- a/docs/shader_8cpp.html +++ b/docs/shader_8cpp.html @@ -89,7 +89,7 @@ diff --git a/docs/shader_8hpp.html b/docs/shader_8hpp.html index e86c25db..949e58fa 100644 --- a/docs/shader_8hpp.html +++ b/docs/shader_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/shader_8hpp_source.html b/docs/shader_8hpp_source.html index b16c5c05..caf3dbdd 100644 --- a/docs/shader_8hpp_source.html +++ b/docs/shader_8hpp_source.html @@ -125,13 +125,13 @@
    virtual std::filesystem::path getCacheDirectory() const =0
    virtual void bind() const =0
    void createCacheDirectoryIfNeeded() const
    Definition: shader.cpp:109
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/shader__d3d_8cpp.html b/docs/shader__d3d_8cpp.html index 4395faee..38544337 100644 --- a/docs/shader__d3d_8cpp.html +++ b/docs/shader__d3d_8cpp.html @@ -94,7 +94,7 @@ diff --git a/docs/shader__d3d_8hpp.html b/docs/shader__d3d_8hpp.html index 2987620c..47c1ef26 100644 --- a/docs/shader__d3d_8hpp.html +++ b/docs/shader__d3d_8hpp.html @@ -114,7 +114,7 @@

    diff --git a/docs/shader__d3d_8hpp_source.html b/docs/shader__d3d_8hpp_source.html index d344ef60..9560f75d 100644 --- a/docs/shader__d3d_8hpp_source.html +++ b/docs/shader__d3d_8hpp_source.html @@ -130,14 +130,14 @@
    Definition: shader.hpp:17
    Type
    Definition: shader.hpp:25
    -
    Definition: base.hpp:17
    +
    Definition: base.hpp:13
    ID3D10Blob ID3DBlob
    Definition: shader_d3d.hpp:19
    diff --git a/docs/shader__ogl_8cpp.html b/docs/shader__ogl_8cpp.html index 1748fbe8..37a91b8d 100644 --- a/docs/shader__ogl_8cpp.html +++ b/docs/shader__ogl_8cpp.html @@ -75,7 +75,7 @@
    #include "renderer/opengl/shader_ogl.hpp"
    #include "core/base_internal.hpp"
    #include "core/engine.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>
    #include <glm/gtc/type_ptr.inl>
    #include <shaderc/shaderc.hpp>
    #include <spirv_cross/spirv_glsl.hpp>
    @@ -91,7 +91,7 @@
    diff --git a/docs/shader__ogl_8hpp.html b/docs/shader__ogl_8hpp.html index 36e865e7..bcf5b4bb 100644 --- a/docs/shader__ogl_8hpp.html +++ b/docs/shader__ogl_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/shader__ogl_8hpp_source.html b/docs/shader__ogl_8hpp_source.html index a584fcd2..454413e9 100644 --- a/docs/shader__ogl_8hpp_source.html +++ b/docs/shader__ogl_8hpp_source.html @@ -110,13 +110,13 @@
    void unbind() const override
    Definition: shader_ogl.cpp:60
    Definition: shader.hpp:17
    Type
    Definition: shader.hpp:25
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/shader__vlk_8cpp.html b/docs/shader__vlk_8cpp.html index ef5b32be..df5698ce 100644 --- a/docs/shader__vlk_8cpp.html +++ b/docs/shader__vlk_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/shader__vlk_8hpp.html b/docs/shader__vlk_8hpp.html index 57f2d649..83f0bcea 100644 --- a/docs/shader__vlk_8hpp.html +++ b/docs/shader__vlk_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/shader__vlk_8hpp_source.html b/docs/shader__vlk_8hpp_source.html index 4ffdda65..ccf702c6 100644 --- a/docs/shader__vlk_8hpp_source.html +++ b/docs/shader__vlk_8hpp_source.html @@ -106,13 +106,13 @@
    void unbind() const
    Definition: shader_vlk.cpp:29
    void bind() const
    Definition: shader_vlk.cpp:24
    ~VulkanShader()
    Definition: shader_vlk.cpp:19
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4-members.html b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4-members.html index 735cd653..86226a89 100644 --- a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4-members.html +++ b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4-members.html @@ -78,7 +78,7 @@

    diff --git a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html index 7d2f7392..605f4086 100644 --- a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html +++ b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec3_01_4.html @@ -150,7 +150,7 @@

    diff --git a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4-members.html b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4-members.html index e095a410..98f8b378 100644 --- a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4-members.html +++ b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4-members.html @@ -78,7 +78,7 @@

    diff --git a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html index 10009df6..b73bddbf 100644 --- a/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html +++ b/docs/struct_y_a_m_l_1_1convert_3_01glm_1_1vec4_01_4.html @@ -150,7 +150,7 @@

    diff --git a/docs/structjng_1_1_camera_component-members.html b/docs/structjng_1_1_camera_component-members.html index ed144b0b..2ba6b2e8 100644 --- a/docs/structjng_1_1_camera_component-members.html +++ b/docs/structjng_1_1_camera_component-members.html @@ -79,7 +79,7 @@ diff --git a/docs/structjng_1_1_camera_component.html b/docs/structjng_1_1_camera_component.html index 2b2040ce..d5a0402b 100644 --- a/docs/structjng_1_1_camera_component.html +++ b/docs/structjng_1_1_camera_component.html @@ -162,7 +162,7 @@

    diff --git a/docs/structjng_1_1_engine_1_1_properties-members.html b/docs/structjng_1_1_engine_1_1_properties-members.html index 3664d816..78cf2e85 100644 --- a/docs/structjng_1_1_engine_1_1_properties-members.html +++ b/docs/structjng_1_1_engine_1_1_properties-members.html @@ -81,7 +81,7 @@ diff --git a/docs/structjng_1_1_engine_1_1_properties.html b/docs/structjng_1_1_engine_1_1_properties.html index 19ea59b6..37dc4c45 100644 --- a/docs/structjng_1_1_engine_1_1_properties.html +++ b/docs/structjng_1_1_engine_1_1_properties.html @@ -166,7 +166,7 @@

    diff --git a/docs/structjng_1_1_framebuffer_1_1_properties-members.html b/docs/structjng_1_1_framebuffer_1_1_properties-members.html index 38e2dc4e..4bca1b5b 100644 --- a/docs/structjng_1_1_framebuffer_1_1_properties-members.html +++ b/docs/structjng_1_1_framebuffer_1_1_properties-members.html @@ -80,7 +80,7 @@ diff --git a/docs/structjng_1_1_framebuffer_1_1_properties.html b/docs/structjng_1_1_framebuffer_1_1_properties.html index 1bb29721..0a23efd6 100644 --- a/docs/structjng_1_1_framebuffer_1_1_properties.html +++ b/docs/structjng_1_1_framebuffer_1_1_properties.html @@ -150,7 +150,7 @@

    diff --git a/docs/structjng_1_1_g_l_f_w_initializer-members.html b/docs/structjng_1_1_g_l_f_w_initializer-members.html index 4e6897d2..8a38d1f2 100644 --- a/docs/structjng_1_1_g_l_f_w_initializer-members.html +++ b/docs/structjng_1_1_g_l_f_w_initializer-members.html @@ -78,7 +78,7 @@ diff --git a/docs/structjng_1_1_g_l_f_w_initializer.html b/docs/structjng_1_1_g_l_f_w_initializer.html index ac6b7ce6..053b4871 100644 --- a/docs/structjng_1_1_g_l_f_w_initializer.html +++ b/docs/structjng_1_1_g_l_f_w_initializer.html @@ -138,7 +138,7 @@

    diff --git a/docs/structjng_1_1_layout_element-members.html b/docs/structjng_1_1_layout_element-members.html index bf3ded25..6c35f2d5 100644 --- a/docs/structjng_1_1_layout_element-members.html +++ b/docs/structjng_1_1_layout_element-members.html @@ -85,7 +85,7 @@ diff --git a/docs/structjng_1_1_layout_element.html b/docs/structjng_1_1_layout_element.html index 4107b300..39282539 100644 --- a/docs/structjng_1_1_layout_element.html +++ b/docs/structjng_1_1_layout_element.html @@ -322,7 +322,7 @@

    diff --git a/docs/structjng_1_1_native_script_component-members.html b/docs/structjng_1_1_native_script_component-members.html index 6bd2ffb9..1ac8b90a 100644 --- a/docs/structjng_1_1_native_script_component-members.html +++ b/docs/structjng_1_1_native_script_component-members.html @@ -82,7 +82,7 @@ diff --git a/docs/structjng_1_1_native_script_component.html b/docs/structjng_1_1_native_script_component.html index 4d326a13..d6323449 100644 --- a/docs/structjng_1_1_native_script_component.html +++ b/docs/structjng_1_1_native_script_component.html @@ -225,7 +225,7 @@

    diff --git a/docs/structjng_1_1_quad_vertex-members.html b/docs/structjng_1_1_quad_vertex-members.html index bcdd654c..45778604 100644 --- a/docs/structjng_1_1_quad_vertex-members.html +++ b/docs/structjng_1_1_quad_vertex-members.html @@ -80,7 +80,7 @@ diff --git a/docs/structjng_1_1_quad_vertex.html b/docs/structjng_1_1_quad_vertex.html index 2d9b991d..1e1bd7dc 100644 --- a/docs/structjng_1_1_quad_vertex.html +++ b/docs/structjng_1_1_quad_vertex.html @@ -148,7 +148,7 @@

    diff --git a/docs/structjng_1_1_render_data-members.html b/docs/structjng_1_1_render_data-members.html index 622bb571..1b30a578 100644 --- a/docs/structjng_1_1_render_data-members.html +++ b/docs/structjng_1_1_render_data-members.html @@ -94,7 +94,7 @@ diff --git a/docs/structjng_1_1_render_data.html b/docs/structjng_1_1_render_data.html index 6d715c2d..4e88af8f 100644 --- a/docs/structjng_1_1_render_data.html +++ b/docs/structjng_1_1_render_data.html @@ -424,7 +424,7 @@

    diff --git a/docs/structjng_1_1_renderer2_d_1_1_properties-members.html b/docs/structjng_1_1_renderer2_d_1_1_properties-members.html index a4e546e2..1ae283ac 100644 --- a/docs/structjng_1_1_renderer2_d_1_1_properties-members.html +++ b/docs/structjng_1_1_renderer2_d_1_1_properties-members.html @@ -80,7 +80,7 @@ diff --git a/docs/structjng_1_1_renderer2_d_1_1_properties.html b/docs/structjng_1_1_renderer2_d_1_1_properties.html index 773fe1ef..893ab0ca 100644 --- a/docs/structjng_1_1_renderer2_d_1_1_properties.html +++ b/docs/structjng_1_1_renderer2_d_1_1_properties.html @@ -150,7 +150,7 @@

    diff --git a/docs/structjng_1_1_renderer2_d_1_1_statistics-members.html b/docs/structjng_1_1_renderer2_d_1_1_statistics-members.html index 3b4e86bf..90020baf 100644 --- a/docs/structjng_1_1_renderer2_d_1_1_statistics-members.html +++ b/docs/structjng_1_1_renderer2_d_1_1_statistics-members.html @@ -78,7 +78,7 @@ diff --git a/docs/structjng_1_1_renderer2_d_1_1_statistics.html b/docs/structjng_1_1_renderer2_d_1_1_statistics.html index 1798b2f1..bc9e6294 100644 --- a/docs/structjng_1_1_renderer2_d_1_1_statistics.html +++ b/docs/structjng_1_1_renderer2_d_1_1_statistics.html @@ -118,7 +118,7 @@

    diff --git a/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl-members.html b/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl-members.html index 8ee7e330..eac352ed 100644 --- a/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl-members.html +++ b/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl-members.html @@ -82,7 +82,7 @@ diff --git a/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html b/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html index 60c2d7ba..6a5918c3 100644 --- a/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html +++ b/docs/structjng_1_1_renderer_a_p_i_1_1_renderer_a_p_i_impl.html @@ -297,7 +297,7 @@

    diff --git a/docs/structjng_1_1_sprite_component-members.html b/docs/structjng_1_1_sprite_component-members.html index cc082ab4..1eb500db 100644 --- a/docs/structjng_1_1_sprite_component-members.html +++ b/docs/structjng_1_1_sprite_component-members.html @@ -79,7 +79,7 @@ diff --git a/docs/structjng_1_1_sprite_component.html b/docs/structjng_1_1_sprite_component.html index d017f65f..e79ab1d9 100644 --- a/docs/structjng_1_1_sprite_component.html +++ b/docs/structjng_1_1_sprite_component.html @@ -162,7 +162,7 @@

    diff --git a/docs/structjng_1_1_tag_component-members.html b/docs/structjng_1_1_tag_component-members.html index 42c8a000..ef827be3 100644 --- a/docs/structjng_1_1_tag_component-members.html +++ b/docs/structjng_1_1_tag_component-members.html @@ -79,7 +79,7 @@ diff --git a/docs/structjng_1_1_tag_component.html b/docs/structjng_1_1_tag_component.html index 7337742c..cae67efb 100644 --- a/docs/structjng_1_1_tag_component.html +++ b/docs/structjng_1_1_tag_component.html @@ -163,7 +163,7 @@

    diff --git a/docs/structjng_1_1_transform_component-members.html b/docs/structjng_1_1_transform_component-members.html index c8b93a3f..e0280d77 100644 --- a/docs/structjng_1_1_transform_component-members.html +++ b/docs/structjng_1_1_transform_component-members.html @@ -82,7 +82,7 @@ diff --git a/docs/structjng_1_1_transform_component.html b/docs/structjng_1_1_transform_component.html index b79f5117..43c57b81 100644 --- a/docs/structjng_1_1_transform_component.html +++ b/docs/structjng_1_1_transform_component.html @@ -222,7 +222,7 @@

    diff --git a/docs/structjng_1_1_window_1_1_window_data-members.html b/docs/structjng_1_1_window_1_1_window_data-members.html index c465a000..eeb6a66b 100644 --- a/docs/structjng_1_1_window_1_1_window_data-members.html +++ b/docs/structjng_1_1_window_1_1_window_data-members.html @@ -81,7 +81,7 @@ diff --git a/docs/structjng_1_1_window_1_1_window_data.html b/docs/structjng_1_1_window_1_1_window_data.html index d242d2d2..27ea648b 100644 --- a/docs/structjng_1_1_window_1_1_window_data.html +++ b/docs/structjng_1_1_window_1_1_window_data.html @@ -166,7 +166,7 @@

    diff --git a/docs/texture_8cpp.html b/docs/texture_8cpp.html index 799aeffd..5d8ea361 100644 --- a/docs/texture_8cpp.html +++ b/docs/texture_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/texture_8hpp.html b/docs/texture_8hpp.html index c05567ba..3880872d 100644 --- a/docs/texture_8hpp.html +++ b/docs/texture_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/texture_8hpp_source.html b/docs/texture_8hpp_source.html index 3b680252..852a6b13 100644 --- a/docs/texture_8hpp_source.html +++ b/docs/texture_8hpp_source.html @@ -108,13 +108,13 @@
    static Ref< Texture > create(const char *path)
    Definition: texture.cpp:21
    virtual uint32 getHeight() const =0
    virtual void unbind(uint32 slot) const =0
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/texture__d3d_8cpp.html b/docs/texture__d3d_8cpp.html index f7a895a2..83afb321 100644 --- a/docs/texture__d3d_8cpp.html +++ b/docs/texture__d3d_8cpp.html @@ -89,7 +89,7 @@ diff --git a/docs/texture__d3d_8hpp.html b/docs/texture__d3d_8hpp.html index ff25cce9..c239a629 100644 --- a/docs/texture__d3d_8hpp.html +++ b/docs/texture__d3d_8hpp.html @@ -92,7 +92,7 @@ diff --git a/docs/texture__d3d_8hpp_source.html b/docs/texture__d3d_8hpp_source.html index 14f5ce47..6b3aacef 100644 --- a/docs/texture__d3d_8hpp_source.html +++ b/docs/texture__d3d_8hpp_source.html @@ -133,14 +133,14 @@
    void unbind(uint32 slot) const override
    Definition: texture_d3d.cpp:58
    uint32 getWidth() const override
    Definition: texture_d3d.hpp:35
    Definition: texture.hpp:13
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/texture__ogl_8cpp.html b/docs/texture__ogl_8cpp.html index 7a5ca9f5..35333e3b 100644 --- a/docs/texture__ogl_8cpp.html +++ b/docs/texture__ogl_8cpp.html @@ -74,8 +74,9 @@
    #include "renderer/opengl/texture_ogl.hpp"
    #include "core/base_internal.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>
    #include <stb/stb_image.h>
    +#include <string>
    @@ -85,7 +86,7 @@ diff --git a/docs/texture__ogl_8hpp.html b/docs/texture__ogl_8hpp.html index 3d1d402f..12c2c8b0 100644 --- a/docs/texture__ogl_8hpp.html +++ b/docs/texture__ogl_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/texture__ogl_8hpp_source.html b/docs/texture__ogl_8hpp_source.html index fd4e4aef..90df8a92 100644 --- a/docs/texture__ogl_8hpp_source.html +++ b/docs/texture__ogl_8hpp_source.html @@ -108,22 +108,22 @@
    36
    37} // namespace jng
    Definition: texture_ogl.hpp:14
    -
    void setData(void *data, size_t size) const override
    Definition: texture_ogl.cpp:67
    +
    void setData(void *data, size_t size) const override
    Definition: texture_ogl.cpp:68
    uint32 getWidth() const override
    Definition: texture_ogl.hpp:22
    uint32 getHeight() const override
    Definition: texture_ogl.hpp:23
    -
    OpenGLTexture(const char *path)
    Definition: texture_ogl.cpp:16
    -
    virtual ~OpenGLTexture()
    Definition: texture_ogl.cpp:52
    -
    void unbind(uint32 slot) const override
    Definition: texture_ogl.cpp:62
    +
    OpenGLTexture(const char *path)
    Definition: texture_ogl.cpp:17
    +
    virtual ~OpenGLTexture()
    Definition: texture_ogl.cpp:53
    +
    void unbind(uint32 slot) const override
    Definition: texture_ogl.cpp:63
    uint32 getID() const override
    Definition: texture_ogl.hpp:26
    -
    void bind(uint32 slot) const override
    Definition: texture_ogl.cpp:57
    +
    void bind(uint32 slot) const override
    Definition: texture_ogl.cpp:58
    Definition: texture.hpp:13
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/texture__vlk_8cpp.html b/docs/texture__vlk_8cpp.html index cbbf33ed..bfa456e6 100644 --- a/docs/texture__vlk_8cpp.html +++ b/docs/texture__vlk_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/texture__vlk_8hpp.html b/docs/texture__vlk_8hpp.html index 95c37d03..2a7f4492 100644 --- a/docs/texture__vlk_8hpp.html +++ b/docs/texture__vlk_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/texture__vlk_8hpp_source.html b/docs/texture__vlk_8hpp_source.html index ab526f52..e721c369 100644 --- a/docs/texture__vlk_8hpp_source.html +++ b/docs/texture__vlk_8hpp_source.html @@ -117,13 +117,13 @@
    uint32 getHeight() const
    Definition: texture_vlk.hpp:23
    uint32 getWidth() const
    Definition: texture_vlk.hpp:22
    VulkanTexture(const char *path)
    Definition: texture_vlk.cpp:15
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/vertex__array_8cpp.html b/docs/vertex__array_8cpp.html index 13d4cae1..f103ca0a 100644 --- a/docs/vertex__array_8cpp.html +++ b/docs/vertex__array_8cpp.html @@ -85,7 +85,7 @@ diff --git a/docs/vertex__array_8hpp.html b/docs/vertex__array_8hpp.html index 5121ea3d..51b9d561 100644 --- a/docs/vertex__array_8hpp.html +++ b/docs/vertex__array_8hpp.html @@ -96,7 +96,7 @@ diff --git a/docs/vertex__array_8hpp_source.html b/docs/vertex__array_8hpp_source.html index f3cbb243..fb24a15d 100644 --- a/docs/vertex__array_8hpp_source.html +++ b/docs/vertex__array_8hpp_source.html @@ -162,9 +162,9 @@
    ContainerType::const_iterator ContainerConstInterator
    Definition: vertex_array.hpp:45
    uint32 getStride() const
    Definition: vertex_array.hpp:52
    const ContainerType & getElements() const
    Definition: vertex_array.hpp:51
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: vertex_array.hpp:20
    size_t Size
    Definition: vertex_array.hpp:34
    static size_t dataTypeToSize(DataType type)
    Definition: vertex_array.cpp:28
    @@ -178,7 +178,7 @@ diff --git a/docs/vertex__array__d3d_8cpp.html b/docs/vertex__array__d3d_8cpp.html index fbf103f7..854bbb1b 100644 --- a/docs/vertex__array__d3d_8cpp.html +++ b/docs/vertex__array__d3d_8cpp.html @@ -90,7 +90,7 @@ diff --git a/docs/vertex__array__d3d_8hpp.html b/docs/vertex__array__d3d_8hpp.html index 21ef1314..ec731b9a 100644 --- a/docs/vertex__array__d3d_8hpp.html +++ b/docs/vertex__array__d3d_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/vertex__array__d3d_8hpp_source.html b/docs/vertex__array__d3d_8hpp_source.html index 4a1ce5c1..8a22880c 100644 --- a/docs/vertex__array__d3d_8hpp_source.html +++ b/docs/vertex__array__d3d_8hpp_source.html @@ -115,23 +115,23 @@
    Definition: graphics_context_d3d.hpp:28
    Definition: vertex_array_d3d.hpp:23
    const Ref< VertexBuffer > & getVertexBuffer() const override
    Definition: vertex_array_d3d.hpp:31
    -
    void unbind() const override
    Definition: vertex_array_d3d.cpp:111
    -
    Direct3DVertexArray(const Ref< VertexBuffer > &vbo, const VertexLayout &layout, const Ref< Shader > &shader)
    Definition: vertex_array_d3d.cpp:57
    +
    void unbind() const override
    Definition: vertex_array_d3d.cpp:112
    +
    Direct3DVertexArray(const Ref< VertexBuffer > &vbo, const VertexLayout &layout, const Ref< Shader > &shader)
    Definition: vertex_array_d3d.cpp:58
    void setIndexBuffer(const Ref< IndexBuffer > &ibo) override
    Definition: vertex_array_d3d.hpp:32
    const Ref< IndexBuffer > & getIndexBuffer() const override
    Definition: vertex_array_d3d.hpp:33
    -
    void bind() const override
    Definition: vertex_array_d3d.cpp:101
    +
    void bind() const override
    Definition: vertex_array_d3d.cpp:102
    Definition: vertex_array.hpp:62
    Definition: vertex_array.hpp:42
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    diff --git a/docs/vertex__array__ogl_8cpp.html b/docs/vertex__array__ogl_8cpp.html index ad0839ff..32635b0e 100644 --- a/docs/vertex__array__ogl_8cpp.html +++ b/docs/vertex__array__ogl_8cpp.html @@ -75,7 +75,7 @@
    #include "renderer/opengl/vertex_array_ogl.hpp"
    #include "core/base_internal.hpp"
    #include "renderer/buffers.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>

    Namespaces

    @@ -85,7 +85,7 @@ diff --git a/docs/vertex__array__ogl_8hpp.html b/docs/vertex__array__ogl_8hpp.html index f54294b6..08b58994 100644 --- a/docs/vertex__array__ogl_8hpp.html +++ b/docs/vertex__array__ogl_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/vertex__array__ogl_8hpp_source.html b/docs/vertex__array__ogl_8hpp_source.html index 9a0bd8e8..d6348aad 100644 --- a/docs/vertex__array__ogl_8hpp_source.html +++ b/docs/vertex__array__ogl_8hpp_source.html @@ -111,14 +111,14 @@
    void setIndexBuffer(const Ref< IndexBuffer > &ibo) override
    Definition: vertex_array_ogl.cpp:105
    Definition: vertex_array.hpp:62
    Definition: vertex_array.hpp:42
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/vertex__array__vlk_8cpp.html b/docs/vertex__array__vlk_8cpp.html index 963caa13..b78e54e1 100644 --- a/docs/vertex__array__vlk_8cpp.html +++ b/docs/vertex__array__vlk_8cpp.html @@ -84,7 +84,7 @@ diff --git a/docs/vertex__array__vlk_8hpp.html b/docs/vertex__array__vlk_8hpp.html index 4268b98f..6be4fcf5 100644 --- a/docs/vertex__array__vlk_8hpp.html +++ b/docs/vertex__array__vlk_8hpp.html @@ -90,7 +90,7 @@ diff --git a/docs/vertex__array__vlk_8hpp_source.html b/docs/vertex__array__vlk_8hpp_source.html index 508b6144..28265356 100644 --- a/docs/vertex__array__vlk_8hpp_source.html +++ b/docs/vertex__array__vlk_8hpp_source.html @@ -109,14 +109,14 @@
    void bind() const
    Definition: vertex_array_vlk.cpp:24
    ~VulkanVertexArray()
    Definition: vertex_array_vlk.cpp:19
    void setIndexBuffer(const Ref< IndexBuffer > &ibo)
    Definition: vertex_array_vlk.cpp:34
    -
    Definition: base.hpp:17
    -
    std::shared_ptr< T > Ref
    Definition: base.hpp:28
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::shared_ptr< T > Ref
    Definition: base.hpp:34
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/window_8cpp.html b/docs/window_8cpp.html index 9a614438..ce1a61e9 100644 --- a/docs/window_8cpp.html +++ b/docs/window_8cpp.html @@ -100,7 +100,7 @@ diff --git a/docs/window_8hpp.html b/docs/window_8hpp.html index 3a0e4875..5a7541eb 100644 --- a/docs/window_8hpp.html +++ b/docs/window_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/window_8hpp_source.html b/docs/window_8hpp_source.html index 1600d365..c322cfa5 100644 --- a/docs/window_8hpp_source.html +++ b/docs/window_8hpp_source.html @@ -138,9 +138,9 @@
    uint32 getWidth() const
    Definition: window.hpp:34
    const EventCallbackFunc & getEventCallback() const
    Definition: window.hpp:38
    static Scope< Window > create(const char *title, uint32 width, uint32 height)
    Definition: window.cpp:109
    -
    Definition: base.hpp:17
    -
    std::unique_ptr< T > Scope
    Definition: base.hpp:20
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    std::unique_ptr< T > Scope
    Definition: base.hpp:26
    +
    uint32_t uint32
    Definition: base.hpp:43
    Definition: window.hpp:24
    bool isMinimized
    Definition: window.hpp:27
    uint32 width
    Definition: window.hpp:26
    @@ -150,7 +150,7 @@ diff --git a/docs/window__events_8hpp.html b/docs/window__events_8hpp.html index 2d1e3dbf..b5e60237 100644 --- a/docs/window__events_8hpp.html +++ b/docs/window__events_8hpp.html @@ -93,7 +93,7 @@ diff --git a/docs/window__events_8hpp_source.html b/docs/window__events_8hpp_source.html index cd0790f3..f263b03d 100644 --- a/docs/window__events_8hpp_source.html +++ b/docs/window__events_8hpp_source.html @@ -119,12 +119,12 @@
    WindowResizeEvent(uint32 width, uint32 height)
    Definition: window_events.hpp:26
    #define EVENT_CLASS_TYPE(type)
    Definition: event.hpp:62
    -
    Definition: base.hpp:17
    -
    uint32_t uint32
    Definition: base.hpp:37
    +
    Definition: base.hpp:13
    +
    uint32_t uint32
    Definition: base.hpp:43
    diff --git a/docs/windows_2graphics__context__ogl_8cpp.html b/docs/windows_2graphics__context__ogl_8cpp.html index 6210eb0d..65c6ca72 100644 --- a/docs/windows_2graphics__context__ogl_8cpp.html +++ b/docs/windows_2graphics__context__ogl_8cpp.html @@ -77,7 +77,8 @@ #include "core/base_internal.hpp"
    #include "platform/window.hpp"
    #include "platform/windows/windows_base.hpp"
    -#include <glad/glad.h>
    +#include <glad/gl.h>
    +#include <glad/wgl.h>
    #include <GLFW/glfw3.h>
    #include <GLFW/glfw3native.h>

    Namespaces

    @@ -109,7 +110,7 @@

    diff --git a/docs/windows__base_8hpp.html b/docs/windows__base_8hpp.html index 76f1110a..dd25f3a2 100644 --- a/docs/windows__base_8hpp.html +++ b/docs/windows__base_8hpp.html @@ -627,7 +627,7 @@

    diff --git a/docs/windows__base_8hpp_source.html b/docs/windows__base_8hpp_source.html index e82a4a06..3c36b4b9 100644 --- a/docs/windows__base_8hpp_source.html +++ b/docs/windows__base_8hpp_source.html @@ -117,7 +117,7 @@