Working example
This commit is contained in:
10
sdl3/sdl3_metal.odin
Normal file
10
sdl3/sdl3_metal.odin
Normal file
@@ -0,0 +1,10 @@
|
||||
package sdl3
|
||||
|
||||
MetalView :: distinct rawptr
|
||||
|
||||
@(default_calling_convention="c", link_prefix="SDL_", require_results)
|
||||
foreign lib {
|
||||
Metal_CreateView :: proc(window: ^Window) -> MetalView ---
|
||||
Metal_DestroyView :: proc(view: MetalView) ---
|
||||
Metal_GetLayer :: proc(view: MetalView) -> rawptr ---
|
||||
}
|
||||
Reference in New Issue
Block a user