|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Core::VKImage::VKImage | ( | uint32_t | width, |
| uint32_t | height, | ||
| uint32_t | depth, | ||
| vk::Format | format, | ||
| Usage | usage, | ||
| Type | type = Type::TYPE_2D, |
||
| uint32_t | mip_levels = 1, |
||
| uint32_t | array_layers = 1, |
||
| Kakshya::DataModality | modality = Kakshya::DataModality::IMAGE_COLOR |
||
| ) |
Construct an uninitialized VKImage.
Creates a VKImage object with requested parameters. No Vulkan resources are created by this constructor - registration with the backend is required.
| width | Image width in pixels |
| height | Image height in pixels |
| depth | Image depth (for 3D textures, 1 for 2D) |
| format | Vulkan image format |
| usage | Intended usage pattern |
| type | Image dimensionality |
| mip_levels | Number of mipmap levels (1 for no mipmaps) |
| array_layers | Number of array layers (1 for single image, 6 for cubemap) |
| modality | Semantic interpretation of image contents |
Definition at line 6 of file VKImage.cpp.
References infer_dimensions_from_parameters().
Here is the call graph for this function: