RetroArch
Public Member Functions | Private Attributes | List of all members
StaticTexture Class Reference
Collaboration diagram for StaticTexture:
[legend]

Public Member Functions

 StaticTexture (string id, VkDevice device, VkImage image, VkImageView view, VkDeviceMemory memory, unique_ptr< Buffer > buffer, unsigned width, unsigned height, bool linear, bool mipmap, vulkan_filter_chain_address address)
 
 ~StaticTexture ()
 
 StaticTexture (StaticTexture &&)=delete
 
void operator= (StaticTexture &&)=delete
 
void release_staging_buffer ()
 
void set_id (string name)
 
const stringget_id () const
 
const Textureget_texture () const
 

Private Attributes

VkDevice device
 
VkImage image
 
VkImageView view
 
VkDeviceMemory memory
 
unique_ptr< Bufferbuffer
 
string id
 
Texture texture
 

Constructor & Destructor Documentation

◆ StaticTexture() [1/2]

StaticTexture::StaticTexture ( string  id,
VkDevice  device,
VkImage  image,
VkImageView  view,
VkDeviceMemory  memory,
unique_ptr< Buffer buffer,
unsigned  width,
unsigned  height,
bool  linear,
bool  mipmap,
vulkan_filter_chain_address  address 
)

◆ ~StaticTexture()

StaticTexture::~StaticTexture ( )
Here is the call graph for this function:

◆ StaticTexture() [2/2]

StaticTexture::StaticTexture ( StaticTexture &&  )
delete

Member Function Documentation

◆ get_id()

const string& StaticTexture::get_id ( ) const
inline

◆ get_texture()

const Texture& StaticTexture::get_texture ( ) const
inline

◆ operator=()

void StaticTexture::operator= ( StaticTexture &&  )
delete

◆ release_staging_buffer()

void StaticTexture::release_staging_buffer ( )
inline

◆ set_id()

void StaticTexture::set_id ( string  name)
inline

Member Data Documentation

◆ buffer

unique_ptr<Buffer> StaticTexture::buffer
private

◆ device

VkDevice StaticTexture::device
private

◆ id

string StaticTexture::id
private

◆ image

VkImage StaticTexture::image
private

◆ memory

VkDeviceMemory StaticTexture::memory
private

◆ texture

Texture StaticTexture::texture
private

◆ view

VkImageView StaticTexture::view
private

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