Graphics: Replace RenderFrame by RenderResources
This changes makes the whole rendering independent from the RenderFrame acquired from the Swapchain. This may allow to do offscreen rendering (= without swapchain), or multi-window rendering in the future
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Nz
|
||||
class FramePipeline;
|
||||
class InstancedRenderable;
|
||||
class MaterialInstance;
|
||||
class RenderFrame;
|
||||
class RenderResources;
|
||||
class SkeletonInstance;
|
||||
class WorldInstance;
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace Nz
|
||||
{
|
||||
const Bitset<UInt64>* visibleLights;
|
||||
const Frustumf& frustum;
|
||||
RenderFrame& renderFrame;
|
||||
RenderResources& renderResources;
|
||||
const std::vector<VisibleRenderable>& visibleRenderables;
|
||||
std::size_t visibilityHash;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user