Cogs.Core
VideoCaptureRenderer.h
1#pragma once
2#include "Renderer/IRenderer.h"
3
4#include "Rendering/IGraphicsDevice.h"
5
6namespace Cogs::Core
7{
9 {
10 public:
12
13 void initialize(Cogs::Core::Context *context, IGraphicsDevice *device) override;
14 void handleEvent(uint32_t eventId, const DrawContext *renderingContext) override;
15 void generateCommands(const RenderTaskContext*, RenderList*) override {}
16
17 Context *context = nullptr;
18 class VideoCaptureSystem *videoCaptureSystem = nullptr;
19 };
20}// namespace ...
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83
Defines an extension to the renderer, capable of doing custom rendering.
Definition: IRenderer.h:123
void handleEvent(uint32_t eventId, const DrawContext *renderingContext) override
Called when rendering events occur.
void initialize(Cogs::Core::Context *context, IGraphicsDevice *device) override
Initialize the extension using the given context and device.
Represents a graphics device used to manage graphics resources and issue drawing commands.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....