Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
GSLight Struct Reference

#include <GPUScene.hpp>

Public Attributes

uint32_t type {0u}
 
float3 color {1,1,1}
 
float power {1.0f}
 
float3 position {0,0,0}
 
float3 direction {0,0,-1}
 
float range {0.0f}
 
float spotInnerCosAngle {1.0f}
 
float spotOuterCosAngle {0.7071f}
 
float3 dpdu {1,0,0}
 
float3 dpdv {0,1,0}
 
float2 radius {0.5f, 0.5f}
 
uint32_t twoSided {0u}
 
float selectionWeight {0.0f}
 

Member Data Documentation

◆ color

float3 GSLight::color {1,1,1}

◆ direction

float3 GSLight::direction {0,0,-1}

◆ dpdu

float3 GSLight::dpdu {1,0,0}

◆ dpdv

float3 GSLight::dpdv {0,1,0}

◆ position

float3 GSLight::position {0,0,0}

◆ power

float GSLight::power {1.0f}

◆ radius

float2 GSLight::radius {0.5f, 0.5f}

◆ range

float GSLight::range {0.0f}

◆ selectionWeight

float GSLight::selectionWeight {0.0f}

◆ spotInnerCosAngle

float GSLight::spotInnerCosAngle {1.0f}

◆ spotOuterCosAngle

float GSLight::spotOuterCosAngle {0.7071f}

◆ twoSided

uint32_t GSLight::twoSided {0u}

◆ type

uint32_t GSLight::type {0u}

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