Comparer for the ortho render bucket. This sorts renderables first
by their ortho order. Renderables with smaller ortho order values
are rendered first.
Declaration Syntax
C# |
public sealed class OrthoRenderBucketComparer : IRenderBucketComparer, IComparer<IRenderable>
Members
All Members | Constructors | Methods | |||
|
|
|
Icon | Member | Description |
---|---|---|
OrthoRenderBucketComparer(IRenderer) |
Creates a new OrthoRenderBucketComparer
|
|
Compare(IRenderable, IRenderable) |
Compares two renderable's by their ortho order property. If
x is less than y, -1 is returned. If x is greater than y, 1
is returned. If they're equal then 0 is returned.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
OrthoRenderBucketComparer |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)