struct
#include <VaultedVulkan/VV_Resource.hpp>
Image Images represent multidimensional - up to 3 - arrays of data which can be used for various purposes (e.g. attachments, textures), by binding them to a graphics or compute pipeline via descriptor sets, or by directly specifying them as parameters to certain commands.
Contents
Base classes
- struct VV::V1::Image
- Images represent multidimensional - up to 3 - arrays of data which can be used for various purposes (e.g. attachments, textures), by binding them to a graphics or compute pipeline via descriptor sets, or by directly specifying them as parameters to certain commands.
Derived classes
- class VV::V3::Image
- Images represent multidimensional - up to 3 - arrays of data which can be used for various purposes (e.g. attachments, textures), by binding them to a graphics or compute pipeline via descriptor sets, or by directly specifying them as parameters to certain commands.
Public types
Public static functions
-
static auto Create(LogicalDevice::
Handle _deviceHandle, const CreateInfo& _createInfo, Handle& _imageHandle) -> EResult - Create an image object.
-
static void Destroy(LogicalDevice::
Handle _deviceHandle, Handle _image) - Destroy an image object.
-
static auto CreateAndBind(PhysicalDevice::
Handle _physicalDevice, LogicalDevice:: Handle _device, CreateInfo _info, Handle& _image, Memory:: PropertyFlags _propertyFlags, Memory:: Handle& _imageMemory) -> EResult - Will create an image and immediately bind it to memory made just for it.
-
static auto CreateAndBind(PhysicalDevice::
Handle _physicalDevice, LogicalDevice:: Handle _device, CreateInfo _info, Handle& _image, Memory:: PropertyFlags _propertyFlags, Memory:: Handle& _imageMemory, Memory:: AllocationCallbacks* _allcator) -> EResult - Will create an image and immediately bind it to memory made just for it..
-
static auto Create(LogicalDevice::
Handle _deviceHandle, const CreateInfo& _createInfo, const Memory:: AllocationCallbacks* _allocator, Handle& _imageHandle) -> EResult - Create an image object.
-
static void Destroy(LogicalDevice::
Handle _deviceHandle, Handle _image, const Memory:: AllocationCallbacks* _allocator) - Destroy an image object.
Function documentation
static EResult VV:: V2:: Image:: Create(LogicalDevice:: Handle _deviceHandle,
const CreateInfo& _createInfo,
Handle& _imageHandle)
Create an image object.
Parameters | |
---|---|
_deviceHandle | |
_createInfo | |
_imageHandle |
static void VV:: V2:: Image:: Destroy(LogicalDevice:: Handle _deviceHandle,
Handle _image)
Destroy an image object.
Parameters | |
---|---|
_deviceHandle | |
_image |
static EResult VV:: V2:: Image:: CreateAndBind(PhysicalDevice:: Handle _physicalDevice,
LogicalDevice:: Handle _device,
CreateInfo _info,
Handle& _image,
Memory:: PropertyFlags _propertyFlags,
Memory:: Handle& _imageMemory)
Will create an image and immediately bind it to memory made just for it.
Parameters | |
---|---|
_physicalDevice | |
_device | |
_info | |
_image | |
_propertyFlags | |
_imageMemory |
static EResult VV:: V2:: Image:: CreateAndBind(PhysicalDevice:: Handle _physicalDevice,
LogicalDevice:: Handle _device,
CreateInfo _info,
Handle& _image,
Memory:: PropertyFlags _propertyFlags,
Memory:: Handle& _imageMemory,
Memory:: AllocationCallbacks* _allcator)
Will create an image and immediately bind it to memory made just for it..
Parameters | |
---|---|
_physicalDevice | |
_device | |
_info | |
_image | |
_propertyFlags | |
_imageMemory | |
_allcator |
static EResult VV:: V2:: Image:: Create(LogicalDevice:: Handle _deviceHandle,
const CreateInfo& _createInfo,
const Memory:: AllocationCallbacks* _allocator,
Handle& _imageHandle)
Create an image object.
Parameters | |
---|---|
_deviceHandle | |
_createInfo | |
_allocator | |
_imageHandle |
static void VV:: V2:: Image:: Destroy(LogicalDevice:: Handle _deviceHandle,
Handle _image,
const Memory:: AllocationCallbacks* _allocator)
Destroy an image object.
Parameters | |
---|---|
_deviceHandle | |
_image | |
_allocator |