gl view done

This commit is contained in:
Михаил Капелько committed 2026-10-20 06:50:13 +03:00
1 parent 137188e618
commit ff4613d8e6
6 files changed
+54 -45

No files matched your search

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