Comparer for transparent objects. These are always rendered back-to-front regardless of
material in order to ensure correct rendering.
| C# |
public sealed class TransparentRenderBucketComparer : IRenderBucketComparer, IComparer<IRenderable>
| All Members | Constructors | Methods | |||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
TransparentRenderBucketComparer(IRenderer) |
Creates a new TransparentRenderBucketComparer.
|
|
|
Compare(IRenderable, IRenderable) |
Compares two renderable's by their distance to the camera,
renderables farther from the camera are rendered first. 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.) |
| Object | |
|
|
TransparentRenderBucketComparer |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)