axmol/cocos/scripting/lua-bindings/auto/api/GLProgram.lua

93 lines
2.5 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module GLProgram
-- @extend Ref
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)
--------------------------------
-- overload function: setUniformsForBuiltins(mat4_table)
2014-03-10 14:04:58 +08:00
--
-- overload function: setUniformsForBuiltins()
--
-- @function [parent=#GLProgram] setUniformsForBuiltins
-- @param self
-- @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
-- @param #string str
2014-03-10 14:04:58 +08:00
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] getAttribLocation
-- @param self
-- @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)
--------------------------------
-- @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