diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-11-15 07:06:24 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-11-15 07:19:22 -0500 |
commit | 8f48026c7f3c441711a2f13a7b4d2518ca80f66b (patch) | |
tree | 990c852c2e1d99a98c1bc2e124b7886ad9df8178 /doc | |
parent | 9ff05910ecdaceed3b36aa29c75f99637a439cd0 (diff) |
render: shader: Rename <shader-program> to <shader>.
* sly/render.scm
* sly/render/model.scm (null-model): Use 'null-shader'.
* sly/render/shader.scm (<shader-stage>): Rename to <shader>.
(<shader-program>): Rename to <shader>.
(vertex-shader?, fragment-shader?): Rename to...
(vertex-shader-stage?, fragment-shader-stage?): ...these.
(shader-stage-guardian): New variable.
(%shader-compiled?, shader-compiled?): Rename to...
(%shader-stage-compiled?, shader-stage-compiled?): ...these.
(display-compilation-error): Change 'shader' to 'stage'.
(compile-shader, set-shader-source, make-shader, make-vertex-shader)
(make-fragment-shader, load-shader, load-vertex-shader,
load-fragment-shader): Rename to...
(compile-shader-stage, set-shader-stage-source, make-shader-stage)
(make-vertex-shader-stage, make-fragment-shader-stage)
(load-shader-stage, load-vertex-shader-stage)
(load-fragment-shader-stage): ...these.
(shader-program-uniform-location, shader-program-linked?)
(make-shader-program, load-shader-program, null-shader-program)
(apply-shader-program): Rename to...
(shader-uniform-location, shader-linked?, make-shader, load-shader)
(null-shader, apply-shader): ...these.
(with-shader): Delete.
(uniform-set!): Change 'shader-program' argument to 'shader'.
(%default-shader): Use 'load-shader'.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions