Go to the documentation of this file.
28 #ifndef __MATERIALMANAGER_H__
29 #define __MATERIALMANAGER_H__
104 virtual Technique* handleSchemeNotFound(
unsigned short schemeIndex,
105 const String& schemeName,
Material* originalMaterial,
unsigned short lodIndex,
174 void initialise(
void);
208 void setDefaultAnisotropy(
unsigned int maxAniso);
210 unsigned int getDefaultAnisotropy()
const;
247 virtual unsigned short _getSchemeIndex(
const String& name);
251 virtual const String& _getSchemeName(
unsigned short index);
255 virtual unsigned short _getActiveSchemeIndex(
void)
const;
260 virtual const String& getActiveScheme(
void)
const;
265 virtual void setActiveScheme(
const String& schemeName);
280 virtual Technique* _arbitrateMissingTechniqueForActiveScheme(
unsigned long long int ResourceHandle
unsigned int mDefaultMaxAniso
Default Texture anisotropy.
FilterOptions mDefaultCompare
Default Texture filtering - comparison.
#define OGRE_THREAD_POINTER(T, var)
map< String, ListenerList >::type ListenerMap
virtual MaterialPtr getDefaultSettings(void) const
Returns a pointer to the default Material settings.
list< Listener * >::type ListenerList
The list of per-scheme (and general) material listeners.
Class for managing Material settings for Ogre.
Listener on any general material events.
Class encapsulates rendering properties of an object.
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
CompareFunction mDefaultCompareFunction
static String DEFAULT_SCHEME_NAME
Default material scheme.
virtual ~Listener()
Virtual destructor needed as class has virtual methods.
Class representing an approach to rendering this particular Material.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
map< String, unsigned short >::type SchemeMap
Scheme name -> index. Never shrinks! Should be pretty static anyway.
Class for serializing Materials to / from a .material script.
Template class for creating single-instance global classes.
FilterOptions
Filtering options for textures / mipmaps.
Defines a generic resource handler.
MaterialPtr mDefaultSettings
Default settings.
FilterOptions mDefaultMagFilter
Default Texture filtering - magnification.
Abstract class representing a loadable resource (e.g.
SchemeMap mSchemes
List of material schemes.
String mActiveSchemeName
Current material scheme.
Abstract class defining the interface all renderable objects must implement.
unsigned short mActiveSchemeIndex
Current material scheme.
bool mDefaultCompareEnabled
FilterOptions mDefaultMinFilter
Default Texture filtering - minification.
Interface describing a manual resource loader.
FilterOptions mDefaultMipFilter
Default Texture filtering - mipmapping.
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