#include <OgreLightProfiles.h>
|
| LightProfiles (HlmsPbs *hlmsPbs, TextureGpuManager *textureGpuManager) |
|
| ~LightProfiles () |
|
void | assignProfile (IdString profileName, Light *light) |
| Assigns the given profile to the light.
|
|
void | build (void) |
| After you're done with all your loadIesProfile calls, call this function to generate the texture required for rendering.
|
|
const IesLoader * | getProfile (IdString profileName) const |
| Returns the profile associated with the name. Nullptr if not found.
|
|
const IesLoader * | getProfile (Light *light) const |
| Returns the profile associated with the light.
|
|
const String & | getProfileName (Light *light) const |
| Returns the name of the profile associated with the light.
|
|
void | loadIesProfile (const String &filename, const String &resourceGroup, bool throwOnDuplicate=true) |
| Loads an IES (Illuminating Engineering Society) profile to memory.
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
◆ LightProfiles()
◆ ~LightProfiles()
Ogre::LightProfiles::~LightProfiles |
( |
| ) |
|
◆ assignProfile()
Assigns the given profile to the light.
Use either:
Property instance with passthrough calls to a given object.
Definition OgreProperty.h:216
Hashed string.
Definition OgreIdString.h:96
To unset any profile
- Parameters
-
profileName | Name of the profile to assign to the light. Use IdString() or IdString( "" ) to unset any profile the light might already have |
light | Light to set the profile to |
◆ build()
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
◆ getProfile() [1/2]
Returns the profile associated with the name. Nullptr if not found.
◆ getProfile() [2/2]
Returns the profile associated with the light.
Nullptr if none Assumes the light's profile was created by 'this'
◆ getProfileName()
Returns the name of the profile associated with the light.
Empty if none Assumes the light's profile was created by 'this'
◆ loadIesProfile()
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
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
array operator new, with debug line info
The documentation for this class was generated from the following file: