Tesla Graphics Engine Documentation (January 2012)
IRenderBucket Interface
TeslaTesla.GraphicsIRenderBucket
Defines the interface for a bucket that stores a list of IRenderables that are to be sorted and rendered.
Declaration Syntax
C#
public interface IRenderBucket : IEnumerable<IRenderable>, 
	IEnumerable
Members
All Members Methods Properties



Icon Member Description
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.

GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'IRenderable>)>)>.)
GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Item[([( Int32])])
Gets the renderable at the given index in the bucket.

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.

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