Tesla Graphics Engine Documentation (January 2012)
Compare Method (x, y)
TeslaTesla.GraphicsOpaqueRenderBucketComparerCompare(IRenderable, IRenderable)
Compares two renderable's by their material or if that is equal, then which is closer to the camera. 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.
Declaration Syntax
C#
public int Compare(
	IRenderable x,
	IRenderable y
)
Parameters
x (IRenderable)
First renderable
y (IRenderable)
Second renderable
Return Value
Comparision result

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