SCDebug

Inherits From:
NSObject

Declared In:
Sc21/SCDebug.h

Class Description

Collection of useful debugging methods.


Method Types

Information about the OpenGL subsystem
+ descriptionForRendererID:
+ openGLInfo
Saving a scenegraph to disk
+ dumpSceneGraph:


Class Methods

descriptionForRendererID:

+ (NSString *)descriptionForRendererID:(int)rendererID

Returns a human-readable description of the renderer rendererID.


dumpSceneGraph:

+ (BOOL)dumpSceneGraph:(SoNode *)scenegraph

Writes the given scenegraph to a file. The file will be stored in the current working directory. The filename will be XXX-dump.iv, where XXX is a number calculated based on the current time. Returns NO if there was an error writing the file, YES otherwise.


openGLInfo

+ (NSString *)openGLInfo

Returns a string describing the OpenGL capabilities of the current OpenGL context.


Sc21 version 1.0 © 2003-2004 Systems in Motion AS.