Logo
GameViewDrawHook.h
1#pragma once
2
3#include "Types.h"
4#include "gfx/GameView.h"
5#include "gfx/GameView/Helper/GameViewDrawHook.h"
6
7namespace SharpKmyGfx
8{
9 class NativeGameViewDrawHook : public kmyGfx::GameViewDrawHook
10 {
11 public:
12 void* owner = nullptr;
13 void gameviewHookDraw(kmyGfx::GameViewDrawCommandBuffer &icb, kmyGfx::GameViewDrawHookPoint point)override;
14 };
15
16 public ref class GameViewDrawHook
17 {
18 public:
20
24 static void call(void* obj, kmyGfx::GameViewDrawCommandBuffer* icb, kmyGfx::GameViewDrawHookPoint point);
25 };
26}
Definition: GameViewDrawHook.h:17
GameViewDrawHook()
Definition: GameViewDrawHook.cpp:6
~GameViewDrawHook()
Definition: GameViewDrawHook.cpp:15
static void call(void *obj, kmyGfx::GameViewDrawCommandBuffer *icb, kmyGfx::GameViewDrawHookPoint point)
Definition: GameViewDrawHook.cpp:21
virtual void gameviewHookDraw(InternalCommandBuffer ^icb, GameViewDrawHookPoint point)
Definition: GameViewDrawHook.h:23
NativeGameViewDrawHook * native
Definition: GameViewDrawHook.h:19
Definition: InternalCommandBuffer.h:13
Definition: GameViewDrawHook.h:10
void gameviewHookDraw(kmyGfx::GameViewDrawCommandBuffer &icb, kmyGfx::GameViewDrawHookPoint point) override
Definition: GameViewDrawHook.cpp:32
void * owner
Definition: GameViewDrawHook.h:12
Definition: Asset.h:4
GameViewDrawHookPoint
Definition: GfxTypes.h:67