C# Class Axiom.Graphics.AnyBuilder

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

Protected Properties

Свойство Type Description
customIndexBufferList List
indexDataList IndexDataList
indexDataVertexDataSetList Axiom.Core.IntList
operationTypes OperationTypeList
vertexDataList VertexDataList

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
dispose ( bool disposeManagedResources ) : void

Method Details

AddIndexData() public méthode

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.
Résultat void

AddIndexData() public méthode

public AddIndexData ( IndexData indexData, int vertexSet ) : void
indexData IndexData
vertexSet int
Résultat void

AddIndexData() public méthode

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
Résultat void

AddObject() public méthode

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
Résultat void

AddObject() public méthode

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.
Résultat void

AddVertexData() public méthode

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.
Résultat void

dispose() protected méthode

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat 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
Résultat List

indexDataList protected_oe property

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

indexDataVertexDataSetList protected_oe property

Mapping of index data sets to vertex data sets.
protected IntList,Axiom.Core indexDataVertexDataSetList
Résultat Axiom.Core.IntList

operationTypes protected_oe property

Mappings of operation type to vertex data.
protected OperationTypeList operationTypes
Résultat OperationTypeList

vertexDataList protected_oe property

List of vertex data objects.
protected VertexDataList vertexDataList
Résultat VertexDataList