PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
Go to the source code of this file.
Functions | |
CPT (Shader) ShaderPool | |
Loads the given filename up into a shader, if it has not already been loaded, and returns the new shader. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file shaderPool.I.
|
inline |
Loads the given filename up into a shader, if it has not already been loaded, and returns the new shader.
If a shader with the same filename was previously loaded, returns that one instead. If the shader file cannot be found, returns NULL.
Definition at line 39 of file shaderPool.I.