Go to the documentation of this file.
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);
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;
unsigned long long int ResourceHandle
vector< Technique * >::type Techniques
ConstVectorIterator< LodValueList > LodValueIterator
VectorIterator< Techniques > TechniqueIterator
Techniques mSupportedTechniques
Supported techniques of any sort.
map< unsigned short, Technique * >::type LodTechniques
bool mCompilationRequired
Does this material require compilation?
String mUnsupportedReasons
Text description of why any techniques are not supported.
Concrete IteratorWrapper for nonconst access to the underlying container.
virtual void touch(void)
'Touches' the resource to indicate it has been used.
Class for managing Material settings for Ogre.
Class encapsulates rendering properties of an object.
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
const String & getUnsupportedTechniquesExplanation() const
Gets a string explaining why any techniques are not supported.
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Class representing an approach to rendering this particular Material.
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
Strategy for determining level of detail.
void setTransparencyCastsShadows(bool enabled)
Sets whether objects using this material be classified as opaque to the shadow caster system.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
LodValueList mUserLodValues
SceneBlendFactor
Blending factors for manually blending objects with the scene.
Manages the organisation and rendering of a 'scene' i.e.
map< unsigned short, LodTechniques * >::type BestTechniquesBySchemeList
const LodStrategy * mLodStrategy
vector< Real >::type LodValueList
distance list used to specify LOD
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
CullingMode
Hardware culling modes based on vertex winding.
Defines a generic resource handler.
static const ColourValue White
bool mTransparencyCastsShadows
void setReceiveShadows(bool enabled)
Sets whether objects using this material will receive shadows.
Abstract class representing a loadable resource (e.g.
Techniques mTechniques
All techniques, supported and unsupported.
std::map< K, V, P, A > type
Class representing colour.
Abstract class defining the interface all renderable objects must implement.
ShadeOptions
Light shading modes.
void touch(void)
'Touches' the resource to indicate it has been used.
ManualCullingMode
Manual culling modes based on vertex normals.
float Real
Software floating point type.
bool getReceiveShadows(void) const
Returns whether or not objects using this material will receive shadows.
bool getCompilationRequired() const
Gets the compilation status of the material.
BestTechniquesBySchemeList mBestTechniquesBySchemeList
Map of scheme -> list of LOD techniques.
Interface describing a manual resource loader.
Concrete IteratorWrapper for const access to the underlying container.
SceneBlendType
Types of blending that you can specify between an object and the existing contents of the scene.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15