OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
#include <OgreLightProfiles.h>
Public Member Functions | |
LightProfiles (HlmsPbs *hlmsPbs, TextureGpuManager *textureGpuManager) | |
~LightProfiles () | |
void | assignProfile (IdString profileName, Light *light) |
Assigns the given profile to the light. More... | |
void | build (void) |
After you're done with all your loadIesProfile calls, call this function to generate the texture required for rendering. More... | |
const IesLoader * | getProfile (IdString profileName) const |
Returns the profile associated with the name. Nullptr if not found. More... | |
const IesLoader * | getProfile (Light *light) const |
Returns the profile associated with the light. More... | |
const String & | getProfileName (Light *light) const |
Returns the name of the profile associated with the light. More... | |
void | loadIesProfile (const String &filename, const String &resourceGroup, bool throwOnDuplicate=true) |
Loads an IES (Illuminating Engineering Society) profile to memory. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
Ogre::LightProfiles::LightProfiles | ( | HlmsPbs * | hlmsPbs, |
TextureGpuManager * | textureGpuManager | ||
) |
Ogre::LightProfiles::~LightProfiles | ( | ) |
Assigns the given profile to the light.
Use either:
To unset any profile
void Ogre::LightProfiles::build | ( | void | ) |
After you're done with all your loadIesProfile calls, call this function to generate the texture required for rendering.
You can call LightProfiles::assignProfile before calling build
Returns the profile associated with the name. Nullptr if not found.
Returns the profile associated with the light.
Nullptr if none Assumes the light's profile was created by 'this'
Returns the name of the profile associated with the light.
Empty if none Assumes the light's profile was created by 'this'
void Ogre::LightProfiles::loadIesProfile | ( | const String & | filename, |
const String & | resourceGroup, | ||
bool | throwOnDuplicate = true |
||
) |
Loads an IES (Illuminating Engineering Society) profile to memory.
When trying to load an IES file that is already loaded, if throwOnDuplicate = false then this function does nothing
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |