OPTPiX SpriteStudio SDK
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
ssplayer_render.h
1
#ifndef __SSPLAYER_RENDER__
2
#define __SSPLAYER_RENDER__
3
4
struct
SsPartState
;
5
6
7
class
ISsRenderer
8
{
9
public
:
10
virtual
void
initialize() = 0;
11
virtual
void
renderSetup() = 0;
12
virtual
void
renderPart(
SsPartState
* state) = 0;
13
};
14
15
class
SsCurrentRenderer
16
{
17
private
:
18
static
ISsRenderer
* m_currentrender;
19
public
:
20
SsCurrentRenderer
(){}
21
SsCurrentRenderer
(
ISsRenderer
* render)
22
{
23
SetCurrentRender(render);
24
}
25
virtual
~
SsCurrentRenderer
()
26
{
27
if
( m_currentrender )
delete
m_currentrender;
28
}
29
static
void
SetCurrentRender(
ISsRenderer
* render )
30
{
31
render->initialize();
32
m_currentrender = render;
33
}
34
static
ISsRenderer
* getRender(){
return
m_currentrender; }
35
};
36
37
38
39
#endif
Common
Animator
ssplayer_render.h
Generated on Mon Jun 16 2014 17:55:48 for OPTPiX SpriteStudio SDK by
1.8.4