2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module GLProgram
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] getFragmentShaderLog
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] initWithByteArrays
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #char char
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] initWithFilenames
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] use
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] getVertexShaderLog
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, mat4_table
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#GLProgram] setUniformsForBuiltins
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] updateUniforms
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] setUniformLocationWith1i
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] reset
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] bindAttribLocation
|
|
|
|
-- @param self
|
2014-05-10 11:47:56 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #unsigned int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] getAttribLocation
|
|
|
|
-- @param self
|
2014-05-10 11:47:56 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] link
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-05-10 11:47:56 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] createWithByteArrays
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #char char
|
|
|
|
-- @return GLProgram#GLProgram ret (return value: cc.GLProgram)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] createWithFilenames
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return GLProgram#GLProgram ret (return value: cc.GLProgram)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GLProgram] GLProgram
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|