Classes | Enumerations | Functions

Tiny2D Namespace Reference

Tiny2D game library namespace. More...

Classes

class  File
 File handle. More...
class  XMLAttribute
 XML attribute. More...
class  XMLNode
 XML node. More...
class  XMLDoc
 XML document either loaded from path or created at runtime. More...
class  Shape
 Renderable shape utilities. More...
struct  Sampler
 Texture sampler description. More...
class  Texture
 Texture handle (optionally render target too) More...
class  Material
 Material instance with support for techniques and shaders. More...
class  Sprite
 Animated sprite instance. More...
class  Text
 Text rendering related functionality. More...
class  Font
 Font resource handle. More...
class  Sound
 Sound instance. More...
class  Effect
 Particle effect instance. More...
class  App
 Application/base functionality. More...
class  Localization
 Text localization functionality. More...
class  Jobs
 Asynchronous job system. More...
class  Time
 Time related functionality. More...
class  Random
 Random numbers. More...
class  Log
 Logging functionality. More...
class  Input
 Input devices. More...
class  RenderTexturePool
 Pool of render textures for convenient reuse between subsystems. More...
class  Postprocessing
 Built-in postprocesses functionality. More...
struct  Color
 Color with RGBA components. More...
struct  Rect
 Rectangle representation. More...
struct  Vec2
 2 component vector of floats More...

Enumerations

enum  ResourceState {
  ResourceState_Uninitialized = 0, ResourceState_Created, ResourceState_Creating, ResourceState_AsyncError,
  ResourceState_COUNT
}
 

Possible state of resource objects.

More...

Functions

std::string string_format (const char *format,...)
 String formatting helper function.

Detailed Description

Tiny2D game library namespace.


Enumeration Type Documentation

Possible state of resource objects.

Enumerator:
ResourceState_Uninitialized 

Resource hasn't been initialized yet (via Create() function)

ResourceState_Created 

Resource has been successfully created and can now be used.

ResourceState_Creating 

Resource is being (asynchronously) created.

ResourceState_AsyncError 

Resource asynchronous initialization failed (only returned on asynchronous failure if Create() function returned true)

ResourceState_COUNT 

Function Documentation

std::string Tiny2D::string_format ( const char *  format,
  ... 
)

String formatting helper function.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines