v2.0.2
Instance Methods | Class Methods | Properties | List of all members
CC3ShaderSourceCodeCompilationStringVisitor Class Reference

#import <CC3Shaders.h>

Inheritance diagram for CC3ShaderSourceCodeCompilationStringVisitor:
Inheritance graph
[legend]

Instance Methods

(void) - addSourceCompilationString:
 
(id) - initWithCompilationStrings:
 
- Instance Methods inherited from CC3ShaderSourceCodeCompilationStringCountVisitor
(void) - addSourceCompilationStringCount:
 
- Instance Methods inherited from CC3ShaderSourceCodeVisitor
(BOOL) - hasAlreadyVisited:
 

Class Methods

(id) + visitorWithCompilationStrings:
 

Properties

const GLchar ** sourceCompilationStrings
 
- Properties inherited from CC3ShaderSourceCodeCompilationStringCountVisitor
GLuint sourceCompilationStringCount
 

Detailed Description

Visits an assembly of nested CC3ShaderSourceCode instances to populate an array of source code strings to be submitted to the compiler, in order to compile the source code contained within the assembly of CC3ShaderSourceCode instances.

The source code strings are accumulated in the sourceCompilationStrings array property, and the number of strings added to that array is contained within the sourceCompilationStringCount superclass property.

Method Documentation

- (void) addSourceCompilationString: (const GLchar *)  sourceCompilationString

Adds the specified source code string to the array in the sourceCompilationStrings property, and increments the value of the sourceCompilationStringCount property.

- (id) initWithCompilationStrings: (const GLchar **)  sourceCompilationStrings

Initializes this instance to populate the specified compilation strings.

+ (id) visitorWithCompilationStrings: (const GLchar **)  sourceCompilationStrings

Allocates and initializes an instance that populates the specified compilation strings.

Property Documentation

- (const GLchar**) sourceCompilationStrings
readnonatomicassign

Returns the pointer to the array of source code strings that is populated by this visitor.


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