Go to the source code of this file.
◆ anonymous enum
◆ ArrayOfExtensions()
static NSArray * ArrayOfExtensions |
( |
NSString * | extensionString | ) |
|
|
static |
Definition at line 180 of file OOOpenGLExtensionManager.m.
181{
182 NSArray *components = [extensionString componentsSeparatedByString:@" "];
183 NSMutableArray *result = [NSMutableArray arrayWithCapacity:[components
count]];
184 NSEnumerator *extEnum =
nil;
185 NSString *extStr =
nil;
186 for (extEnum = [components objectEnumerator]; (extStr = [extEnum nextObject]); )
187 {
188 if ([extStr length] > 0) [result addObject:extStr];
189 }
190 return result;
191}
References nil.
◆ IntegerFromString()
static unsigned IntegerFromString |
( |
const GLubyte ** | ioString | ) |
|
|
static |
Definition at line 518 of file OOOpenGLExtensionManager.m.
519{
521
522 unsigned result = 0;
523 const GLubyte *curr = *ioString;
524
525 while ('0' <= *curr && *curr <= '9')
526 {
527 result = result * 10 + *curr++ - '0';
528 }
529
530 *ioString = curr;
531 return result;
532}
◆ kOOLogOpenGLShaderSupport
NSString* const kOOLogOpenGLShaderSupport = @"rendering.opengl.shader.support" |
|
static |
◆ sSingleton