9 #ifndef RAMSES_EFFECTDESCRIPTION_H
10 #define RAMSES_EFFECTDESCRIPTION_H
134 class EffectDescriptionImpl&
impl;
140 friend class RamsesClientImpl;
#define RAMSES_API
Definition: APIExport.h:35
An effect description holds all necessary information for an effect to be created.
Definition: EffectDescription.h:21
class EffectDescriptionImpl & impl
Stores internal data for implementation specifics of EffectDescription.
Definition: EffectDescription.h:134
status_t setGeometryShaderFromFile(const char *shaderSourceFileName)
Reads and sets geometry shader source from file.
const char * getGeometryShader() const
Gets geometry shader code that is currently set.
EffectDescription()
Constructor of EffectDescription.
status_t setVertexShader(const char *shaderSource)
Sets vertex shader source from string.
uint32_t getNumberOfCompilerDefines() const
Gets number of compiler defines.
const char * getFragmentShader() const
Gets fragment shader code that is currently set.
status_t setFragmentShader(const char *shaderSource)
Sets fragment shader source from string.
status_t setAttributeSemantic(const char *inputName, EEffectAttributeSemantic semanticType)
Sets an attribute semantic. Used to mark attributes as special inputs (eg. text specific inputs)....
status_t setVertexShaderFromFile(const char *shaderSourceFileName)
Reads and sets vertex shader source from file.
status_t setUniformSemantic(const char *inputName, EEffectUniformSemantic semanticType)
Sets an uniform semantic. Used for uniforms which are not locally available on the client,...
status_t setGeometryShader(const char *shaderSource)
Sets geometry shader source from string.
const char * getCompilerDefine(uint32_t index) const
Gets compiler define.
status_t addCompilerDefine(const char *define)
Adds a compiler define. The define string will be injected as defined into the final shader code.
const char * getVertexShader() const
Gets vertex shader code.
status_t setFragmentShaderFromFile(const char *shaderSourceFileName)
Reads and sets fragment shader source from file.
The StatusObject provides status message handling.
Definition: StatusObject.h:22
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26
EEffectUniformSemantic
Effect uniform semantic type.
Definition: EffectInputSemantic.h:18
EEffectAttributeSemantic
Effect attribute semantic type.
Definition: EffectInputSemantic.h:42