102 void applyDefaults(
void);
128 void insertSupportedTechnique(
Technique* t);
132 void clearBestTechniqueList(
void);
136 void prepareImpl(
void);
140 void unprepareImpl(
void);
150 void unloadImpl(
void);
152 size_t calculateSize(
void)
const;
168 bool isTransparent(
void)
const;
215 Technique* getTechnique(
unsigned short index);
221 unsigned short getNumTechniques(
void)
const;
223 void removeTechnique(
unsigned short index);
225 void removeAllTechniques(
void);
228 TechniqueIterator getTechniqueIterator(
void);
235 TechniqueIterator getSupportedTechniqueIterator(
void);
238 Technique* getSupportedTechnique(
unsigned short index);
240 unsigned short getNumSupportedTechniques(
void)
const;
249 unsigned short getNumLodLevels(
unsigned short schemeIndex)
const;
255 unsigned short getNumLodLevels(
const String& schemeName)
const;
304 void compile(
bool autoManageTextureUnits =
true);
320 void setPointSize(
Real ps);
397 void setShininess(
Real val);
408 void setSelfIllumination(
Real red,
Real green,
Real blue);
419 void setSelfIllumination(
const ColourValue& selfIllum);
430 void setDepthCheckEnabled(
bool enabled);
441 void setDepthWriteEnabled(
bool enabled);
463 void setColourWriteEnabled(
bool enabled);
496 void setLightingEnabled(
bool enabled);
522 Real expDensity = 0.001,
Real linearStart = 0.0,
Real linearEnd = 1.0 );
533 void setDepthBias(
float constantBias,
float slopeScaleBias);
552 void setTextureAnisotropy(
int maxAniso);
599 void _notifyNeedsRecompile(
void);
615 void setLodLevels(
const LodValueList& lodValues);
624 LodValueIterator getLodValueIterator(
void)
const;
633 LodValueIterator getUserLodValueIterator(
void)
const;
651 if (mCompilationRequired)
675 return mCompilationRequired;
Concrete IteratorWrapper for nonconst access to the underlying container.
void setTransparencyCastsShadows(bool enabled)
Sets whether objects using this material be classified as opaque to the shadow caster system...
Abstract class defining the interface all renderable objects must implement.
Strategy for determining level of detail.
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
map< unsigned short, LodTechniques * >::type BestTechniquesBySchemeList
LodValueList mUserLodValues
vector< Real >::type LodValueList
distance list used to specify LOD
Class representing colour.
float Real
Software floating point type.
SceneBlendType
Types of blending that you can specify between an object and the existing contents of the scene...
Techniques mTechniques
All techniques, supported and unsupported.
Abstract class representing a loadable resource (e.g.
Interface describing a manual resource loader.
vector< Technique * >::type Techniques
unsigned long long int ResourceHandle
Class for managing Material settings for Ogre.
BestTechniquesBySchemeList mBestTechniquesBySchemeList
Map of scheme -> list of LOD techniques.
static const ColourValue White
CullingMode
Hardware culling modes based on vertex winding.
std::map< K, V, P, A > type
String mUnsupportedReasons
Text description of why any techniques are not supported.
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
VectorIterator< Techniques > TechniqueIterator
ConstVectorIterator< LodValueList > LodValueIterator
void touch(void)
'Touches' the resource to indicate it has been used.
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
const String & getUnsupportedTechniquesExplanation() const
Gets a string explaining why any techniques are not supported.
const LodStrategy * mLodStrategy
ManualCullingMode
Manual culling modes based on vertex normals.
bool getCompilationRequired() const
Gets the compilation status of the material.
Defines a generic resource handler.
virtual void touch(void)
'Touches' the resource to indicate it has been used.
bool mCompilationRequired
Does this material require compilation?
SceneBlendFactor
Blending factors for manually blending objects with the scene.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Class encapsulates rendering properties of an object.
Techniques mSupportedTechniques
Supported techniques of any sort.
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Concrete IteratorWrapper for const access to the underlying container.
bool mTransparencyCastsShadows
Class representing an approach to rendering this particular Material.
ShadeOptions
Light shading modes.
map< unsigned short, Technique * >::type LodTechniques
Manages the organisation and rendering of a 'scene' i.e.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
void setReceiveShadows(bool enabled)
Sets whether objects using this material will receive shadows.
bool getReceiveShadows(void) const
Returns whether or not objects using this material will receive shadows.