wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::vk::Image Class Reference

#include <image.hpp>

Collaboration diagram for wren::vk::Image:

Public Member Functions

auto get () const
 

Static Public Member Functions

static auto create (const ::vk::Device &device, const VmaAllocator &allocator, const ::vk::Format &format, const math::Vec2f &size, const ::vk::ImageUsageFlags &usage) -> expected< Image >
 

Private Attributes

VmaAllocation alloc_ {}
 
::vk::Image image_
 

Member Function Documentation

◆ create()

auto wren::vk::Image::create ( const ::vk::Device & device,
const VmaAllocator & allocator,
const ::vk::Format & format,
const math::Vec2f & size,
const ::vk::ImageUsageFlags & usage ) -> expected<Image>
static
Here is the caller graph for this function:

◆ get()

auto wren::vk::Image::get ( ) const
inline

Member Data Documentation

◆ alloc_

VmaAllocation wren::vk::Image::alloc_ {}
private

◆ image_

::vk::Image wren::vk::Image::image_
private

The documentation for this class was generated from the following files: