Static Public Member Functions

Tiny2D::RenderTexturePool Class Reference

Pool of render textures for convenient reuse between subsystems. More...

#include <Tiny2D.h>

List of all members.

Static Public Member Functions

static Texture Get (int width, int height)
 Gets (creates if needed) RGBA render texture from the pool.
static void Release (Texture &texture)
 Releases render texture back to pool; after this operation texture parameter is invalidated.
static void DestroyAll ()
 Destroys all render textures in a pool; called automatically when called App::ModifyDisplaySettings()

Detailed Description

Pool of render textures for convenient reuse between subsystems.


Member Function Documentation

static void Tiny2D::RenderTexturePool::DestroyAll (  ) [static]

Destroys all render textures in a pool; called automatically when called App::ModifyDisplaySettings()

static Texture Tiny2D::RenderTexturePool::Get ( int  width,
int  height 
) [static]

Gets (creates if needed) RGBA render texture from the pool.

static void Tiny2D::RenderTexturePool::Release ( Texture texture ) [static]

Releases render texture back to pool; after this operation texture parameter is invalidated.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines