Files
vitasdk-odin/ShaccCg/ShaccCg.odin
T

24 lines
781 B
Odin
Raw Normal View History

2024-05-11 23:24:13 +02:00
package shacccg
import "core:c"
import sce "../common"
foreign import shacccg "system:SceShaccCg_stub"
@(link_prefix = "sceShaccCg")
foreign shacccg {
InitializeCompileOptions :: proc(options: ^SceShaccCgCompileOptions) -> c.int ---
CompileProgram :: proc(#by_ptr options: SceShaccCgCompileOptions, #by_ptr callbacks: SceShaccCgCallbackList, unk: c.int) -> ^SceShaccCgCompileOutput ---
SetDefaultAllocator :: proc(malloc_cb: #type ^proc "c" (_: c.uint) -> rawptr, free_cb: #type ^proc "c" (_: rawptr)) -> c.int ---
InitializeCallbackList :: proc(callbacks: ^SceShaccCgCallbackList, defaults: SceShaccCgCallbackDefaults) ---
DestroyCompileOutput :: proc(output: ^SceShaccCgCompileOutput) ---
ReleaseCompiler :: proc() ---
GetVersionString :: proc() -> cstring ---
}