blob: a7e9655e49a87289d5c4546cffc492b999c07a85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
class BaseRenderer;
struct SceneNode
{
SceneNode() :
renderer(NULL), layer(0), pvsHandle(-1), lodGroup(0), lodIndexMask(0),
needsCullCallback(false), dirtyAABB(false), disable(false) {}
BaseRenderer* renderer;
UInt32 layer;
SInt32 pvsHandle;
UInt32 lodGroup;
UInt32 lodIndexMask;
bool needsCullCallback;
bool dirtyAABB;
///@TODO: Maybe we can use Renderer* = NULL instead, we already set this to null for static objects...
bool disable;
};
typedef int SceneHandle;
const int kInvalidSceneHandle = -1;
|