Static Public Member Functions

static void RequestDraw (AtlasLocation location, VectorPath path, float offsetX, float offsetY, float drawHeight)
 Requests to draw the given path at the given atlas location. More...
 
static void Update (float deltaTime)
 
static void PoolBuffer (MeshBuffer buffer)
 Adds a buffer to the pool. More...
 
static MeshBuffer GetBuffer ()
 Gets a pooled mesh buffer, or creates one if the pool is empty. More...
 

Static Public Attributes

static bool CPUCopyMode =true
 Should copying from the cameras be done on the CPU? Required by InfiniText - unfortunately Alpha8 is not supported by ReadPixels. More...
 
static bool SD =true
 Should the drawings be SD? SD/HD makes zero visual difference; it just affects how frequently the renderer samples the shapes. Generally only set this to false if you want to do unusual glows (by changing Spread per sample). More...
 
static float Accuracy =0.025f
 The accuracy of the edges used by the drawing process. Don't set this directly. More...
 
static float TriangulationAccuracy =Accuracy * 6f
 The accuracy of the edges used by the drawing process. Don't set this directly. More...
 
static int Layer =23
 The layer to draw on. More...
 
static DrawingTexture Pending
 The current queue of pending drawings. More...
 
static TextureCamera Camera
 The main camera which will do the drawing. More...
 
static MeshBuffer BufferPool
 A linked list of mesh buffer objects. More...
 

Static Private Attributes

static float Scale
 The scale applied to meshes being drawn. More...
 

Member Function Documentation

static MeshBuffer Blaze.TextureCameras.GetBuffer ( )
inlinestatic

Gets a pooled mesh buffer, or creates one if the pool is empty.

static void Blaze.TextureCameras.PoolBuffer ( MeshBuffer  buffer)
inlinestatic

Adds a buffer to the pool.

static void Blaze.TextureCameras.RequestDraw ( AtlasLocation  location,
VectorPath  path,
float  offsetX,
float  offsetY,
float  drawHeight 
)
inlinestatic

Requests to draw the given path at the given atlas location.

static void Blaze.TextureCameras.Update ( float  deltaTime)
inlinestatic

Member Data Documentation

float Blaze.TextureCameras.Accuracy =0.025f
static

The accuracy of the edges used by the drawing process. Don't set this directly.

MeshBuffer Blaze.TextureCameras.BufferPool
static

A linked list of mesh buffer objects.

TextureCamera Blaze.TextureCameras.Camera
static

The main camera which will do the drawing.

bool Blaze.TextureCameras.CPUCopyMode =true
static

Should copying from the cameras be done on the CPU? Required by InfiniText - unfortunately Alpha8 is not supported by ReadPixels.

int Blaze.TextureCameras.Layer =23
static

The layer to draw on.

DrawingTexture Blaze.TextureCameras.Pending
static

The current queue of pending drawings.

float Blaze.TextureCameras.Scale
staticprivate

The scale applied to meshes being drawn.

bool Blaze.TextureCameras.SD =true
static

Should the drawings be SD? SD/HD makes zero visual difference; it just affects how frequently the renderer samples the shapes. Generally only set this to false if you want to do unusual glows (by changing Spread per sample).

float Blaze.TextureCameras.TriangulationAccuracy =Accuracy * 6f
static

The accuracy of the edges used by the drawing process. Don't set this directly.