Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
#include <SMaterialLayer.h>
Public Member Functions | |
const core::matrix4 & | getTextureMatrix () const |
Gets the immutable texture transformation matrix. | |
core::matrix4 & | getTextureMatrix () |
Gets the texture transformation matrix. | |
bool | operator!= (const SMaterialLayer &b) const |
Inequality operator. | |
SMaterialLayer & | operator= (const SMaterialLayer &other) |
Assignment operator. | |
bool | operator== (const SMaterialLayer &b) const |
Equality operator. | |
void | setTextureMatrix (const core::matrix4 &mat) |
Sets the texture transformation matrix to mat. | |
SMaterialLayer (const SMaterialLayer &other) | |
Copy constructor. | |
SMaterialLayer () | |
Default constructor. | |
~SMaterialLayer () | |
Destructor. | |
Public Attributes | |
u8 | AnisotropicFilter |
Is anisotropic filtering enabled? Default: 0, disabled. | |
bool | BilinearFilter:1 |
Is bilinear filtering enabled? Default: true. | |
s8 | LODBias |
Bias for the mipmap choosing decision. | |
ITexture * | Texture |
Texture. | |
u8 | TextureWrap |
Texture Clamp Mode. | |
bool | TrilinearFilter:1 |
Is trilinear filtering enabled? Default: false. | |
Friends | |
class | SMaterial |
Definition at line 39 of file SMaterialLayer.h.
irr::video::SMaterialLayer::SMaterialLayer | ( | ) | [inline] |
irr::video::SMaterialLayer::SMaterialLayer | ( | const SMaterialLayer & | other | ) | [inline] |
Copy constructor.
other | Material layer to copy from. |
Definition at line 55 of file SMaterialLayer.h.
irr::video::SMaterialLayer::~SMaterialLayer | ( | ) | [inline] |
const core::matrix4& irr::video::SMaterialLayer::getTextureMatrix | ( | ) | const [inline] |
Gets the immutable texture transformation matrix.
Definition at line 153 of file SMaterialLayer.h.
References irr::core::IdentityMatrix.
core::matrix4& irr::video::SMaterialLayer::getTextureMatrix | ( | ) | [inline] |
Gets the texture transformation matrix.
Definition at line 141 of file SMaterialLayer.h.
References irr::core::IdentityMatrix.
Referenced by irr::video::SMaterial::getTextureMatrix().
bool irr::video::SMaterialLayer::operator!= | ( | const SMaterialLayer & | b | ) | const [inline] |
Inequality operator.
b | Layer to compare to. |
Definition at line 177 of file SMaterialLayer.h.
References AnisotropicFilter, BilinearFilter, LODBias, Texture, TextureMatrix, TextureWrap, and TrilinearFilter.
SMaterialLayer& irr::video::SMaterialLayer::operator= | ( | const SMaterialLayer & | other | ) | [inline] |
Assignment operator.
other | Material layer to copy from. |
Definition at line 72 of file SMaterialLayer.h.
References AnisotropicFilter, BilinearFilter, LODBias, Texture, TextureMatrix, TextureWrap, and TrilinearFilter.
bool irr::video::SMaterialLayer::operator== | ( | const SMaterialLayer & | b | ) | const [inline] |
Equality operator.
b | Layer to compare to. |
Definition at line 198 of file SMaterialLayer.h.
void irr::video::SMaterialLayer::setTextureMatrix | ( | const core::matrix4 & | mat | ) | [inline] |
Sets the texture transformation matrix to mat.
mat | New texture matrix for this layer. |
Definition at line 163 of file SMaterialLayer.h.
Referenced by irr::video::SMaterial::setTextureMatrix().
friend class SMaterial [friend] |
Definition at line 202 of file SMaterialLayer.h.
Is anisotropic filtering enabled? Default: 0, disabled.
In Irrlicht you can use anisotropic texture filtering in conjunction with bilinear or trilinear texture filtering to improve rendering results. Primitives will look less blurry with this flag switched on. The number gives the maximal anisotropy degree, and is often in the range 2-16. Value 1 is equivalent to 0, but should be avoided.
Definition at line 130 of file SMaterialLayer.h.
Referenced by irr::video::SOverrideMaterial::apply(), irr::video::SMaterial::getFlag(), operator!=(), and operator=().
Is bilinear filtering enabled? Default: true.
Definition at line 116 of file SMaterialLayer.h.
Referenced by irr::video::SOverrideMaterial::apply(), irr::video::SMaterial::getFlag(), operator!=(), and operator=().
Bias for the mipmap choosing decision.
This value can make the textures more or less blurry than with the default value of 0. The value (divided by 8.f) is added to the mipmap level chosen initially, and thus takes a smaller mipmap for a region if the value is positive.
Definition at line 137 of file SMaterialLayer.h.
Referenced by operator!=(), and operator=().
Texture.
Definition at line 110 of file SMaterialLayer.h.
Referenced by irr::video::SMaterial::getTexture(), operator!=(), operator=(), and irr::video::SMaterial::setTexture().
Texture Clamp Mode.
Definition at line 113 of file SMaterialLayer.h.
Referenced by irr::video::SOverrideMaterial::apply(), irr::video::SMaterial::getFlag(), operator!=(), and operator=().
Is trilinear filtering enabled? Default: false.
If the trilinear filter flag is enabled, the bilinear filtering flag is ignored.
Definition at line 121 of file SMaterialLayer.h.
Referenced by irr::video::SOverrideMaterial::apply(), irr::video::SMaterial::getFlag(), operator!=(), and operator=().
The Irrlicht
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
on Sun Jan 10 09:24:20 2010 by Doxygen
(1.5.6) |