C# Class Axiom.Core.StaticGeometry.MaterialBucket

A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD).
Inheritance: DisposableObject
Show file Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
currentGeometryMap GeometryBucket>.Dictionary
geometryBucketList List
material Axiom.Graphics.Material
materialName string
parent Axiom.Core.LODBucket
technique Axiom.Graphics.Technique

Public Methods

Method Description
AddRenderables ( RenderQueue queue, RenderQueueGroupID group, Real lodValue ) : void
Assign ( Axiom.Core.QueuedGeometry qgeom ) : void
Build ( bool stencilShadows, int logLevel ) : void
Dump ( ) : void
MaterialBucket ( Axiom.Core.LODBucket parent, string materialName ) : System

Protected Methods

Method Description
GetGeometryFormatString ( Axiom.Core.SubMeshLodGeometryLink geom ) : string
dispose ( bool disposeManagedResources ) : void

Dispose the geometry buckets

Method Details

AddRenderables() public method

public AddRenderables ( RenderQueue queue, RenderQueueGroupID group, Real lodValue ) : void
queue Axiom.Graphics.RenderQueue
group RenderQueueGroupID
lodValue Real
return void

Assign() public method

public Assign ( Axiom.Core.QueuedGeometry qgeom ) : void
qgeom Axiom.Core.QueuedGeometry
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

GetGeometryFormatString() protected method

protected GetGeometryFormatString ( Axiom.Core.SubMeshLodGeometryLink geom ) : string
geom Axiom.Core.SubMeshLodGeometryLink
return string

MaterialBucket() public method

public MaterialBucket ( Axiom.Core.LODBucket parent, string materialName ) : System
parent Axiom.Core.LODBucket
materialName string
return System

dispose() protected method

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

Property Details

currentGeometryMap protected property

protected Dictionary currentGeometryMap
return GeometryBucket>.Dictionary

geometryBucketList protected property

protected List geometryBucketList
return List

material protected property

protected Material,Axiom.Graphics material
return Axiom.Graphics.Material

materialName protected property

protected string materialName
return string

parent protected property

protected LODBucket,Axiom.Core parent
return Axiom.Core.LODBucket

technique protected property

protected Technique,Axiom.Graphics technique
return Axiom.Graphics.Technique