|
| TextureImage (const LogicalDevice &virtualGpu, const PhysicalDevice &realGpu, const CommandBufferPool &commandBufferPool, std::pair< unsigned int, unsigned int > resolution, std::string pathToTexture) |
|
| TextureImage (const TextureImage &)=delete |
|
TextureImage & | operator= (const TextureImage &)=delete |
|
| TextureImage (TextureImage &&)=default |
|
TextureImage & | operator= (TextureImage &&movedFrom)=default |
|
| ~TextureImage ()=default |
|
void | transitionLayout (VkImageLayout newLayout, const CommandBufferPool &commandBufferPool) |
| Changes the layout of the image. More...
|
|
void | fillImage (const Buffers::StagingBuffer &imageData, const CommandBufferPool &commandBufferPool) |
| Fills the image with the data stored in the buffer. More...
|
|
const TextureSampler & | getSampler () const |
|
| Image (const VkImage &image, const LogicalDevice &virtualGpu, VkFormat format, std::pair< unsigned int, unsigned int > resolution) |
|
| Image (const Image &)=delete |
|
Image & | operator= (const Image &)=delete |
|
| Image (Image &&) noexcept |
|
Image & | operator= (Image &&) noexcept |
|
| ~Image () |
|
const VkImage & | operator+ () const |
|
VkFormat | getFormat () const |
| Returns the format of the image, which is the same format of all the images in the swapchain of this image. More...
|
|
const ImageView & | generateImageView (std::string tag, const LogicalDevice &virtualGpu, VkImageAspectFlags type=VK_IMAGE_ASPECT_COLOR_BIT) |
| Creates a new image view for this image, and adds it to the array of image views of this image, on last position. More...
|
|
void | eliminateImageView (std::string tag) |
| Eliminates the specified image view. More...
|
|
const ImageView & | operator[] (std::string tag) const |
| Returns the image view associated with the tag. More...
|
|
const std::map< std::string, ImageView > & | getImageViews () const |
| Returns all the image views of this image. More...
|
|