Declared in CC3OSExtensions.h

Overview

Extension category to support Cocos3D functionality.

Class Methods

cocos3dResourcesBundle

Returns the bundle containing the resources for the Cocos3D static library, including the default GLSL shader code files.

+ (NSBundle *)cocos3dResourcesBundle

Discussion

The location of this bundle is specified by the class-side cocos3dResourceBundlePath property.

Declared In

CC3OSExtensions.h

cocos3dResourcesBundlePath

Returns a string representing the path to the Cocos3D resource bundle, relative to the main application bundle resources directory.

+ (NSString *)cocos3dResourcesBundlePath

Discussion

The initial value of this property is @“Cocos3DResources.bundle”.

Declared In

CC3OSExtensions.h

setCocos3dResourcesBundlePath:

Sets a string representing the path to the Cocos3D resource bundle, relative to the main application bundle resources directory.

+ (void)setCocos3dResourcesBundlePath:(NSString *)bundlePath

Discussion

The initial value of this property is @“Cocos3DResources.bundle”.

Declared In

CC3OSExtensions.h