9 #ifndef RAMSES_EFFECT_H
10 #define RAMSES_EFFECT_H
134 friend class SceneImpl;
#define RAMSES_API
Definition: APIExport.h:35
An effect describes how an object will be rendered to the screen.
Definition: Effect.h:26
status_t findAttributeInput(EEffectAttributeSemantic attributeSemantic, AttributeInput &attributeInput) const
Finds attribute input that represents a semantic input (if existing).
Effect(EffectImpl &pimpl)
Constructor of Effect.
Effect & operator=(const Effect &other)
Assignment operator of Effect.
Effect(const Effect &other)
Copy constructor of Effect.
uint32_t getAttributeInputCount() const
Gets number of attribute inputs.
class EffectImpl & impl
Stores internal data for implementation specifics of Effect.
Definition: Effect.h:128
virtual ~Effect()
Destructor of the Effect.
static status_t getGeometryShaderInputType(const Effect &effect, EDrawMode &expectedGeometryInputType)
If the effect has a geometry shader attached to it (see hasGeometryShader) this method can be used to...
status_t findUniformInput(const char *inputName, UniformInput &uniformInput) const
Finds uniform input by input name.
status_t findUniformInput(EEffectUniformSemantic uniformSemantic, UniformInput &uniformInput) const
Finds uniform input that represents a semantic input (if existing).
status_t getUniformInput(uint32_t index, UniformInput &uniformInput) const
Gets uniform input at given index.
status_t getAttributeInput(uint32_t index, AttributeInput &attributeInput) const
Gets attribute input at given index.
uint32_t getUniformInputCount() const
Gets number of uniform inputs.
static bool hasGeometryShader(const Effect &effect)
Returns whether the effect has a geometry shader attached to it.
status_t findAttributeInput(const char *inputName, AttributeInput &attributeInput) const
Finds attribute input by input name.
The Resource is the base class of all resources, such as arrays and textures.
Definition: Resource.h:20
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
EDrawMode
Definition: AppearanceEnums.h:175
EEffectAttributeSemantic
Effect attribute semantic type.
Definition: EffectInputSemantic.h:42