![]() |
scg3
0.6
|
Internal definitions required by most classes. More...
Go to the source code of this file.
Classes | |
struct | scg::OGLAttrib |
Attribute name and location. More... | |
struct | scg::OGLFragData |
Fragment data name and location. More... | |
struct | scg::OGLUniformBlock |
Uniform block name and index. More... | |
struct | scg::OGLSampler |
Sampler name and texture unit. More... | |
class | scg::OGLConstants |
OpenGL attribute names and locations, uniform names, etc., to be used by ShaderCore, ShaderCoreFactory, and GeometryCore. More... | |
Namespaces | |
scg | |
Macros | |
#define | SCG_DECLARE_CLASS(TypeName) |
#define | CameraTransformation Error_scg3_CameraTransformation_is_obsolete_Use_Camera_instead |
#define | SCG_DISALLOW_COPY_AND_ASSIGN(TypeName) |
#define | SCG_SAVE_AND_SWITCH_PROGRAM(_program, _programOld) |
#define | SCG_RESTORE_PROGRAM(_program, _programOld) |
Internal definitions required by most classes.
Definition in file scg_internals.h.
#define CameraTransformation Error_scg3_CameraTransformation_is_obsolete_Use_Camera_instead |
Macros causing compiler errors for obsolete classes and functions.
Definition at line 187 of file scg_internals.h.
#define SCG_DECLARE_CLASS | ( | TypeName | ) |
Forward declaration of classes with shared and unique pointers.
Class
ClassSP - shared_pointer<Class>
classUP - unique_pointer<Class>
Definition at line 140 of file scg_internals.h.
#define SCG_DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
A macro to disallow the copy constructor and operator= functions. This should be used in the private: declarations for a class. Source: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
Definition at line 195 of file scg_internals.h.
#define SCG_RESTORE_PROGRAM | ( | _program, | |
_programOld | |||
) |
A macro to restore a shader program saved in _programOld; to be used in combination with macro SCG_SAVE_AND_SWITCH_PROGRAM().
Definition at line 217 of file scg_internals.h.
#define SCG_SAVE_AND_SWITCH_PROGRAM | ( | _program, | |
_programOld | |||
) |
A macro to save the current shader program in _programOld and switch to a new shader program _program, e.g., to set values of uniform variables; to be used in combination with macro SCG_RESTORE_PROGRAM().
Definition at line 205 of file scg_internals.h.