Tesla Graphics Engine Documentation (January 2012)
RenderBucket Class
TeslaTesla.GraphicsRenderBucket
Standard render bucket used by default. Contains a list of Spatials which it will use the engine's implementation of merge sort when sorting.
Declaration Syntax
C#
public class RenderBucket : IRenderBucket, 
	IEnumerable<IRenderable>, IEnumerable
Members
All Members Constructors Methods Properties



Icon Member Description
RenderBucket(IRenderer, IRenderBucketComparer)
Creates a new RenderBucket.

Add(IRenderable)
Adds a renderable to the bucket.

BucketComparer
Gets the bucket comparer owned by this bucket.

Clear()()()()
Clears all renderables from the bucket.

Count
Gets the current number of renderables contained in the bucket.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Returns the render bucket's enumerator.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([( Int32])])
Gets the renderable at the given index in the bucket.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(IRenderable)
Removes a renderable from the bucket.

Render()()()()
Renders all renderables in the bucket.

Renderer
Gets the current renderer assigned to this render bucket.

Sort()()()()
Sorts all renderables in the bucket.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)