Inherits from CC3ShaderSourceCodeVisitor : NSObject
Declared in CC3Shaders.h

Overview

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.

Properties

sourceCompilationStringCount

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

@property (nonatomic, readonly) GLuint sourceCompilationStringCount

Declared In

CC3Shaders.h

Instance Methods

addSourceCompilationStringCount:

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.

- (void)addSourceCompilationStringCount:(GLuint)sourceStringCount

Declared In

CC3Shaders.h