| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This commit adds the GLFW_NO_API hint to the window creation process in the Window resource class. This hint is used to create a window without an OpenGL or OpenGL ES context, which is useful for applications that do not require rendering capabilities. Example usage of the Window class is also provided in the code comments.
Add the main.cpp file to the app directory, which contains the entry point of the application. The file includes the necessary headers for window creation using GLFW. This change enables the creation of a window for the application.
Update the window creation parameters in the Window class to use uint32_t for width and height instead of int. This ensures consistency and improves type safety.
- Add VkWrapper.hpp and VkWrapper.cpp files to the src/plugin/vk-wrapper directory - Include VkWrapper.hpp in main.cpp to create an instance of VkWrapper
- export.h for compile-time project path exportation - config.h for compile-time configuration parameters
…INT32_MAX definition
…nd validation layers
…ility This commit adds the PhysicalDevice class to the vk-wrapper plugin. The class is responsible for checking if a physical device is suitable for the application by verifying its device type and features. It also includes the necessary header and source files for the class. Refactor the xmake.lua file to include the device directory
…of a physical device
This commit adds the Surface class to the vk-wrapper plugin. The Surface class is responsible for creating a surface for the Vulkan API using a GLFW window and the Vulkan instance. It provides methods to create and destroy the surface. The surface is used to render graphics to the window or other surfaces.
…umentation examples
…s and update copyright notice
…pic 3D applications
…ace parameters and others
…ckDeviceExtensionSupport
As with SoftBody Test, there is a VkWrapper-Test repo. Is this enough? |
Sorry, something went wrong.
I just checked it and it works great, thank you ! |
Sorry, something went wrong.
Related to: - #14 In short, to draw the first triangle I made: - [x] Create a [VkInstance](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstance.html) - [x] Select a supported graphics card ([VkPhysicalDevice](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDevice.html)) - [x] Create a [VkDevice](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDevice.html) and [VkQueue](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueue.html) for drawing and presentation - [x] Create a window, window surface and swap chain - [x] Wrap the swap chain images into [VkImageView](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageView.html) - [x] Create a render pass that specifies the render targets and usage - [x] Create framebuffers for the render pass - [x] Set up the graphics pipeline - [x] Allocate and record a command buffer with the draw commands for every possible swap chain image - [x] Draw frames by acquiring images, submitting the right draw command buffer and returning the images back to the swap chain --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Related to:
In short, to draw the first triangle I made: