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, raises: [], tags: []
.}
proc code=(self: Shader; val: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMode(self: Shader): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setDefaultTextureParam(self: Shader; param: string; texture: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDefaultTextureParam(self: Shader; param: string): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc hasParam(self: Shader; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}