Open asakeron opened 11 years ago
There is need to support every WebGL feature, it doesn't mean that every javascript function will be literally translated, though.
When possible, ClojureScript features will be used to for supporting a more idiomatic API. Specifically:
Below follows a complete list of WebGL functions as in WebGL Specification Version 1.0.2:
get-canvas
get-drawing-buffer-width
get-drawing-buffer-height
get-context-attributes
is-context-lost?
get-supported-extensions
get-extension
create-shader
create-program
get-attached-shaders
get-shader-parameter
get-shader-precision-format
get-shader-info-log
get-shader-source
is-shader?
get-attrib-location
get-uniform-location
draw!
create-buffer
There is need to support every WebGL feature, it doesn't mean that every javascript function will be literally translated, though.
When possible, ClojureScript features will be used to for supporting a more idiomatic API. Specifically:
Below follows a complete list of WebGL functions as in WebGL Specification Version 1.0.2:
Context related:
get-canvas
;get-drawing-buffer-width
;get-drawing-buffer-height
;get-context-attributes
;is-context-lost?
;get-supported-extensions
;get-extension
The returned objects are not yet wraped in ClojureScript constructs.;create-shader
;Shader related:
create-program
_;create-shader
**;create-shader
;get-attached-shaders
;get-shader-parameter
;get-shader-precision-format
;get-shader-info-log
;get-shader-source
;create-program
;is-shader?
;create-program
;get-attrib-location
;get-uniform-location
;draw!
receive a program parameter. **;VBO Related:
create-buffer
;Texture related:
Uncategorized: