TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class ShaderPass in Tinman.AddOns.Rendering

Wraps a render pass in a shader technique.

sealed class ShaderPass implements IComparable<ShaderPass>

See also:

IShaderTechnique

Public / Attributes

Index

Zero-based pass index.

public readonly field Index
type int32

See also:

IShaderTechnique.PassCount

Name

The pass name (never null).

public readonly field Name
type string

Public / Constructors

ShaderPass

Creates a new instance of ShaderPass.

public constructor ShaderPass (int32 index, string name = null)
params index [>=0] The zero-based pass index.
  name The pass name. Defaults to null.

Public / Methods

CompareTo

Compares this object with the given one.

[Pure]
public method CompareTo (ShaderPass other)
type int32
params other The object to compare to.
returns < 0 : if this object is less than other,
= 0 : if this object is equal to other,
> 0 : if this object is greater than other.
implements IComparable.CompareTo