Public Member Functions

CC3VertexPointSizes Class Reference

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

#import <CC3VertexArrays.h>

Inheritance diagram for CC3VertexPointSizes:
Inheritance graph
[legend]
Collaboration diagram for CC3VertexPointSizes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(GLfloat) - pointSizeAt:
(void) - setPointSize:at:

Detailed Description

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


Member Function Documentation

- (GLfloat) pointSizeAt: (GLsizei)  index

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

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

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

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

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

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

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


The documentation for this class was generated from the following file: