GLProgram: define initialize in ruby, allow attaching shaders

This commit is contained in:
josh committed 2014-07-22 18:59:01 -04:00
1 parent bd188f9e83
commit 6a22ae4ad4
3 files changed
+26 -13

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
class GLProgram
# @overload initialize(*shaders, options = {})
#
# @param shaders [Array<GLShader>] Shaders to attach to the program.
# @param options [Hash] Optional parameters.
def initialize(*args)
end
end
+1
View File
@@ -4,6 +4,7 @@ end
def load_lib_files
require "runtime"
require "gl_program"
end
def main(argv)