Open CASCADE Technology  7.3.0
Public Member Functions | Static Public Member Functions | Data Fields
OpenGl_ShaderManager::OpenGl_ShaderLightParameters Struct Reference

Packed properties of light source. More...

#include <OpenGl_ShaderManager.hxx>

Public Member Functions

const OpenGl_Vec4Packed () const
 Returns packed (serialized) representation of light source properties. More...

Static Public Member Functions

static Standard_Integer NbOfVec4 ()

Data Fields

OpenGl_Vec4 Color
OpenGl_Vec4 Position
OpenGl_Vec4 Direction
OpenGl_Vec4 Parameters

Detailed Description

Packed properties of light source.

Member Function Documentation

◆ NbOfVec4()

static Standard_Integer OpenGl_ShaderManager::OpenGl_ShaderLightParameters::NbOfVec4 ( )

◆ Packed()

const OpenGl_Vec4* OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Packed ( ) const

Returns packed (serialized) representation of light source properties.

Field Documentation

◆ Color

OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Color

◆ Direction

OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Direction

◆ Parameters

OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Parameters

◆ Position

OpenGl_Vec4 OpenGl_ShaderManager::OpenGl_ShaderLightParameters::Position

The documentation for this struct was generated from the following file: