Commit af0c074d authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

d3dx9_36: Implement D3DXCreateMesh and initial ID3DXMesh methods.

parent 2b94a71d
...@@ -93,6 +93,24 @@ typedef struct ID3DXMatrixStackImpl ...@@ -93,6 +93,24 @@ typedef struct ID3DXMatrixStackImpl
D3DXMATRIX *stack; D3DXMATRIX *stack;
} ID3DXMatrixStackImpl; } ID3DXMatrixStackImpl;
/* ID3DXMesh */
typedef struct ID3DXMeshImpl
{
/* IUnknown fields */
const ID3DXMeshVtbl *lpVtbl;
LONG ref;
/* ID3DXMesh fields */
DWORD numfaces;
DWORD numvertices;
DWORD options;
DWORD fvf;
IDirect3DDevice9 *device;
IDirect3DVertexDeclaration9 *vertex_declaration;
IDirect3DVertexBuffer9 *vertex_buffer;
IDirect3DIndexBuffer9 *index_buffer;
} ID3DXMeshImpl;
/*ID3DXSprite */ /*ID3DXSprite */
typedef struct _SPRITE { typedef struct _SPRITE {
LPDIRECT3DTEXTURE9 texture; LPDIRECT3DTEXTURE9 texture;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment