VPP  0.8
A high-level modern C++ API for Vulkan
vpp::MemoryBinding< ResourceT, MemoryT > Class Template Reference

A compound object containing references to a buffer and memory bound to it. More...

#include <vppDeviceMemory.hpp>

Public Member Functions

 MemoryBinding ()
 Constructs null reference.
 
 MemoryBinding (const ResourceT &res, const MemProfile &memProfile)
 Binds memory to a buffer and constructs MemoryBinding object.
 
const ResourceT & resource () const
 Retrieves the buffer.
 
MemoryT & memory ()
 Retrieves the memory object.
 

Detailed Description

template<class ResourceT, class MemoryT>
class vpp::MemoryBinding< ResourceT, MemoryT >

A compound object containing references to a buffer and memory bound to it.

This object is reference-counted and may be passed by value.


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