![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cDXMesh.h>
Public Member Functions | |
cDXMeshVertex (ID3DXBaseMesh *pIMesh, DWORD dwFlags=0x00000010L) | |
~cDXMeshVertex () | |
bool | IsValid () const |
HRESULT | Lock (DWORD dwFlags=0x00000010L) |
void | Unlock () |
operator const _TYPE_VERT * () const | |
operator _TYPE_VERT * () | |
_TYPE_VERT * | operator-> () const |
_TYPE_VERT * | GetVertPtr (int i) const |
cVector3f & | GetVert (int i) const |
Public Attributes | |
_TYPE_VERT * | m_pVertex |
The locked pointer. More... | |
size_t | m_nVertStride |
size in bytes of each vertex. DWORD. More... | |
Lock the vertex array of a ID3DXBaseMesh. same as cDXBufferVertexT really but apply to the mesh pointer. A flexible vertex array may contain 3d point + other stuff. ASSUME first 12 bytes is the vertex.
|
inline |
|
inline |
|
inline |
ASSUME the first part of any vertex format is cVector3f
|
inline |
|
inline |
|
inline |
similar to IDirect3DVertexBuffer9
|
inline |
|
inline |
using this as an array may be dangerous. as it may or may not match m_nVertStride.
|
inline |
|
inline |
size_t Gray3D::cDXMeshVertex< _TYPE_VERT >::m_nVertStride |
size in bytes of each vertex. DWORD.
_TYPE_VERT* Gray3D::cDXMeshVertex< _TYPE_VERT >::m_pVertex |
The locked pointer.