C# Class Axiom.Core.InstancedGeometry.GeometryBucket

A GeometryBucket is a the lowest level bucket where geometry with the same vertex & index format is stored. It also acts as the renderable.
Inheritance: Axiom.Graphics.SimpleRenderable
Show file Open project: WolfgangSt/axiom

Public Methods

Method Description
GeometryBucket ( Axiom.Core.MaterialBucket parent, String formatString, VertexData vData, IndexData iData ) : System
GetSquaredViewDepth ( Camera camera ) : float

Private Methods

Method Description
CopyIndexes ( void src, void dst, int count, int indexOffset ) : void
GeometryBucket ( Axiom.Core.MaterialBucket parent, String formatString, Axiom.Core.GeometryBucket bucket ) : System

Method Details

GeometryBucket() public method

public GeometryBucket ( Axiom.Core.MaterialBucket parent, String formatString, VertexData vData, IndexData iData ) : System
parent Axiom.Core.MaterialBucket
formatString String
vData Axiom.Graphics.VertexData
iData Axiom.Graphics.IndexData
return System

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Camera
return float