C# Class Axiom.Graphics.AnyBuilder

Base class for classes that iterate over the vertices in a mesh
Inheritance: DisposableObject
Mostra file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
customIndexBufferList List
indexDataList IndexDataList
indexDataVertexDataSetList Axiom.Core.IntList
operationTypes OperationTypeList
vertexDataList VertexDataList

Public Methods

Method Description
AddIndexData ( IndexData indexData ) : void

Add a set of index geometry data to the edge builder.

You must add at least one set of index data to the builder before invoking the method.

AddIndexData ( IndexData indexData, int vertexSet ) : void
AddIndexData ( IndexData indexData, int vertexSet, OperationType opType ) : void

Add a set of index geometry data to the edge builder.

You must add at least one set of index data to the builder before invoking the method.

AddObject ( IRenderable obj ) : void

Populate with data as obtained from an IRenderable.

Will share the buffers. In case there are no index data associated with the IRenderable, i.e. RenderOperation.useIndices is false, custom software index buffer is created to provide default index data to the builder. This makes it possible for derived classes to handle the data in a convenient way.

AddObject ( Axiom.Core.Mesh mesh, int lodIndex ) : void

Add vertex and index sets of a mesh to the builder.

AddVertexData ( VertexData vertexData ) : void

Add a set of vertex geometry data to the edge builder.

You must add at least one set of vertex data to the builder before invoking the method.

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Method Details

AddIndexData() public method

Add a set of index geometry data to the edge builder.
You must add at least one set of index data to the builder before invoking the method.
public AddIndexData ( IndexData indexData ) : void
indexData IndexData The index information which describes the triangles.
return void

AddIndexData() public method

public AddIndexData ( IndexData indexData, int vertexSet ) : void
indexData IndexData
vertexSet int
return void

AddIndexData() public method

Add a set of index geometry data to the edge builder.
You must add at least one set of index data to the builder before invoking the method.
public AddIndexData ( IndexData indexData, int vertexSet, OperationType opType ) : void
indexData IndexData The index information which describes the triangles.
vertexSet int /// The vertex data set this index data refers to; you only need to alter this /// if you have added multiple sets of vertices. ///
opType OperationType
return void

AddObject() public method

Populate with data as obtained from an IRenderable.
Will share the buffers. In case there are no index data associated with the IRenderable, i.e. RenderOperation.useIndices is false, custom software index buffer is created to provide default index data to the builder. This makes it possible for derived classes to handle the data in a convenient way.
public AddObject ( IRenderable obj ) : void
obj IRenderable
return void

AddObject() public method

Add vertex and index sets of a mesh to the builder.
public AddObject ( Axiom.Core.Mesh mesh, int lodIndex ) : void
mesh Axiom.Core.Mesh The mesh object.
lodIndex int The LOD level to be processed.
return void

AddVertexData() public method

Add a set of vertex geometry data to the edge builder.
You must add at least one set of vertex data to the builder before invoking the method.
public AddVertexData ( VertexData vertexData ) : void
vertexData VertexData Vertex data to consider for edge detection.
return void

dispose() protected method

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

customIndexBufferList protected_oe property

List of software index buffers that were created and to be disposed by this class.
protected List customIndexBufferList
return List

indexDataList protected_oe property

List of objects that will provide index data to the build process.
protected IndexDataList indexDataList
return IndexDataList

indexDataVertexDataSetList protected_oe property

Mapping of index data sets to vertex data sets.
protected IntList,Axiom.Core indexDataVertexDataSetList
return Axiom.Core.IntList

operationTypes protected_oe property

Mappings of operation type to vertex data.
protected OperationTypeList operationTypes
return OperationTypeList

vertexDataList protected_oe property

List of vertex data objects.
protected VertexDataList vertexDataList
return VertexDataList