The Skung Rockification of Ziggy Skungdust and the SIMD's
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user