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