blob: 766caacad12c889eecc6127076a0a5cc74fbfc95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef RENDERQUEUE_H
#define RENDERQUEUE_H
class Transform;
class Vector4f;
class Matrix4x4f;
class LightmapSettings;
namespace Unity { class Material; }
void SetupObjectMatrix (const Matrix4x4f& m, int transformType);
UInt32 GetCurrentRenderOptions ();
bool CheckShouldRenderPass (int pass, Unity::Material& material);
bool SetupObjectLightmaps (const LightmapSettings& lightmapper, UInt32 lightmapIndex, const Vector4f& lightmapST, bool setMatrix);
// does a dummy render with all shaders & their combinations, so that driver actually creates them
void WarmupAllShaders ();
#endif
|