CCQuadVertexBuffer
CCQuadVertexBuffer
Cocos2DInheritance: System.Object → Cocos2D.CCGraphicsResource → Cocos2D.CCVertexBuffer{Cocos2D.CCV3F_C4B_T2F_Quad}
Implements: System.IDisposable
Constructors
CCQuadVertexBuffer(int, BufferUsage)
CCQuadVertexBuffer(int, BufferUsage)(System.Int32 vertexCount, Microsoft.Xna.Framework.Graphics.BufferUsage usage)
Parameters:
vertexCount
(System.Int32)usage
(Microsoft.Xna.Framework.Graphics.BufferUsage)Methods
Dispose()
Dispose()()
Example
Reinit()
Reinit()()
Example
UpdateBuffer(CCRawList, int, int)
UpdateBuffer(CCRawList, int, int)(Cocos2D.CCRawListCocos2D.CCV3F_C4B_T2F_Quad data, System.Int32 startIndex, System.Int32 elementCount)
Parameters:
data
(Cocos2D.CCRawListCocos2D.CCV3F_C4B_T2F_Quad)startIndex
(System.Int32)elementCount
(System.Int32)UpdateBuffer(int, int)
UpdateBuffer(int, int)(System.Int32 startIndex, System.Int32 elementCount)
Parameters:
startIndex
(System.Int32)elementCount
(System.Int32)Example