CCVertexBuffer<T>
CCVertexBuffer
Cocos2DInheritance: System.Object → Cocos2D.CCGraphicsResource
Implements: System.IDisposable
Constructors
CCVertexBuffer(int, BufferUsage)
CCVertexBuffer(int, BufferUsage)(System.Int32 vertexCount, Microsoft.Xna.Framework.Graphics.BufferUsage usage)Parameters:
vertexCount (System.Int32)usage (Microsoft.Xna.Framework.Graphics.BufferUsage)Fields
_data(Cocos2D.CCRawListT)
_usage(Microsoft.Xna.Framework.Graphics.BufferUsage)
_vertexBuffer(Microsoft.Xna.Framework.Graphics.VertexBuffer)
Properties
Capacity(System.Int32)
Count(System.Int32)
Data(Cocos2D.CCRawListT)
Methods
Reinit()
Reinit()()Example
UpdateBuffer()
UpdateBuffer()()UpdateBuffer(int, int)
UpdateBuffer(int, int)(System.Int32 startIndex, System.Int32 elementCount)Parameters:
startIndex (System.Int32)elementCount (System.Int32)