-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDekiRenderingInit.h
More file actions
25 lines (22 loc) · 891 Bytes
/
DekiRenderingInit.h
File metadata and controls
25 lines (22 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
/**
* @file DekiRenderingInit.h
* @brief Rendering module system initialization
*
* Creates the render system, renderer, and passes based on ProjectSettings.
* Called by the auto-generated deki_init_module_systems() on all platforms.
* In editor builds, also called from DekiRendering_EnsureRegistered().
*
* Idempotent — safe to call multiple times (e.g., during hot-reload).
*/
void DekiRendering_InitSystem();
void DekiRendering_ShutdownSystem();
/**
* @brief Detach an autoAttached render pass by registry name.
*
* Called by a module's DekiPlugin_Shutdown so its pass instance is removed
* from the active renderer (and deleted) BEFORE the module's DLL unloads —
* otherwise the renderer keeps invoking Execute() on a vtable that no longer
* exists. Safe to call when no matching pass is attached.
*/
void DekiRendering_DetachPass(const char* name);