Inherits from NSObject
Declared in CC3Shaders.h

Overview

This is an abstract parent of a class hierarchy that is used to visit a source code tree, in order to retrieve information about the source code tree.

A new instance should be created for each visitation run, in order to ensure the visitor state is initialized correctly at the beginning of each visitation run.

Class Methods

visitor

Allocates and initializes an instance.

+ (id)visitor

Declared In

CC3Shaders.h

Instance Methods

hasAlreadyVisited:

Tests whether the specified CC3ShaderSourceCode class-cluster instance has already been traversed by this visitor, and remembers and returns the result.

- (BOOL)hasAlreadyVisited:(CC3ShaderSourceCode *)srcCode

Declared In

CC3Shaders.h