blob: 8c4e6df202afe477f22bd9c9cf9a39abdb102a4c (
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
29
30
31
32
33
34
35
|
#ifndef __EVAS_DIRECT3D_OBJECT_H__
#define __EVAS_DIRECT3D_OBJECT_H__
#include "evas_engine.h"
#include "ref.h"
class D3DDevice;
class D3DObject : virtual public Referenc
{
public:
D3DObject();
virtual ~D3DObject();
virtual void Draw(D3DDevice *d3d) = 0;
inline bool IsFree();
inline void SetFree(bool state);
private:
bool _free;
};
bool D3DObject::IsFree()
{
return _free;
}
void D3DObject::SetFree(bool state)
{
_free = state;
}
#endif // __EVAS_DIRECT3D_OBJECT_H__
|