C# Class Axiom.Core.StaticGeometry.LODBucket

A LODBucket is a collection of smaller buckets with the same LOD.
LOD refers to Mesh LOD here. Material LOD can change separately at the next bucket down from this.
Inheritance: DisposableObject
Datei anzeigen Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
lod ushort
materialBucketMap MaterialBucket>.Dictionary
parent Axiom.Core.Region
queuedGeometryList List
squaredDistance float

Public Methods

Method Description
AddRenderables ( RenderQueue queue, RenderQueueGroupID group, float camSquaredDistance ) : void
Assign ( Axiom.Core.QueuedSubMesh qsm, ushort atlod ) : void
Build ( bool stencilShadows, int logLevel ) : void
Dump ( ) : void
LODBucket ( Axiom.Core.Region parent, ushort lod, float lodDist ) : System

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Dispose the material buckets

Method Details

AddRenderables() public method

public AddRenderables ( RenderQueue queue, RenderQueueGroupID group, float camSquaredDistance ) : void
queue Axiom.Graphics.RenderQueue
group RenderQueueGroupID
camSquaredDistance float
return void

Assign() public method

public Assign ( Axiom.Core.QueuedSubMesh qsm, ushort atlod ) : void
qsm Axiom.Core.QueuedSubMesh
atlod ushort
return void

Build() public method

public Build ( bool stencilShadows, int logLevel ) : void
stencilShadows bool
logLevel int
return void

Dump() public method

public Dump ( ) : void
return void

LODBucket() public method

public LODBucket ( Axiom.Core.Region parent, ushort lod, float lodDist ) : System
parent Axiom.Core.Region
lod ushort
lodDist float
return System

dispose() protected method

Dispose the material buckets
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

lod protected_oe property

protected ushort lod
return ushort

materialBucketMap protected_oe property

protected Dictionary materialBucketMap
return MaterialBucket>.Dictionary

parent protected_oe property

protected Region,Axiom.Core parent
return Axiom.Core.Region

queuedGeometryList protected_oe property

protected List queuedGeometryList
return List

squaredDistance protected_oe property

protected float squaredDistance
return float