Open CASCADE Technology 7.8.2.dev
|
Stores properties of OpenGL light source. More...
#include <OpenGl_SceneGeometry.hxx>
Public Member Functions | |
OpenGl_RaytraceLight () | |
Creates new light source. | |
OpenGl_RaytraceLight (const BVH_Vec4f &theEmission, const BVH_Vec4f &thePosition) | |
Creates new light source. | |
const Standard_ShortReal * | Packed () |
Returns packed (serialized) representation of light source. | |
Data Fields | |
BVH_Vec4f | Emission |
Diffuse intensity (in terms of OpenGL) | |
BVH_Vec4f | Position |
Position of light source (in terms of OpenGL) | |
Stores properties of OpenGL light source.
|
inline |
Creates new light source.
OpenGl_RaytraceLight::OpenGl_RaytraceLight | ( | const BVH_Vec4f & | theEmission, |
const BVH_Vec4f & | thePosition ) |
Creates new light source.
|
inline |
Returns packed (serialized) representation of light source.
BVH_Vec4f OpenGl_RaytraceLight::Emission |
Diffuse intensity (in terms of OpenGL)
BVH_Vec4f OpenGl_RaytraceLight::Position |
Position of light source (in terms of OpenGL)