diff options
Diffstat (limited to 'Runtime/Camera/Renderqueue.h')
-rw-r--r-- | Runtime/Camera/Renderqueue.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Runtime/Camera/Renderqueue.h b/Runtime/Camera/Renderqueue.h new file mode 100644 index 0000000..766caac --- /dev/null +++ b/Runtime/Camera/Renderqueue.h @@ -0,0 +1,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 |