Detailed Description

One input grid per renderer.

Public Member Functions

void Push (RenderableData renderData)
 Pushes the given renderable data into the grid now. More...
 
void Empty ()
 Empties the grid into the pool. More...
 
void Clean (float sWidth, float sHeight)
 Empties out and resizes the grid (if it requires it). More...
 

Public Attributes

int Width
 The number of cells on x. More...
 
int Height
 The number of cells on y. More...
 
float CellSize
 The cell size. More...
 
InputGridCell[] Grid
 The raw grid cells. More...
 

Properties

InputGridCell this[int x, int y] [get]
 gets a cell at the given indices. More...
 

Private Member Functions

InputGridEntry GetEntry ()
 Gets a grid entry for the given More...
 

Private Attributes

InputGridEntry PooledCell_
 The head of the grid entry pool. More...
 

Member Function Documentation

void PowerUI.InputGrid.Clean ( float  sWidth,
float  sHeight 
)
inline

Empties out and resizes the grid (if it requires it).

void PowerUI.InputGrid.Empty ( )
inline

Empties the grid into the pool.

InputGridEntry PowerUI.InputGrid.GetEntry ( )
inlineprivate

Gets a grid entry for the given

void PowerUI.InputGrid.Push ( RenderableData  renderData)
inline

Pushes the given renderable data into the grid now.

Member Data Documentation

float PowerUI.InputGrid.CellSize

The cell size.

InputGridCell [] PowerUI.InputGrid.Grid

The raw grid cells.

int PowerUI.InputGrid.Height

The number of cells on y.

InputGridEntry PowerUI.InputGrid.PooledCell_
private

The head of the grid entry pool.

int PowerUI.InputGrid.Width

The number of cells on x.

Property Documentation

InputGridCell PowerUI.InputGrid.this[int x, int y]
get

gets a cell at the given indices.