SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
lightDataStd140 Struct Reference

Struct for uniform buffer with std140 layout. More...

#include <SLLight.h>

Public Attributes

SLint isOn
 
SLVec4f posWS
 
SLVec4f posVS
 
SLVec4f ambient
 
SLVec4f diffuse
 
SLVec4f specular
 
SLVec3f spotDirWS
 
SLfloat __pad25
 
SLVec3f spotDirVS
 
SLfloat __pad29
 
SLfloat spotCutoff
 
SLfloat spotCosCut
 
SLfloat spotExp
 
SLVec3f attentuation
 
SLfloat __pad36
 
SLint doAttenuation
 
SLint createsShadows
 
SLint doesPCF
 
SLuint levelPCF
 
SLint usesCubemap
 
SLMat4f space [6]
 

Detailed Description

Struct for uniform buffer with std140 layout.

Definition at line 30 of file SLLight.h.

Member Data Documentation

◆ __pad25

SLfloat lightDataStd140::__pad25

Definition at line 39 of file SLLight.h.

◆ __pad29

SLfloat lightDataStd140::__pad29

Definition at line 41 of file SLLight.h.

◆ __pad36

SLfloat lightDataStd140::__pad36

Definition at line 46 of file SLLight.h.

◆ ambient

SLVec4f lightDataStd140::ambient

Definition at line 35 of file SLLight.h.

◆ attentuation

SLVec3f lightDataStd140::attentuation

Definition at line 45 of file SLLight.h.

◆ createsShadows

SLint lightDataStd140::createsShadows

Definition at line 48 of file SLLight.h.

◆ diffuse

SLVec4f lightDataStd140::diffuse

Definition at line 36 of file SLLight.h.

◆ doAttenuation

SLint lightDataStd140::doAttenuation

Definition at line 47 of file SLLight.h.

◆ doesPCF

SLint lightDataStd140::doesPCF

Definition at line 49 of file SLLight.h.

◆ isOn

SLint lightDataStd140::isOn

Definition at line 32 of file SLLight.h.

◆ levelPCF

SLuint lightDataStd140::levelPCF

Definition at line 50 of file SLLight.h.

◆ posVS

SLVec4f lightDataStd140::posVS

Definition at line 34 of file SLLight.h.

◆ posWS

SLVec4f lightDataStd140::posWS

Definition at line 33 of file SLLight.h.

◆ space

SLMat4f lightDataStd140::space[6]

Definition at line 52 of file SLLight.h.

◆ specular

SLVec4f lightDataStd140::specular

Definition at line 37 of file SLLight.h.

◆ spotCosCut

SLfloat lightDataStd140::spotCosCut

Definition at line 43 of file SLLight.h.

◆ spotCutoff

SLfloat lightDataStd140::spotCutoff

Definition at line 42 of file SLLight.h.

◆ spotDirVS

SLVec3f lightDataStd140::spotDirVS

Definition at line 40 of file SLLight.h.

◆ spotDirWS

SLVec3f lightDataStd140::spotDirWS

Definition at line 38 of file SLLight.h.

◆ spotExp

SLfloat lightDataStd140::spotExp

Definition at line 44 of file SLLight.h.

◆ usesCubemap

SLint lightDataStd140::usesCubemap

Definition at line 51 of file SLLight.h.


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