LeviLamina
Loading...
Searching...
No Matches
ViewRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace renoir { struct Texture2D; }
8// clang-format on
9
10namespace cohtml {
11
12class ViewRenderer {
13public:
14 // ViewRenderer inner types define
15 enum class PaintResult : int {
16 NotFound = 0,
17 NothingToPaint = 1,
18 PaintedSome = 2,
19 FrameComplete = 3,
20 };
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~ViewRenderer() = default;
26
27 virtual void Destroy() = 0;
28
29 virtual ::cohtml::ViewRenderer::PaintResult Paint(uint, bool) = 0;
30
31 virtual void SetRenderTarget(void*, void*, uint, uint, uint) = 0;
32
33 virtual void SetRenderTarget(void*, void*, ::renoir::Texture2D) = 0;
34
35 virtual void FreeRenderingResources() = 0;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41
42 // NOLINTEND
43};
44
45} // namespace cohtml
Definition ViewRenderer.h:7
Definition Texture2D.h:7