From 71e94ee161447b84c0eaabf6567f8fa62262cd3e Mon Sep 17 00:00:00 2001 From: Mirrorbot Date: Sat, 27 Dec 2025 17:53:06 -0600 Subject: Inital commit --- doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html | 1163 +++++++++++++++++++++ 1 file changed, 1163 insertions(+) create mode 100644 doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html (limited to 'doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html') diff --git a/doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html b/doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html new file mode 100644 index 0000000..100eef2 --- /dev/null +++ b/doc/html/classirr_1_1scene_1_1_c_mesh_buffer.html @@ -0,0 +1,1163 @@ + + + + +Irrlicht 3D Engine: irr::scene::CMeshBuffer< T > Class Template Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::scene::CMeshBuffer< T > Class Template Reference
+
+
+ +

Template implementation of the IMeshBuffer interface. + More...

+ +

#include <CMeshBuffer.h>

+
+ + Inheritance diagram for irr::scene::CMeshBuffer< T >:
+
+
+ + +

List of all members.

+

+Public Member Functions

+ +

+Public Attributes

+ +

Detailed Description

+

template<class T>
+class irr::scene::CMeshBuffer< T >

+ +

Template implementation of the IMeshBuffer interface.

+ +

Definition at line 17 of file CMeshBuffer.h.

+

Constructor & Destructor Documentation

+ +
+
+
+template<class T >
+ + + + + + + +
irr::scene::CMeshBuffer< T >::CMeshBuffer () [inline]
+
+
+ +

Default constructor for empty meshbuffer.

+ +

Definition at line 21 of file CMeshBuffer.h.

+ +

References irr::IReferenceCounted::setDebugName().

+ +
+
+

Member Function Documentation

+ +
+
+
+template<class T >
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::append (const void *const vertices,
u32 numVertices,
const u16 *const indices,
u32 numIndices 
) [inline, virtual]
+
+
+ +

Append the vertices and indices to the current buffer.

+

Only works for compatible types, i.e. either the same type or the main buffer is of standard type. Otherwise, behavior is undefined.

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 180 of file CMeshBuffer.h.

+ +

References irr::core::aabbox3d< T >::addInternalPoint(), irr::scene::CMeshBuffer< T >::BoundingBox, irr::scene::CMeshBuffer< T >::getIndexCount(), irr::scene::CMeshBuffer< T >::getVertexCount(), irr::scene::CMeshBuffer< T >::getVertices(), irr::scene::CMeshBuffer< T >::Indices, irr::core::array< T, TAlloc >::push_back(), irr::core::array< T, TAlloc >::reallocate(), and irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::append (const IMeshBuffer *const other) [inline, virtual]
+
+
+ +

Append the meshbuffer to the current buffer.

+

Only works for compatible types, i.e. either the same type or the main buffer is of standard type. Otherwise, behavior is undefined.

+
Parameters:
+ + +
otherMeshbuffer to be appended to this one.
+
+
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 209 of file CMeshBuffer.h.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual const core::aabbox3d<f32>& irr::scene::CMeshBuffer< T >::getBoundingBox () const [inline, virtual]
+
+
+ +

Get the axis aligned bounding box.

+
Returns:
Axis aligned bounding box of this buffer.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 101 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::BoundingBox.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual u32 irr::scene::CMeshBuffer< T >::getChangedID_Index () const [inline, virtual]
+
+
+ +

Get the currently used ID for identification of changes.

+

This shouldn't be used for anything outside the VideoDriver.

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 271 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::ChangedID_Index.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual u32 irr::scene::CMeshBuffer< T >::getChangedID_Vertex () const [inline, virtual]
+
+
+ +

Get the currently used ID for identification of changes.

+

This shouldn't be used for anything outside the VideoDriver.

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 267 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::ChangedID_Vertex.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual E_HARDWARE_MAPPING irr::scene::CMeshBuffer< T >::getHardwareMappingHint_Index () const [inline, virtual]
+
+
+ +

get the current hardware mapping hint

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 241 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::MappingHint_Index.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual E_HARDWARE_MAPPING irr::scene::CMeshBuffer< T >::getHardwareMappingHint_Vertex () const [inline, virtual]
+
+
+ +

get the current hardware mapping hint

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 235 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::MappingHint_Vertex.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual u32 irr::scene::CMeshBuffer< T >::getIndexCount () const [inline, virtual]
+
+
+ +

Get number of indices.

+
Returns:
Number of indices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 93 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Indices, and irr::core::array< T, TAlloc >::size().

+ +

Referenced by irr::scene::CMeshBuffer< T >::append().

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual video::E_INDEX_TYPE irr::scene::CMeshBuffer< T >::getIndexType () const [inline, virtual]
+
+
+ +

Get type of index data which is stored in this meshbuffer.

+
Returns:
Index type of this buffer.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 70 of file CMeshBuffer.h.

+ +

References irr::video::EIT_16BIT.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual const u16* irr::scene::CMeshBuffer< T >::getIndices () const [inline, virtual]
+
+
+ +

Get pointer to indices.

+
Returns:
Pointer to indices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 77 of file CMeshBuffer.h.

+ +

References irr::core::array< T, TAlloc >::const_pointer(), and irr::scene::CMeshBuffer< T >::Indices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual u16* irr::scene::CMeshBuffer< T >::getIndices () [inline, virtual]
+
+
+ +

Get pointer to indices.

+
Returns:
Pointer to indices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 85 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Indices, and irr::core::array< T, TAlloc >::pointer().

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual const video::SMaterial& irr::scene::CMeshBuffer< T >::getMaterial () const [inline, virtual]
+
+
+ +

Get material of this meshbuffer.

+
Returns:
Material of this buffer
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 31 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Material.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual video::SMaterial& irr::scene::CMeshBuffer< T >::getMaterial () [inline, virtual]
+
+
+ +

Get material of this meshbuffer.

+
Returns:
Material of this buffer
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 39 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Material.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual const core::vector3df& irr::scene::CMeshBuffer< T >::getNormal (u32 i) const [inline, virtual]
+
+
+ +

returns normal of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 151 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual core::vector3df& irr::scene::CMeshBuffer< T >::getNormal (u32 i) [inline, virtual]
+
+
+ +

returns normal of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 157 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual const core::vector3df& irr::scene::CMeshBuffer< T >::getPosition (u32 i) const [inline, virtual]
+
+
+ +

returns position of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 139 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual core::vector3df& irr::scene::CMeshBuffer< T >::getPosition (u32 i) [inline, virtual]
+
+
+ +

returns position of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 145 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual const core::vector2df& irr::scene::CMeshBuffer< T >::getTCoords (u32 i) const [inline, virtual]
+
+
+ +

returns texture coord of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 163 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual core::vector2df& irr::scene::CMeshBuffer< T >::getTCoords (u32 i) [inline, virtual]
+
+
+ +

returns texture coord of vertex i

+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 169 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual u32 irr::scene::CMeshBuffer< T >::getVertexCount () const [inline, virtual]
+
+
+ +

Get number of vertices.

+
Returns:
Number of vertices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 63 of file CMeshBuffer.h.

+ +

References irr::core::array< T, TAlloc >::size(), and irr::scene::CMeshBuffer< T >::Vertices.

+ +

Referenced by irr::scene::CMeshBuffer< T >::append().

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual video::E_VERTEX_TYPE irr::scene::CMeshBuffer< T >::getVertexType () const [inline, virtual]
+
+
+ +

Get type of vertex data stored in this buffer.

+
Returns:
Type of vertex data.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 133 of file CMeshBuffer.h.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual const void* irr::scene::CMeshBuffer< T >::getVertices () const [inline, virtual]
+
+
+ +

Get pointer to vertices.

+
Returns:
Pointer to vertices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 47 of file CMeshBuffer.h.

+ +

References irr::core::array< T, TAlloc >::const_pointer(), and irr::scene::CMeshBuffer< T >::Vertices.

+ +

Referenced by irr::scene::CMeshBuffer< T >::append().

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual void* irr::scene::CMeshBuffer< T >::getVertices () [inline, virtual]
+
+
+ +

Get pointer to vertices.

+
Returns:
Pointer to vertices.
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 55 of file CMeshBuffer.h.

+ +

References irr::core::array< T, TAlloc >::pointer(), and irr::scene::CMeshBuffer< T >::Vertices.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::recalculateBoundingBox () [inline, virtual]
+
+ +
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::setBoundingBox (const core::aabbox3dfbox) [inline, virtual]
+
+
+ +

Set the axis aligned bounding box.

+
Parameters:
+ + +
boxNew axis aligned bounding box for this buffer. set user axis aligned bounding box
+
+
+ +

Implements irr::scene::IMeshBuffer.

+ +

Definition at line 110 of file CMeshBuffer.h.

+ +

References irr::scene::CMeshBuffer< T >::BoundingBox.

+ +
+
+ +
+
+
+template<class T >
+ + + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::setDirty (E_BUFFER_TYPE Buffer = EBT_VERTEX_AND_INDEX) [inline, virtual]
+
+ +
+ +
+
+
+template<class T >
+ + + + + + + + + + + + + + + + + + +
virtual void irr::scene::CMeshBuffer< T >::setHardwareMappingHint (E_HARDWARE_MAPPING NewMappingHint,
E_BUFFER_TYPE Buffer = EBT_VERTEX_AND_INDEX 
) [inline, virtual]
+
+ +
+

Member Data Documentation

+ + + +
+
+
+template<class T >
+ + + + +
u32 irr::scene::CMeshBuffer< T >::ChangedID_Index
+
+ +
+ +
+
+
+template<class T >
+ + + + +
u32 irr::scene::CMeshBuffer< T >::ChangedID_Vertex
+
+ +
+ +
+
+
+template<class T >
+ + + + +
core::array<u16> irr::scene::CMeshBuffer< T >::Indices
+
+
+ +

Indices into the vertices of this buffer.

+ +

Definition at line 285 of file CMeshBuffer.h.

+ +

Referenced by irr::scene::CMeshBuffer< T >::append(), irr::scene::CMeshBuffer< T >::getIndexCount(), and irr::scene::CMeshBuffer< T >::getIndices().

+ +
+
+ + + +
+
+
+template<class T >
+ + + + +
E_HARDWARE_MAPPING irr::scene::CMeshBuffer< T >::MappingHint_Vertex
+
+ +
+ +
+
+
+template<class T >
+ + + + +
video::SMaterial irr::scene::CMeshBuffer< T >::Material
+
+
+ +

Material for this meshbuffer.

+ +

Definition at line 281 of file CMeshBuffer.h.

+ +

Referenced by irr::scene::CMeshBuffer< T >::getMaterial().

+ +
+
+ + +
The documentation for this class was generated from the following file: +
+
+ + + + + -- cgit v1.2.3-70-g09d2