CCRenderTexture
CCRenderTexture
Cocos2DInheritance: System.Object → Cocos2D.CCNode
Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}
Constructors
CCRenderTexture()
CCRenderTexture()()
CCRenderTexture(int, int)
CCRenderTexture(int, int)(System.Int32 w, System.Int32 h)
Parameters:
w
(System.Int32)h
(System.Int32)CCRenderTexture(int, int, SurfaceFormat)
CCRenderTexture(int, int, SurfaceFormat)(System.Int32 w, System.Int32 h, Microsoft.Xna.Framework.Graphics.SurfaceFormat format)
Parameters:
w
(System.Int32)h
(System.Int32)format
(Microsoft.Xna.Framework.Graphics.SurfaceFormat)CCRenderTexture(int, int, SurfaceFormat, DepthFormat, RenderTargetUsage)
CCRenderTexture(int, int, SurfaceFormat, DepthFormat, RenderTargetUsage)(System.Int32 w, System.Int32 h, Microsoft.Xna.Framework.Graphics.SurfaceFormat format, Microsoft.Xna.Framework.Graphics.DepthFormat depthFormat, Microsoft.Xna.Framework.Graphics.RenderTargetUsage usage)
Parameters:
w
(System.Int32)h
(System.Int32)format
(Microsoft.Xna.Framework.Graphics.SurfaceFormat)depthFormat
(Microsoft.Xna.Framework.Graphics.DepthFormat)usage
(Microsoft.Xna.Framework.Graphics.RenderTargetUsage)Fields
m_ePixelFormat(Microsoft.Xna.Framework.Graphics.SurfaceFormat)
m_pSprite(Cocos2D.CCSprite)
m_pTexture(Cocos2D.CCTexture2D)
Properties
Sprite(Cocos2D.CCSprite)
Methods
Begin()
Begin()()
BeginWithClear(float, float, float, float)
BeginWithClear(float, float, float, float)(System.Single r, System.Single g, System.Single b, System.Single a)
Parameters:
r
(System.Single)g
(System.Single)b
(System.Single)a
(System.Single)BeginWithClear(float, float, float, float, float)
BeginWithClear(float, float, float, float, float)(System.Single r, System.Single g, System.Single b, System.Single a, System.Single depthValue)
Parameters:
r
(System.Single)g
(System.Single)b
(System.Single)a
(System.Single)depthValue
(System.Single)BeginWithClear(float, float, float, float, float, int)
BeginWithClear(float, float, float, float, float, int)(System.Single r, System.Single g, System.Single b, System.Single a, System.Single depthValue, System.Int32 stencilValue)
Parameters:
r
(System.Single)g
(System.Single)b
(System.Single)a
(System.Single)depthValue
(System.Single)stencilValue
(System.Int32)Clear(float, float, float, float)
Clear(float, float, float, float)(System.Single r, System.Single g, System.Single b, System.Single a)
Parameters:
r
(System.Single)g
(System.Single)b
(System.Single)a
(System.Single)ClearDepth(float)
ClearDepth(float)(System.Single depthValue)
Parameters:
depthValue
(System.Single)ClearStencil(int)
ClearStencil(int)(System.Int32 stencilValue)
Parameters:
stencilValue
(System.Int32)End()
End()()
InitWithWidthAndHeight(int, int, SurfaceFormat, DepthFormat, RenderTargetUsage)
System.Boolean InitWithWidthAndHeight(int, int, SurfaceFormat, DepthFormat, RenderTargetUsage)(System.Int32 w, System.Int32 h, Microsoft.Xna.Framework.Graphics.SurfaceFormat colorFormat, Microsoft.Xna.Framework.Graphics.DepthFormat depthFormat, Microsoft.Xna.Framework.Graphics.RenderTargetUsage usage)
Parameters:
w
(System.Int32)h
(System.Int32)colorFormat
(Microsoft.Xna.Framework.Graphics.SurfaceFormat)depthFormat
(Microsoft.Xna.Framework.Graphics.DepthFormat)usage
(Microsoft.Xna.Framework.Graphics.RenderTargetUsage)Returns:
System.Boolean
SaveToStream(Stream, CCImageFormat)
System.Boolean SaveToStream(Stream, CCImageFormat)(System.IO.Stream stream, Cocos2D.CCImageFormat format)
Parameters:
stream
(System.IO.Stream)format
(Cocos2D.CCImageFormat)Returns:
System.Boolean