Chronos 0.0
A advanced 2D rendering and animation system
|
Contains the functions for image manipulation along with the Texture class. More...
#include "device.hpp"
Go to the source code of this file.
Classes | |
class | Chronos::Engine::Texture |
This class holds the Vulkan data and objects needed for a texture. More... | |
Namespaces | |
namespace | Chronos |
namespace | Chronos::Engine |
Functions | |
void | Chronos::Engine::createTextureSampler (Chronos::Engine::Device device, VkSampler *textureSampler) |
Creates a VkSampler | |
void | Chronos::Engine::createImage (Chronos::Engine::Device device, uint32_t width, uint32_t height, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties, VkImage *image, VkDeviceMemory *imageMemory, VkSampleCountFlagBits numSamples) |
For a given image dimensons, it creates a VkImage and. | |
void | Chronos::Engine::transitionImageLayout (VkImage image, VkImageLayout oldLayout, VkImageLayout newLayout, VkCommandPool commandPool, Chronos::Engine::Device device) |
Transiton a VkImage from one layout to another. | |
void | Chronos::Engine::copyBufferToImage (VkBuffer buffer, VkImage image, uint32_t width, uint32_t height, VkCommandPool commandPool, Chronos::Engine::Device device) |
Copy data from a buffer to an image. | |
VkImageView | Chronos::Engine::createImageView (Chronos::Engine::Device device, VkFormat format, VkImage image) |
Create a VkImageView for a given VkImage . | |
Contains the functions for image manipulation along with the Texture class.
Definition in file texture.hpp.