Inherits from CC3ShaderSourceCode : CC3Identifiable : NSObject
Declared in CC3Shaders.h

Overview

A member of the CC3ShaderSourceCode class cluster that contains instances of CC3ShaderSource class-cluster subclasses, assembled into a source code tree. When source code is organized into files that contain references to other files using #import or #include statements, an instance of this class will contain instances of CC3ShaderSource class-cluster subclasses that each contain the source code for a segment of a file before, between, or after #import or #include statements, and other instances of CC3ShaderSource class-cluster subclasses that contain the source code of the imported files, all assembled into a nested structure.

Typically, within the nested structure of CC3ShaderSource subclass instances, an instance of this class represents a single source code file, either stand-alone, or imported by another file.

Instance Methods

addSubsection:

Adds the specified subsection of source code to the source code tree. Depending on the class of the specified source code, it may contain a section of code before, between, or after an #import directive, or it may contain the source code from the file identified by an #import or #include directive.

- (void)addSubsection:(CC3ShaderSourceCode *)shSrcCode

Declared In

CC3Shaders.h