Irrlicht Engine: SMaterial.h File Reference

Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# SMaterial.h File Reference

`#include "SColor.h"`
`#include "matrix4.h"`
`#include "irrArray.h"`
`#include "irrMath.h"`
`#include "EMaterialTypes.h"`
`#include "EMaterialFlags.h"`
`#include "SMaterialLayer.h"`

Go to the source code of this file.

## Classes
class | irr::video::SMaterial
| Struct for holding parameters for a material renderer. More...
## Namespaces
namespace | irr

| Everything in the Irrlicht Engine can be found in this namespace.
namespace | irr::video

| The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done here.
## Enumerations
enum | irr::video::E_ALPHA_SOURCE { irr::video::EAS_NONE = 0, irr::video::EAS_VERTEX_COLOR, irr::video::EAS_TEXTURE }
| Source of the alpha value to take. More...
enum | irr::video::E_ANTI_ALIASING_MODE { irr::video::EAAM_OFF = 0, irr::video::EAAM_SIMPLE = 1, irr::video::EAAM_QUALITY = 3, irr::video::EAAM_LINE_SMOOTH = 4, irr::video::EAAM_POINT_SMOOTH = 8, irr::video::EAAM_FULL_BASIC = 15, irr::video::EAAM_ALPHA_TO_COVERAGE = 16 }
| These flags are used to specify the anti-aliasing and smoothing modes. More...
enum | irr::video::E_BLEND_FACTOR { irr::video::EBF_ZERO = 0, irr::video::EBF_ONE, irr::video::EBF_DST_COLOR, irr::video::EBF_ONE_MINUS_DST_COLOR, irr::video::EBF_SRC_COLOR, irr::video::EBF_ONE_MINUS_SRC_COLOR, irr::video::EBF_SRC_ALPHA, irr::video::EBF_ONE_MINUS_SRC_ALPHA, irr::video::EBF_DST_ALPHA, irr::video::EBF_ONE_MINUS_DST_ALPHA, irr::video::EBF_SRC_ALPHA_SATURATE }
| Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor. More...
enum | irr::video::E_COLOR_MATERIAL { irr::video::ECM_NONE = 0, irr::video::ECM_DIFFUSE, irr::video::ECM_AMBIENT, irr::video::ECM_EMISSIVE, irr::video::ECM_SPECULAR, irr::video::ECM_DIFFUSE_AND_AMBIENT }
| These flags allow to define the interpretation of vertex color when lighting is enabled. More...
enum | irr::video::E_COLOR_PLANE { irr::video::ECP_NONE = 0, irr::video::ECP_ALPHA = 1, irr::video::ECP_RED = 2, irr::video::ECP_GREEN = 4, irr::video::ECP_BLUE = 8, irr::video::ECP_RGB = 14, irr::video::ECP_ALL = 15 }
| Enum values for enabling/disabling color planes for rendering. More...
enum | irr::video::E_COMPARISON_FUNC { irr::video::ECFN_NEVER = 0, irr::video::ECFN_LESSEQUAL = 1, irr::video::ECFN_EQUAL = 2, irr::video::ECFN_LESS, irr::video::ECFN_NOTEQUAL, irr::video::ECFN_GREATEREQUAL, irr::video::ECFN_GREATER, irr::video::ECFN_ALWAYS }
| Comparison function, e.g. for depth buffer test. More...
enum | irr::video::E_MODULATE_FUNC { irr::video::EMFN_MODULATE_1X = 1, irr::video::EMFN_MODULATE_2X = 2, irr::video::EMFN_MODULATE_4X = 4 }
| MaterialTypeParam: e.g. DirectX: D3DTOP_MODULATE, D3DTOP_MODULATE2X, D3DTOP_MODULATE4X. More...
## Functions
f32 | irr::video::pack_texureBlendFunc (const E_BLEND_FACTOR srcFact, const E_BLEND_FACTOR dstFact, const E_MODULATE_FUNC modulate=EMFN_MODULATE_1X, const u32 alphaSource=EAS_TEXTURE)
| EMT_ONETEXTURE_BLEND: pack srcFact, dstFact, Modulate and alpha source to MaterialTypeParam.
bool | irr::video::textureBlendFunc_hasAlpha (const E_BLEND_FACTOR factor)
| EMT_ONETEXTURE_BLEND: has BlendFactor Alphablending.
void | irr::video::unpack_texureBlendFunc (E_BLEND_FACTOR &srcFact, E_BLEND_FACTOR &dstFact, E_MODULATE_FUNC &modulo, u32 &alphaSource, const f32 param)
| EMT_ONETEXTURE_BLEND: unpack srcFact & dstFact and Modulo to MaterialTypeParam.
## Variables
IRRLICHT_API SMaterial | irr::video::IdentityMaterial
| global const identity Material
const u32 | irr::video::MATERIAL_MAX_TEXTURES = _IRR_MATERIAL_MAX_TEXTURES_
| Maximum number of texture an SMaterial can have.

| The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:59 2010 by Doxygen (1.6.2)