Description
Source
Call Graph
ShaderObject::getFileContents
( Protected Method )
Author: Don Olmstead
Loads a text file and returns its contents as a char*


Syntax / parameters
char * getFileContents(const char *fileName) |
Name |
Type |
Default |
Description |
fileName |
const char *
|
|
The name of the file
|
|
Return value |
char *
|
|
A char* containing the contents of the file
|
Description
Loads a text file and returns its contents as a char*
GLSL requires the contents of the file in order to compile it. This function provides that functionality.
Source
The documentation for this Member was generated from the following files: