Go to the source code of this file.
◆ anonymous enum
◆ ArrayOfExtensions()
static NSArray * ArrayOfExtensions |
( |
NSString * | extensionString | ) |
|
|
static |
Definition at line 181 of file OOOpenGLExtensionManager.m.
182{
183 NSArray *components = [extensionString componentsSeparatedByString:@" "];
184 NSMutableArray *result = [NSMutableArray arrayWithCapacity:[components
count]];
185 NSEnumerator *extEnum =
nil;
186 NSString *extStr =
nil;
187 for (extEnum = [components objectEnumerator]; (extStr = [extEnum nextObject]); )
188 {
189 if ([extStr length] > 0) [result addObject:extStr];
190 }
191 return result;
192}
References nil.
◆ IntegerFromString()
static unsigned IntegerFromString |
( |
const GLubyte ** | ioString | ) |
|
|
static |
Definition at line 529 of file OOOpenGLExtensionManager.m.
530{
532
533 unsigned result = 0;
534 const GLubyte *curr = *ioString;
535
536 while ('0' <= *curr && *curr <= '9')
537 {
538 result = result * 10 + *curr++ - '0';
539 }
540
541 *ioString = curr;
542 return result;
543}
◆ kOOLogOpenGLShaderSupport
NSString* const kOOLogOpenGLShaderSupport = @"rendering.opengl.shader.support" |
|
static |
◆ sSingleton