Module shader

Consts

MODE_SPATIAL* = 0'i64
MODE_CANVAS_ITEM* = 1'i64
MODE_PARTICLES* = 2'i64

Procs

proc code*(self: Shader): string {.
gcsafe, locks: 0
.}
proc `code =`*(self: Shader; val: string) {.
gcsafe, locks: 0
.}
proc getMode*(self: Shader): int64 {.
gcsafe, locks: 0
.}
proc setDefaultTextureParam*(self: Shader; param: string; texture: Texture) {.
gcsafe, locks: 0
.}
proc getDefaultTextureParam*(self: Shader; param: string): Texture {.
gcsafe, locks: 0
.}
proc hasParam*(self: Shader; name: string): bool {.
gcsafe, locks: 0
.}