| 
    SilverLining
    
   | 
 
Shared header for the specific renderer DLL's, and for use by the Renderer class of the engine. More...
#include "MemAlloc.h"#include "SilverLiningTypes.h"#include "Color.h"#include "Frustum.h"#include "Matrix4.h"#include "Vertex.h"#include "ResourceLoader.h"#include "Buffer.h"#include "BufferProperties.h"#include <vector>
Functions | |
| SILVERLININGDLL_API void | SetUserDefinedVertString (const char *userDefinedString) | 
| Sets a user defined string to be prepended to all vertex shaders.  | |
| SILVERLININGDLL_API void | SetUserDefinedFragString (const char *userDefinedString) | 
| Sets a user defined string to be prepended to all fragment shaders.  | |
| SILVERLININGDLL_API const char * | GetUserDefinedVertString () | 
| Retrieves the user defined vertex string previously set with SetUserDefinedVertString.  | |
| SILVERLININGDLL_API const char * | GetUserDefinedFragString () | 
| Retrieves the user defined fragment string previously set with SetUserDefinedFragString.  | |
| SILVERLININGDLL_API int | GetConstantLocation (SilverLining::ShaderHandle shader, const char *varName) | 
| OpenGL32, OpenGL only: Get the constant location of a uniform or an offset into a UBO for that uniform.   | |
| SILVERLININGDLL_API void | SetConstantVector4AtLocation (SilverLining::ShaderHandle shader, int loc, const float *data, void *_context) | 
| OpenGL32, OpenGL only: Set a constant vec4 at a given location/offset into UBO in the shader.  | |
| SILVERLININGDLL_API void | SetConstantMatrix4AtLocation (SilverLining::ShaderHandle shader, int loc, float *data, void *_context) | 
| OpenGL32, OpenGL only: Set a constant mat4 at a given location/offset into UBO in the shader.  | |
Shared header for the specific renderer DLL's, and for use by the Renderer class of the engine.
| SILVERLININGDLL_API int GetConstantLocation | ( | SilverLining::ShaderHandle | shader, | 
| const char * | varName ) | 
OpenGL32, OpenGL only: Get the constant location of a uniform or an offset into a UBO for that uniform.