This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofLight.cpp File Reference
#include "ofLight.h"
#include "of3dUtils.h"
#include "ofGLBaseTypes.h"
#include "ofGLUtils.h"
#include "ofConstants.h"
#include "ofColor.h"
#include <glm/gtc/quaternion.hpp>
#include <map>
Functions | |
void | ofEnableLighting () |
void | ofDisableLighting () |
void | ofEnableSeparateSpecularLight () |
void | ofDisableSeparateSpecularLight () |
bool | ofGetLightingEnabled () |
void | ofSetSmoothLighting (bool b) |
void | ofSetGlobalAmbientColor (const ofFloatColor &c) |
const ofFloatColor & | ofGetGlobalAmbientColor () |
vector< weak_ptr< ofLight::Data > > & | ofLightsData () |
Function Documentation
◆ ofDisableLighting()
void ofDisableLighting | ( | ) |
◆ ofDisableSeparateSpecularLight()
void ofDisableSeparateSpecularLight | ( | ) |
◆ ofEnableLighting()
void ofEnableLighting | ( | ) |
◆ ofEnableSeparateSpecularLight()
void ofEnableSeparateSpecularLight | ( | ) |
◆ ofGetGlobalAmbientColor()
const ofFloatColor & ofGetGlobalAmbientColor | ( | ) |
◆ ofGetLightingEnabled()
bool ofGetLightingEnabled | ( | ) |
◆ ofLightsData()
vector< weak_ptr< ofLight::Data > > & ofLightsData | ( | ) |
◆ ofSetGlobalAmbientColor()
void ofSetGlobalAmbientColor | ( | const ofFloatColor & | c | ) |
◆ ofSetSmoothLighting()
void ofSetSmoothLighting | ( | bool | b | ) |