|
virtual | ~OgreMaterial () |
|
virtual math::Color | Ambient () const override |
| Get the ambient color. More...
|
|
virtual bool | CastShadows () const override |
| Determine if this material casts shadows. More...
|
|
virtual void | ClearNormalMap () override |
| Removes any normal map mapped to this material. More...
|
|
virtual void | ClearTexture () override |
| Removes any texture mapped to this material. More...
|
|
virtual bool | DepthCheckEnabled () const override |
| Determine if depth buffer checking is enabled. More...
|
|
virtual bool | DepthWriteEnabled () const override |
| Determine if depth buffer writing is enabled. More...
|
|
virtual void | Destroy () override |
|
virtual math::Color | Diffuse () const override |
| Get the diffuse color. More...
|
|
virtual math::Color | Emissive () const override |
| Get the emissive color. More...
|
|
virtual std::string | FragmentShader () const override |
| Get path to the fragment shader. More...
|
|
virtual ShaderParamsPtr | FragmentShaderParams () override |
| Get params for the fragment shader. More...
|
|
virtual bool | HasNormalMap () const override |
| Determine if this material has a normal map. More...
|
|
virtual bool | HasTexture () const override |
| Determine if this material has a texture. More...
|
|
virtual bool | LightingEnabled () const override |
| Determine if lighting affects this material. More...
|
|
virtual Ogre::MaterialPtr | Material () const |
|
virtual std::string | NormalMap () const override |
| Get the URI of the normal map file. More...
|
|
virtual std::shared_ptr< const common::Image > | NormalMapData () const override |
| Get the normal map data. More...
|
|
virtual void | PreRender () override |
| Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender. More...
|
|
virtual bool | ReceiveShadows () const override |
| Determine if this material receives shadows. More...
|
|
virtual bool | ReflectionEnabled () const override |
| Determine if this material has a reflection. More...
|
|
virtual double | Reflectivity () const override |
| Get the reflectivity value. More...
|
|
virtual float | RenderOrder () const override |
| Get the render order value of this material. More...
|
|
virtual void | SetAlphaFromTexture (bool _enabled, double _alpha=0.5, bool _twoSided=true) override |
| Set the material to use the alpha channel from the textures. More...
|
|
virtual void | SetAmbient (const math::Color &_color) override |
| Set the ambient color. More...
|
|
virtual void | SetCastShadows (const bool _castShadows) override |
| Specify if this material casts shadows. More...
|
|
virtual void | SetDepthCheckEnabled (bool _enabled) override |
| Specify if depth buffer checking is enabled. More...
|
|
virtual void | SetDepthMaterial (const double far, const double near) override |
| Configuration for Depth Material. More...
|
|
virtual void | SetDepthWriteEnabled (bool _enabled) override |
| Specify if depth buffer writing is enabled. More...
|
|
virtual void | SetDiffuse (const math::Color &_color) override |
| Set the diffuse color. More...
|
|
virtual void | SetEmissive (const math::Color &_color) override |
| Set the emissive color. More...
|
|
virtual void | SetFragmentShader (const std::string &_path) override |
| Set the fragment shader. More...
|
|
virtual void | SetLightingEnabled (const bool _enabled) override |
| Specify if lighting affects this material. More...
|
|
virtual void | SetNormalMap (const std::string &_normalMap, const std::shared_ptr< const common::Image > &_img=nullptr) override |
| Set the material normal map. More...
|
|
virtual void | SetReceiveShadows (const bool _receiveShadows) override |
| Specify if this material receives shadows. More...
|
|
virtual void | SetReflectionEnabled (const bool _enabled) override |
| Specify if this material has a reflection. More...
|
|
virtual void | SetReflectivity (const double _reflectivity) override |
| Set the reflectivity value. More...
|
|
virtual void | SetRenderOrder (const float _renderOrder) override |
| Set the render order. When polygons are coplanar, you can get problems with 'depth fighting' where the pixels from the two polys compete for the same screen pixel. This param help to avoid this problem. More...
|
|
virtual void | SetShaderType (enum ShaderType _type) override |
| Set the ShaderType value. More...
|
|
virtual void | SetShininess (const double _shininess) override |
| Set the shininess value. More...
|
|
virtual void | SetSpecular (const math::Color &_color) override |
| Set the specular color. More...
|
|
virtual void | SetTexture (const std::string &_texture, const std::shared_ptr< const common::Image > &_img=nullptr) override |
| Set the material texture. More...
|
|
virtual void | SetTransparency (const double _transparency) override |
| Set the transparency value. More...
|
|
virtual void | SetVertexShader (const std::string &_path) override |
| Set the vertex shader. More...
|
|
virtual enum ShaderType | ShaderType () const override |
| Get the ShaderType value. More...
|
|
virtual double | Shininess () const override |
| Get the shininess value. More...
|
|
virtual math::Color | Specular () const override |
| Get the specular color. More...
|
|
virtual std::string | Texture () const override |
| Get the URI of the texture file. More...
|
|
virtual std::shared_ptr< const common::Image > | TextureData () const override |
| Get the texture data. More...
|
|
virtual double | Transparency () const override |
| Get the transparency value. More...
|
|
virtual std::string | VertexShader () const override |
| Get path to the vertex shader. More...
|
|
virtual ShaderParamsPtr | VertexShaderParams () override |
| Get params for the vertex shader. More...
|
|
virtual | ~BaseMaterial () |
|
double | AlphaThreshold () const override |
| Get the alpha threshold. More...
|
|
virtual math::Color | Ambient () const override |
| Get the ambient color. More...
|
|
virtual bool | CastShadows () const override |
| Determine if this material casts shadows. More...
|
|
virtual void | ClearEmissiveMap () override |
| Removes any emissive map mapped to this material. More...
|
|
virtual void | ClearEnvironmentMap () override |
| Removes any environment map mapped to this material. More...
|
|
virtual void | ClearLightMap () override |
| Removes any light map mapped to this material. More...
|
|
virtual void | ClearMetalnessMap () override |
| Removes any metalness map mapped to this material. More...
|
|
virtual void | ClearRoughnessMap () override |
| Removes any roughness map mapped to this material. More...
|
|
virtual MaterialPtr | Clone (const std::string &_name="") const override |
| Clone this material. More...
|
|
virtual void | CopyFrom (const common::Material &_material) override |
| Copy properties from given Material. More...
|
|
virtual void | CopyFrom (ConstMaterialPtr _material) override |
| Copy properties from given Material. More...
|
|
virtual bool | DepthCheckEnabled () const override |
| Determine if depth buffer checking is enabled. More...
|
|
virtual bool | DepthWriteEnabled () const override |
| Determine if depth buffer writing is enabled. More...
|
|
virtual math::Color | Diffuse () const override |
| Get the diffuse color. More...
|
|
virtual math::Color | Emissive () const override |
| Get the emissive color. More...
|
|
virtual std::string | EmissiveMap () const override |
| Get the URI of the emissive map file. More...
|
|
virtual std::shared_ptr< const common::Image > | EmissiveMapData () const override |
| Get the emissive map data. More...
|
|
virtual std::string | EnvironmentMap () const override |
| Get the URI of the environment map file. More...
|
|
virtual std::shared_ptr< const common::Image > | EnvironmentMapData () const override |
| Get the environment map data. More...
|
|
virtual std::string | FragmentShader () const override |
| Get path to the fragment shader. More...
|
|
virtual bool | HasEmissiveMap () const override |
| Determine if this material has an emissive map. More...
|
|
virtual bool | HasEnvironmentMap () const override |
| Determine if this material has a environment map. More...
|
|
virtual bool | HasLightMap () const override |
| Determine if this material has a light map. More...
|
|
virtual bool | HasMetalnessMap () const override |
| Determine if this material has a metalness map. More...
|
|
virtual bool | HasNormalMap () const override |
| Determine if this material has a normal map. More...
|
|
virtual bool | HasRoughnessMap () const override |
| Determine if this material has a roughness map. More...
|
|
virtual bool | HasTexture () const override |
| Determine if this material has a texture. More...
|
|
virtual bool | LightingEnabled () const override |
| Determine if lighting affects this material. More...
|
|
virtual std::string | LightMap () const override |
| Get the URI of the light map file. More...
|
|
virtual std::shared_ptr< const common::Image > | LightMapData () const override |
| Get the light map data. More...
|
|
virtual unsigned int | LightMapTexCoordSet () const override |
| Get the texture coordinate set used by lightmap. More...
|
|
virtual float | Metalness () const override |
| Get the metalness value of this material. More...
|
|
virtual std::string | MetalnessMap () const override |
| Get the URI of the metalness map file. More...
|
|
virtual std::shared_ptr< const common::Image > | MetalnessMapData () const override |
| Get the metalness map data. More...
|
|
virtual std::string | NormalMap () const override |
| Get the URI of the normal map file. More...
|
|
virtual std::shared_ptr< const common::Image > | NormalMapData () const override |
| Get the normal map data. More...
|
|
virtual bool | ReceiveShadows () const override |
| Determine if this material receives shadows. More...
|
|
virtual bool | ReflectionEnabled () const override |
| Determine if this material has a reflection. More...
|
|
virtual double | Reflectivity () const override |
| Get the reflectivity value. More...
|
|
virtual float | RenderOrder () const override |
| Get the render order value of this material. More...
|
|
virtual float | Roughness () const override |
| Get the roughness value of this material. More...
|
|
virtual std::string | RoughnessMap () const override |
| Get the URI of the roughness map file. More...
|
|
virtual std::shared_ptr< const common::Image > | RoughnessMapData () const override |
| Get the roughness map data. More...
|
|
virtual void | SetAmbient (const double _r, const double _g, const double _b, const double _a=1.0) override |
| Set the ambient color. More...
|
|
virtual void | SetDiffuse (const double _r, const double _g, const double _b, const double _a=1.0) override |
| Set the diffuse color. More...
|
|
virtual void | SetEmissive (const double _r, const double _g, const double _b, const double _a=1.0) override |
| Set the emissive color. More...
|
|
virtual void | SetEmissiveMap (const std::string &_emissiveMap, const std::shared_ptr< const common::Image > &_img) override |
| Set the material emissive map. More...
|
|
virtual void | SetEnvironmentMap (const std::string &_environmentMap, const std::shared_ptr< const common::Image > &_img) override |
| Set the material environment map. More...
|
|
virtual void | SetLightMap (const std::string &_lightMap, const std::shared_ptr< const common::Image > &_img, unsigned int _uvSet=0u) override |
| Set the material light map from an image loaded in memory. More...
|
|
virtual void | SetMetalness (const float _metalness) override |
| Set the metalness value. Only affects material of type MT_PBS. More...
|
|
virtual void | SetMetalnessMap (const std::string &_metalnessMap, const std::shared_ptr< const common::Image > &_img) override |
| Set the material metalness map. More...
|
|
virtual void | SetRoughness (const float _roughness) override |
| Set the roughness value. Only affects material of type MT_PBS. More...
|
|
virtual void | SetRoughnessMap (const std::string &_roughnessMap, const std::shared_ptr< const common::Image > &_img) override |
| Set the material roughness map. More...
|
|
virtual void | SetSpecular (const double _r, const double _g, const double _b, const double _a=1.0) override |
| Set the specular color. More...
|
|
virtual enum ShaderType | ShaderType () const override |
| Get the ShaderType value. More...
|
|
virtual double | Shininess () const override |
| Get the shininess value. More...
|
|
virtual math::Color | Specular () const override |
| Get the specular color. More...
|
|
virtual std::string | Texture () const override |
| Get the URI of the texture file. More...
|
|
bool | TextureAlphaEnabled () const override |
| Get the enable alpha from textures. More...
|
|
virtual std::shared_ptr< const common::Image > | TextureData () const override |
| Get the texture data. More...
|
|
virtual double | Transparency () const override |
| Get the transparency value. More...
|
|
bool | TwoSidedEnabled () const override |
| Get the enable two sided rendering value. More...
|
|
virtual MaterialType | Type () const override |
| Removes any metalness map mapped to this material. More...
|
|
virtual std::string | VertexShader () const override |
| Get path to the vertex shader. More...
|
|
virtual | ~Material () |
| Destructor. More...
|
|
virtual double | AlphaThreshold () const =0 |
| Get the alpha threshold. More...
|
|
virtual std::string | EmissiveMap () const =0 |
| Get the URI of the emissive map file. More...
|
|
virtual std::shared_ptr< const common::Image > | EmissiveMapData () const =0 |
| Get the emissive map data. More...
|
|
virtual std::string | EnvironmentMap () const =0 |
| Get the URI of the environment map file. More...
|
|
virtual std::shared_ptr< const common::Image > | EnvironmentMapData () const =0 |
| Get the environment map data. More...
|
|
virtual bool | HasEmissiveMap () const =0 |
| Determine if this material has an emissive map. More...
|
|
virtual bool | HasEnvironmentMap () const =0 |
| Determine if this material has a environment map. More...
|
|
virtual bool | HasLightMap () const =0 |
| Determine if this material has a light map. More...
|
|
virtual bool | HasMetalnessMap () const =0 |
| Determine if this material has a metalness map. More...
|
|
virtual bool | HasRoughnessMap () const =0 |
| Determine if this material has a roughness map. More...
|
|
virtual std::string | LightMap () const =0 |
| Get the URI of the light map file. More...
|
|
virtual std::shared_ptr< const common::Image > | LightMapData () const =0 |
| Get the light map data. More...
|
|
virtual unsigned int | LightMapTexCoordSet () const =0 |
| Get the texture coordinate set used by lightmap. More...
|
|
virtual float | Metalness () const =0 |
| Get the metalness value of this material. More...
|
|
virtual std::string | MetalnessMap () const =0 |
| Get the URI of the metalness map file. More...
|
|
virtual std::shared_ptr< const common::Image > | MetalnessMapData () const =0 |
| Get the metalness map data. More...
|
|
virtual float | Roughness () const =0 |
| Get the roughness value of this material. More...
|
|
virtual std::string | RoughnessMap () const =0 |
| Get the URI of the roughness map file. More...
|
|
virtual std::shared_ptr< const common::Image > | RoughnessMapData () const =0 |
| Get the roughness map data. More...
|
|
virtual void | SetEmissiveMap (const std::string &_emissiveMap) |
| Set the material emissive map. More...
|
|
virtual void | SetEnvironmentMap (const std::string &_environmentMap) |
| Set the material environment map. More...
|
|
virtual void | SetLightMap (const std::string &_lightMap, unsigned int _uvSet=0u) |
| Set the material light map. More...
|
|
virtual void | SetMetalnessMap (const std::string &_metalnessMap) |
| Set the material metalness map. More...
|
|
virtual void | SetNormalMap (const std::string &_normalMap) |
| Set the material normal map. More...
|
|
virtual void | SetRoughnessMap (const std::string &_roughnessMap) |
| Set the material roughness map. More...
|
|
virtual void | SetTexture (const std::string &_texture) |
| Set the material texture. More...
|
|
virtual bool | TextureAlphaEnabled () const =0 |
| Get the enable alpha from textures. More...
|
|
virtual bool | TwoSidedEnabled () const =0 |
| Get the enable two sided rendering value. More...
|
|
virtual enum MaterialType | Type () const =0 |
| Removes any metalness map mapped to this material. More...
|
|
virtual | ~Object () |
| Destructor. More...
|
|
virtual unsigned int | Id () const =0 |
| Get the object ID. This ID will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
|
|
virtual std::string | Name () const =0 |
| Get the object name. This name will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
|
|
virtual void | PostRender ()=0 |
| Post process this object and any of its children after rendering. More...
|
|
virtual ScenePtr | Scene () const =0 |
| Get the Scene that created this object. More...
|
|
virtual | ~OgreObject () |
|
virtual ScenePtr | Scene () const |
|
virtual | ~BaseObject () |
|
virtual unsigned int | Id () const override |
|
virtual std::string | Name () const override |
|
virtual void | PostRender () override |
|