NSValue(CCRenderer) Category Reference

Declared in NSValue+CCRenderer.h

Overview

NSValue category to easily create NSValue from GLKit structs. Mainly used internally by CCRenderer and CCEffect classes.

+ valueWithGLKVector2:

Create an NSValue wrapping a GLKVector2.

+ (NSValue *)valueWithGLKVector2:(GLKVector2)vector

Parameters

vector

The input vector

Declared In

NSValue+CCRenderer.h

+ valueWithGLKVector3:

Create an NSValue wrapping a GLKVector3.

+ (NSValue *)valueWithGLKVector3:(GLKVector3)vector

Parameters

vector

The input vector

Declared In

NSValue+CCRenderer.h

+ valueWithGLKVector4:

Create an NSValue wrapping a GLKVector4.

+ (NSValue *)valueWithGLKVector4:(GLKVector4)vector

Parameters

vector

The input vector

Declared In

NSValue+CCRenderer.h

+ valueWithGLKMatrix4:

Create an NSValue wrapping a GLKMatrix4.

+ (NSValue *)valueWithGLKMatrix4:(GLKMatrix4)matrix

Parameters

matrix

The input matrix

Declared In

NSValue+CCRenderer.h