This commit is contained in:
Михаил Капелько committed 2026-10-20 06:31:26 +03:00
1 parent 7829cab78b
commit 137188e618
5 files changed
+42 -25

No files matched your search

+4 -2
View File
@@ -10,18 +10,20 @@ RenderContext:
backingPixelSize: [Int32]
didClickIncrement: Bool
didLaunch: Bool
didPrepareGLContext: Bool
didSetup: Bool
isReadyToRender: Bool
pixelSize: [Int32]
reshapePixelSize: [Int32]
willPrepareGLContext: Bool
RenderComponent:
type: component
oneliners:
- didClickIncrement: renderLoadCubeModel(RenderVM.shared!)
- pixelSize: RenderVM.shared!.pixelSize = c.pixelSize
- willPrepareGLContext: renderStartTimer(RenderVM.shared!)
- didPrepareGLContext: renderInit(RenderVM.shared!)
- didPrepareGLContext: RenderVM.shared!.didPrepareGLContext = true
- didPrepareGLContext: renderStartTimer(RenderVM.shared!)
shoulds:
didLaunch:
1. Only once during the first setup: