├── .gitignore ├── LICENSE ├── README.md ├── pom.xml └── src └── main └── java └── dev └── xernas └── photon ├── Library.java ├── PhotonAPI.java ├── api ├── IRenderer.java ├── PhotonLogic.java ├── Transform.java ├── framebuffer │ ├── Framebuffer.java │ ├── FramebufferAttachment.java │ └── IFramebuffer.java ├── model │ ├── IMesh.java │ └── Model.java ├── shader │ ├── IShader.java │ ├── IUniform.java │ ├── Shader.java │ └── ShaderModule.java ├── texture │ ├── ITexture.java │ └── Texture.java └── window │ ├── Window.java │ ├── cursor │ ├── Cursor.java │ └── CursorShape.java │ └── input │ ├── Action.java │ ├── Input.java │ ├── Key.java │ └── MousePosition.java ├── exceptions ├── GLException.java ├── PhotonException.java └── VulkanException.java ├── opengl ├── GLFramebuffer.java ├── GLMesh.java ├── GLRenderbuffer.java ├── GLShader.java ├── GLShaderModule.java ├── GLTexture.java ├── GLUniform.java ├── GLUtils.java ├── OpenGLConstants.java └── OpenGLRenderer.java ├── utils ├── Direction.java ├── GlobalUtilitaries.java ├── MatrixUtils.java ├── Models.java ├── ShaderCompiler.java ├── ShaderResource.java └── ShaderType.java └── vulkan ├── VulkanCommandBuffer.java ├── VulkanCommandPool.java ├── VulkanConstants.java ├── VulkanErrorHelper.java ├── VulkanInstance.java ├── VulkanRenderer.java ├── VulkanSurface.java ├── VulkanSynchronisation.java ├── VulkanVertex.java ├── device ├── VulkanDevice.java └── VulkanPhysicalDevice.java ├── pipeline ├── VulkanPipeline.java ├── VulkanShader.java └── VulkanShaderModule.java └── swapchain ├── VulkanFramebuffers.java ├── VulkanImageView.java ├── VulkanRenderPass.java └── VulkanSwapChain.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/Library.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/Library.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/PhotonAPI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/PhotonAPI.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/IRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/IRenderer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/PhotonLogic.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/PhotonLogic.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/Transform.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/Transform.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/framebuffer/Framebuffer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/framebuffer/Framebuffer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/framebuffer/FramebufferAttachment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/framebuffer/FramebufferAttachment.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/framebuffer/IFramebuffer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/framebuffer/IFramebuffer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/model/IMesh.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/model/IMesh.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/model/Model.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/model/Model.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/shader/IShader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/shader/IShader.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/shader/IUniform.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/shader/IUniform.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/shader/Shader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/shader/Shader.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/shader/ShaderModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/shader/ShaderModule.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/texture/ITexture.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/texture/ITexture.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/texture/Texture.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/texture/Texture.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/Window.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/Window.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/cursor/Cursor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/cursor/Cursor.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/cursor/CursorShape.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/cursor/CursorShape.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/input/Action.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/input/Action.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/input/Input.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/input/Input.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/input/Key.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/input/Key.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/api/window/input/MousePosition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/api/window/input/MousePosition.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/exceptions/GLException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/exceptions/GLException.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/exceptions/PhotonException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/exceptions/PhotonException.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/exceptions/VulkanException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/exceptions/VulkanException.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLFramebuffer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLFramebuffer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLMesh.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLMesh.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLRenderbuffer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLRenderbuffer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLShader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLShader.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLShaderModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLShaderModule.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLTexture.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLTexture.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLUniform.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLUniform.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/GLUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/GLUtils.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/OpenGLConstants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/OpenGLConstants.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/opengl/OpenGLRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/opengl/OpenGLRenderer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/Direction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/Direction.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/GlobalUtilitaries.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/GlobalUtilitaries.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/MatrixUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/MatrixUtils.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/Models.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/Models.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/ShaderCompiler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/ShaderCompiler.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/ShaderResource.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/ShaderResource.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/utils/ShaderType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/utils/ShaderType.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanCommandBuffer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanCommandBuffer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanCommandPool.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanCommandPool.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanConstants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanConstants.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanErrorHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanErrorHelper.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanInstance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanInstance.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanRenderer.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanSurface.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanSurface.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanSynchronisation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanSynchronisation.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/VulkanVertex.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/VulkanVertex.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/device/VulkanDevice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/device/VulkanDevice.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/device/VulkanPhysicalDevice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/device/VulkanPhysicalDevice.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanPipeline.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanPipeline.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanShader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanShader.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanShaderModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/pipeline/VulkanShaderModule.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanFramebuffers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanFramebuffers.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanImageView.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanImageView.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanRenderPass.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanRenderPass.java -------------------------------------------------------------------------------- /src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanSwapChain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xernas78/Photon/HEAD/src/main/java/dev/xernas/photon/vulkan/swapchain/VulkanSwapChain.java --------------------------------------------------------------------------------