|
Open CASCADE Technology
7.8.0.dev
|
Packed properties of light source. More...
#include <OpenGl_ShaderManager.hxx>
Public Member Functions | |
| const OpenGl_Vec4 * | Packed () const |
| Returns packed (serialized) representation of light source properties. More... | |
Static Public Member Functions | |
| static Standard_Integer | NbOfVec4 () |
Data Fields | |
| OpenGl_Vec4 | Color |
| RGB color + Intensity (in .w) More... | |
| OpenGl_Vec4 | Position |
| XYZ Direction or Position + IsHeadlight (in .w) More... | |
| OpenGl_Vec4 | Direction |
| spot light XYZ direction + Range (in .w) More... | |
| OpenGl_Vec4 | Parameters |
| same as Graphic3d_CLight::PackedParams() More... | |
Packed properties of light source.
|
inlinestatic |
|
inline |
Returns packed (serialized) representation of light source properties.
| OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Color |
RGB color + Intensity (in .w)
| OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Direction |
spot light XYZ direction + Range (in .w)
| OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Parameters |
same as Graphic3d_CLight::PackedParams()
| OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Position |
XYZ Direction or Position + IsHeadlight (in .w)
1.8.13