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

#import <CC3Shaders.h>

Inheritance diagram for CC3ShaderSourceCodeCompilationStringCountVisitor:
Inheritance graph
[legend]

Instance Methods

(void) - addSourceCompilationStringCount:
 
- Instance Methods inherited from CC3ShaderSourceCodeVisitor
(BOOL) - hasAlreadyVisited:
 

Properties

GLuint sourceCompilationStringCount
 

Additional Inherited Members

- Class Methods inherited from CC3ShaderSourceCodeVisitor
(id) + visitor
 

Detailed Description

Visits an assembly of nested CC3ShaderSourceCode instances to determine the number of source code strings that will be submitted to the compiler, in order to compile the source code contained within the assembly of CC3ShaderSourceCode instances.

Method Documentation

- (void) addSourceCompilationStringCount: (GLuint)  sourceStringCount

Invoked by each CC3ShaderSourceCode instances that contains source code, to indicate the number source code strings are contained within that instance.

This visitor accumulates the total of all values submitted by invocations of this method, and makes that total accessible via the sourceCompilationStringCount property.

Property Documentation

- (GLuint) sourceCompilationStringCount
readnonatomicassign

Returns the total number of source code strings that will be submitted to the compiler.


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