2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module RenderTexture
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
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=#RenderTexture] setVirtualViewport
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #rect_table rect
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] clearStencil
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] getClearDepth
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] getClearStencil
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] end
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setClearStencil
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] getSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] isAutoDraw
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setKeepMatrix
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setClearFlags
|
|
|
|
-- @param self
|
|
|
|
-- @param #unsigned int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] begin
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @overload self, string, int, bool, function
|
|
|
|
-- @overload self, string, bool, function
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RenderTexture] saveToFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int format
|
2014-06-16 10:49:38 +08:00
|
|
|
-- @param #bool bool
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #function func
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return bool#bool ret (retunr value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setAutoDraw
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setClearColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color4f_table color4f
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] endToLua
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, float, float, float, float, float
|
|
|
|
-- @overload self, float, float, float, float
|
|
|
|
-- @overload self, float, float, float, float, float, int
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RenderTexture] beginWithClear
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] clearDepth
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] getClearColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color4f_table#color4f_table ret (return value: color4f_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] clear
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] getClearFlags
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned int#unsigned int ret (return value: unsigned int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] newImage
|
|
|
|
-- @param self
|
|
|
|
-- @return Image#Image ret (return value: cc.Image)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] setClearDepth
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @overload self, int, int, int, unsigned int
|
|
|
|
-- @overload self, int, int, int
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RenderTexture] initWithWidthAndHeight
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int pixelformat
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #unsigned int int
|
|
|
|
-- @return bool#bool ret (retunr value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @overload self, int, int, int
|
|
|
|
-- @overload self, int, int, int, unsigned int
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, int, int
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RenderTexture] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int pixelformat
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #unsigned int int
|
|
|
|
-- @return RenderTexture#RenderTexture ret (retunr value: cc.RenderTexture)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] draw
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-06-05 11:01:43 +08:00
|
|
|
-- @param #unsigned int int
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-05-23 11:12:39 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] visit
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #mat4_table mat4
|
2014-06-05 11:01:43 +08:00
|
|
|
-- @param #unsigned int int
|
2014-05-23 11:12:39 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#RenderTexture] RenderTexture
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|