Ream v0.1.0-1
C++ graphics library for Linux
Loading...
Searching...
No Matches
Public Attributes | List of all members
RSwapchainImage Struct Reference

An image acquired from an RSwapchain. More...

#include <RSwapchain.h>

Public Attributes

std::shared_ptr< RImageimage
 The acquired image to render into.
 
UInt32 age
 Buffer age.
 
UInt32 frame
 Frame counter at the time this image was acquired.
 
UInt32 index
 Index of this image within the swapchain.
 

Detailed Description

An image acquired from an RSwapchain.

Member Data Documentation

◆ image

std::shared_ptr<RImage> image

The acquired image to render into.

◆ age

UInt32 age

Buffer age.

Number of frames since this buffer was last presented (useful for damage tracking). A value of 0 indicates a freshly created buffer whose contents are undefined.

◆ frame

UInt32 frame

Frame counter at the time this image was acquired.

◆ index

UInt32 index

Index of this image within the swapchain.