v2.0.2
Class Methods | List of all members
NSBundle(CC3) Category Reference

#import <CC3OSExtensions.h>

Class Methods

(NSBundle *) + cocos3dResourcesBundle
 
(NSString *) + cocos3dResourcesBundlePath
 
(void) + setCocos3dResourcesBundlePath:
 

Detailed Description

Extension category to support Cocos3D functionality.

Method Documentation

+ (NSBundle*) cocos3dResourcesBundle

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

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

+ (NSString*) cocos3dResourcesBundlePath

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

The initial value of this property is "Cocos3DResources.bundle".

+ (void) setCocos3dResourcesBundlePath: (NSString *)  bundlePath

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

The initial value of this property is "Cocos3DResources.bundle".


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