GLProgram: define initialize in ruby, allow attaching shaders
This commit is contained in:
1 parent
bd188f9e83
commit
6a22ae4ad4
3 files changed
+26
-13
No files matched your search
@@ -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
|
||||
@@ -4,6 +4,7 @@ end
|
||||
|
||||
def load_lib_files
|
||||
require "runtime"
|
||||
require "gl_program"
|
||||
end
|
||||
|
||||
def main(argv)
|
||||
|
||||
Reference in new issue
Block a user