1 #ifndef B_I_SHADER_DATA_H
2 #define B_I_SHADER_DATA_H
54 virtual bool isValid()
const = 0;
virtual bool supportsVariableNumberOfLights() const =0
Returns true if the number of lights is variable in the shader.
virtual bool supportsAmbientLighting() const =0
Returns true if the shader supports ambient lighting.
virtual bool supportsDiffuseLighting() const =0
Returns true if the shader supports diffuse lighting.
virtual bool isValid() const =0
Returns true if the shader is valid.
virtual GLuint getMaxLights() const =0
Get the maximum number of lights.
virtual bool supportsCubicReflectionMap() const =0
Returns true if the shader supports a cubic reflection map.
An interface for the underlying data of a shader.
Definition: IShaderData.h:10
virtual std::string getFragShaderSrc() const =0
Gets the source code of the fragment shader as a string.
virtual bool supportsSpecularLighting() const =0
Returns true if the shader supports specular lighting.
virtual std::string getVertShaderSrc() const =0
Gets the source code of the vertex shader as a string.
virtual ~IShaderData()
Virtual destructor.
Definition: IShaderData.h:18