Skip to main content

CCIndexBuffer<T>

CCIndexBuffer

Cocos2D

Inheritance: System.Object → Cocos2D.CCGraphicsResource

Implements: System.IDisposable

Constructors

CCIndexBuffer(int, BufferUsage)

CCIndexBuffer(int, BufferUsage)(System.Int32 indexCount, Microsoft.Xna.Framework.Graphics.BufferUsage usage)
Parameters:
indexCount (System.Int32)
usage (Microsoft.Xna.Framework.Graphics.BufferUsage)

Properties

Capacity(System.Int32)
Count(System.Int32)
Data(Cocos2D.CCRawListT)

Methods

Dispose()

Dispose()()
Example

Reinit()

Reinit()()
Example

UpdateBuffer()

UpdateBuffer()()

UpdateBuffer(int, int)

UpdateBuffer(int, int)(System.Int32 startIndex, System.Int32 elementCount)
Parameters:
startIndex (System.Int32)
elementCount (System.Int32)