diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Camera/RenderLoops/RenderLoop.h |
Diffstat (limited to 'Runtime/Camera/RenderLoops/RenderLoop.h')
-rw-r--r-- | Runtime/Camera/RenderLoops/RenderLoop.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Runtime/Camera/RenderLoops/RenderLoop.h b/Runtime/Camera/RenderLoops/RenderLoop.h new file mode 100644 index 0000000..8c54ed8 --- /dev/null +++ b/Runtime/Camera/RenderLoops/RenderLoop.h @@ -0,0 +1,25 @@ +#pragma once + +#include "RenderLoopEnums.h" + +class Shader; +struct RenderLoop; +class Camera; +class ImageFilters; +class RenderTexture; +struct ShadowCullData; +struct CullResults; + + +RenderLoop* CreateRenderLoop (Camera& camera); +void DeleteRenderLoop (RenderLoop* loop); +void DoRenderLoop ( + RenderLoop& loop, + RenderingPath renderPath, + CullResults& contents, + // used in the editor for material previews - those should not render projectors, halos etc. + bool dontRenderRenderables +); +void CleanupAfterRenderLoop (RenderLoop& loop); +ImageFilters& GetRenderLoopImageFilters (RenderLoop& loop); +void RenderImageFilters (RenderLoop& loop, RenderTexture* targetTexture, bool afterOpaque); |