template<class
Mesh>
class ACG::DrawMeshFaceInput< Mesh >
Definition at line 249 of file DrawMeshT_impl.hh.
◆ DrawMeshFaceInput()
◆ getFaceAttr() [1/2]
Get an index buffer of a face for a specific attribute channel.
- Parameters
-
| _faceID | face index |
| _attrID | attribute channel |
- Returns
- array data of size "getFaceSize(_faceID)", allowed to return 0 when array data not permanently available in memory
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 366 of file DrawMeshT_impl.hh.
◆ getFaceAttr() [2/2]
Get an index buffer of a face for a specific attribute channel.
- Parameters
-
| _faceID | face index |
| _attrID | attribute channel |
| _out | pointer to output buffer, use getFaceSize(_faceID) to get the size needed to store face data |
- Returns
- true if successful, false otherwise
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 345 of file DrawMeshT_impl.hh.
◆ getFaceSize()
◆ getNumFaces()
◆ getNumIndices()
◆ getSingleFaceAttr()
Get a single vertex-index entry of a face.
- Parameters
-
| _faceID | face index |
| _faceCorner | vertex corner of the face |
| _attrID | attribute channel |
- Returns
- index-data if successful, -1 otherwise
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 283 of file DrawMeshT_impl.hh.
◆ getVertexAdjCount()
Get the number of adjacent faces for a vertex.
- Parameters
-
- Returns
- number of adjacent faces, return -1 if adjacency information unavailable
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 374 of file DrawMeshT_impl.hh.
◆ getVertexAdjFace()
Get the index of an adjacent face for a vertex.
- Parameters
-
| _vertexID | vertex index |
| _k | adjacency list entry in range [0, .., adjCount - 1] |
- Returns
- face id of adjacent face, return -1 if adjacency information is available
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 388 of file DrawMeshT_impl.hh.
◆ attributeStoredPerHalfedge_
◆ mesh_
The documentation for this class was generated from the following file: