C# Class RenderingLibrary.Graphics.Layer

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
Add ( IRenderableIpso renderable ) : void
ContainsRenderable ( IRenderable whatToTest ) : bool
Layer ( ) : System
Remove ( IRenderableIpso renderable ) : void
ToString ( ) : string

Private Methods

Method Description
SortRenderables ( ) : void

This is a stable sort on Z. It's incredibly fast on already-sorted lists so we'll do this over something like the built-in binary sorts that .NET offers.

Method Details

Add() public method

public Add ( IRenderableIpso renderable ) : void
renderable IRenderableIpso
return void

ContainsRenderable() public method

public ContainsRenderable ( IRenderable whatToTest ) : bool
whatToTest IRenderable
return bool

Layer() public method

public Layer ( ) : System
return System

Remove() public method

public Remove ( IRenderableIpso renderable ) : void
renderable IRenderableIpso
return void

ToString() public method

public ToString ( ) : string
return string