summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase/J3DShapeDraw.h
blob: 8863f868d869c56d090bf1ec9e471d40689f2f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef J3DSHAPEDRAW_H
#define J3DSHAPEDRAW_H

#include "dolphin/types.h"

/**
 * @ingroup jsystem-j3d
 * 
 */
class J3DShapeDraw {
public:
    /* 80314924 */ u32 countVertex(u32);
    /* 80314974 */ void addTexMtxIndexInDL(u32, u32, u32);
    /* 80314ABC */ J3DShapeDraw(u8 const*, u32);
    /* 80314AD4 */ void draw() const;

    /* 80314B00 */ virtual ~J3DShapeDraw();

    u8* getDisplayList() const { return (u8*)mDisplayList; }
    u32 getDisplayListSize() const { return mDisplayListSize; }
    void setDisplayListSize(u32 size) { mDisplayListSize = size; }

private:
    /* 0x04 */ u32 mDisplayListSize;
    /* 0x08 */ void* mDisplayList;
};

#endif /* J3DSHAPEDRAW_H */