|
| Image (Device &Dev, VkImageType Type, VkFormat Format, VkExtent3D Extent, uint32_t NumArrayLayers=1, uint32_t NumMipLevels=1) |
| Create an image. More...
|
|
void | bindAddress (uint64_t Address) |
| Bind a memory address to the image (can only be called once). More...
|
|
uint64_t | getAddress () const |
| Returns the memory address of the beginning of the image. More...
|
|
uint32_t | getDepth (uint32_t Level=0) const |
| Returns the depth of the image at the specified mip level. More...
|
|
uint32_t | getElementSize () const |
| Returns the size in bytes of a single pixel in the image. More...
|
|
VkExtent3D | getExtent () const |
| Returns the size of a single layer of the image. More...
|
|
VkFormat | getFormat () const |
| Returns the format of the image. More...
|
|
uint32_t | getHeight (uint32_t Level=0) const |
| Returns the height of the image at the specified mip level. More...
|
|
uint64_t | getMipLevelOffset (uint32_t Level) const |
| Returns the offset in bytes to the beginning of the specified mip level. More...
|
|
uint32_t | getNumArrayLayers () const |
| Returns the number of array layers in the image. More...
|
|
uint32_t | getNumMipLevels () const |
| Returns the number of mip levels in the image. More...
|
|
uint64_t | getTexelAddress (uint32_t X, uint32_t Y=0, uint32_t Z=0, uint32_t Layer=0, uint32_t MipLevel=0) const |
| Returns the address in memory of the texel at the specified coordinate. More...
|
|
uint64_t | getTotalSize () const |
| Returns the total size of the image (including all mip levels). More...
|
|
VkImageType | getType () const |
| Returns the type of the image. More...
|
|
uint32_t | getWidth (uint32_t Level=0) const |
| Returns the width of the image at the specified mip level. More...
|
|
void | read (Texel &T, uint64_t Address) const |
| Read a texel from the image at the specified address. More...
|
|
void | read (Texel &T, uint64_t Address, VkFormat ReadFormat) const |
| Read a texel from the image at the specified address using ReadFormat . More...
|
|
void | write (const Texel &T, uint64_t Address) const |
| Write a texel to the image at the specified address. More...
|
|
void | write (const Texel &T, uint64_t Address, VkFormat WriteFormat) const |
| Write a texel to the image at the specified address using WriteFormat . More...
|
|
This class represents an image object.
Definition at line 24 of file Image.h.