#include <ResourceSwapChain.h>
|
|
const uint8_t | _size |
| | Number of objects stored in the swapchain.
|
| |
|
uint8_t | _frontIndex { 0U } |
| | Index of the current object in the circular buffer.
|
| |
template<class R>
class gpu::ResourceSwapChain< R >
Swapchain container template. Used with Framebuffer objects.
◆ ResourceSwapChain()
- Parameters
-
| v | Type of the object that is stored in the swapchain. |
◆ get()
For example index = 0 returns active object, and index = 1 returns next one.
- Parameters
-
| index | Object index relative to currently active object. |
- Returns
- Reference to the object with particular index in relation to currently active object.
The documentation for this class was generated from the following file: