SLProject 4.0.000
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.

Member Data Documentation

◆ __pad25

SLfloat lightDataStd140::__pad25

◆ __pad29

SLfloat lightDataStd140::__pad29

◆ __pad36

SLfloat lightDataStd140::__pad36

◆ ambient

SLVec4f lightDataStd140::ambient

◆ attentuation

SLVec3f lightDataStd140::attentuation

◆ createsShadows

SLint lightDataStd140::createsShadows

◆ diffuse

SLVec4f lightDataStd140::diffuse

◆ doAttenuation

SLint lightDataStd140::doAttenuation

◆ doesPCF

SLint lightDataStd140::doesPCF

◆ isOn

SLint lightDataStd140::isOn

◆ levelPCF

SLuint lightDataStd140::levelPCF

◆ posVS

SLVec4f lightDataStd140::posVS

◆ posWS

SLVec4f lightDataStd140::posWS

◆ space

SLMat4f lightDataStd140::space[6]

◆ specular

SLVec4f lightDataStd140::specular

◆ spotCosCut

SLfloat lightDataStd140::spotCosCut

◆ spotCutoff

SLfloat lightDataStd140::spotCutoff

◆ spotDirVS

SLVec3f lightDataStd140::spotDirVS

◆ spotDirWS

SLVec3f lightDataStd140::spotDirWS

◆ spotExp

SLfloat lightDataStd140::spotExp

◆ usesCubemap

SLint lightDataStd140::usesCubemap

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