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

183 lines
4.9 KiB
Lua

--------------------------------
-- @module GLProgram
-- @extend Ref
--------------------------------
-- @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] setUniformLocationWithMatrix4fv
-- @param self
-- @param #int int
-- @param #float float
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] initWithFilenames
-- @param self
-- @param #string str
-- @param #string str
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLProgram] getUniformLocationForName
-- @param self
-- @param #char char
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLProgram] use
-- @param self
--------------------------------
-- @function [parent=#GLProgram] getVertexShaderLog
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#GLProgram] getUniform
-- @param self
-- @param #string str
-- @return Uniform#Uniform ret (return value: cc.Uniform)
--------------------------------
-- overload function: setUniformsForBuiltins(cc.Mat4)
--
-- overload function: setUniformsForBuiltins()
--
-- @function [parent=#GLProgram] setUniformsForBuiltins
-- @param self
-- @param #cc.Mat4 mat4
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith3i
-- @param self
-- @param #int int
-- @param #int int
-- @param #int int
-- @param #int int
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith3iv
-- @param self
-- @param #int int
-- @param #int int
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] updateUniforms
-- @param self
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith4iv
-- @param self
-- @param #int int
-- @param #int int
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] getUniformLocation
-- @param self
-- @param #string str
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith1i
-- @param self
-- @param #int int
-- @param #int int
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith2iv
-- @param self
-- @param #int int
-- @param #int int
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWithMatrix3fv
-- @param self
-- @param #int int
-- @param #float float
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] reset
-- @param self
--------------------------------
-- @function [parent=#GLProgram] bindAttribLocation
-- @param self
-- @param #string str
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] getAttribLocation
-- @param self
-- @param #string str
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLProgram] getVertexAttrib
-- @param self
-- @param #string str
-- @return VertexAttrib#VertexAttrib ret (return value: cc.VertexAttrib)
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWithMatrix2fv
-- @param self
-- @param #int int
-- @param #float float
-- @param #unsigned int int
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith4i
-- @param self
-- @param #int int
-- @param #int int
-- @param #int int
-- @param #int int
-- @param #int int
--------------------------------
-- @function [parent=#GLProgram] link
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith2i
-- @param self
-- @param #int int
-- @param #int int
-- @param #int int
--------------------------------
-- @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)
--------------------------------
-- @function [parent=#GLProgram] GLProgram
-- @param self
return nil