Inherits from CC3VertexArray : CC3Identifiable : NSObject
Declared in CC3VertexArrays.h

Overview

A CC3VertexArray that manages the point sizes aspect of an array of point sprite vertices.

Instance Methods

pointSizeAt:

Returns the point size element at the specified index in the underlying vertex content.

- (GLfloat)pointSizeAt:(GLuint)index

Discussion

The index refers to vertices, not bytes. The implementation takes into consideration the vertexStride and elementOffset properties to access the correct element.

If the releaseRedundantContent method has been invoked and the underlying vertex content has been released, this method will raise an assertion exception.

Declared In

CC3VertexArrays.h

setPointSize:at:

Sets the point size element at the specified index in the underlying vertex content, to the specified location value.

- (void)setPointSize:(GLfloat)aSize at:(GLuint)index

Discussion

The index refers to vertices, not bytes. The implementation takes into consideration the vertexStride and elementOffset properties to access the correct element.

If the releaseRedundantContent method has been invoked and the underlying vertex content has been released, this method will raise an assertion exception.

Declared In

CC3VertexArrays.h