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