The Skung Rockification of Ziggy Skungdust and the SIMD's

This commit is contained in:
2024-05-13 01:11:03 +10:00
parent b62cd056b5
commit 6c44476062
40 changed files with 2066 additions and 386 deletions

View File

@ -1,4 +1,5 @@
import Foundation
import Maths
import OpenGL.GL
@ -16,9 +17,8 @@ public protocol Renderer
func setVsync(mode: VSyncMode) throws
func createMesh<V: Vertex>(mesh: Mesh<V>) throws -> RenderMesh<V>
func createTexture(data: UnsafeRawPointer, width: Int, height: Int) throws -> RenderTexture2D
func createTexture(data: UnsafeRawPointer, width: Int, height: Int,
filter: FilterMode, mipMode: MipMode) throws -> RenderTexture2D
func createTexture(image: Image) throws -> RenderTexture2D
func createTexture(image: Image, filter: FilterMode, mipMode: MipMode) throws -> RenderTexture2D
func deleteMesh<V: Vertex>(_ mesh: RenderMesh<V>)
func deleteTexture(_ texture: RenderTexture2D)