Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12Utils.hpp
1#pragma once
2
3#include <d3d12.h>
4#include <stdint.h>
5
6namespace Grindstone {
7 namespace GraphicsAPI {
8 /*VkImageView createImageView(VkImage image, VkFormat format, VkImageAspectFlags aspectFlags, uint32_t mipLevels);
9 void createImage(uint32_t width, uint32_t height, uint32_t mipLevels, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties, VkImage& image, VkDeviceMemory& imageMemory);
10 void createBuffer(VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryPropertyFlags properties, VkBuffer& buffer, VkDeviceMemory& bufferMemory);
11 VkCommandBuffer beginSingleTimeCommands();
12 void endSingleTimeCommands(VkCommandBuffer commandBuffer);
13 void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size);
14 void transitionImageLayout(VkImage image, VkFormat format, VkImageLayout oldLayout, VkImageLayout newLayout, uint32_t mipLevels);
15 void copyBufferToImage(VkBuffer buffer, VkImage image, uint32_t width, uint32_t height);*/
16 }
17}