Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGComputeLightContext Struct Reference

#include <qssglayerrenderdata_p.h>

Collaboration diagram for QSSGComputeLightContext:

Public Member Functions

void reset ()

Public Attributes

QRhiBuffer * lightBuffer = nullptr
QRhiBuffer * dirLightBuffer = nullptr
QByteArray lightData
QByteArray dirLightData
int dirLights = 0
int spotLights = 0
int pointLights = 0
QSSGRenderLight::SoftShadowQuality maxSoftShadowQuality = QSSGRenderLight::SoftShadowQuality::Hard

Detailed Description

Definition at line 334 of file qssglayerrenderdata_p.h.

Member Function Documentation

◆ reset()

void QSSGComputeLightContext::reset ( )
inline

Definition at line 345 of file qssglayerrenderdata_p.h.

References dirLights, pointLights, and spotLights.

Member Data Documentation

◆ dirLightBuffer

QRhiBuffer* QSSGComputeLightContext::dirLightBuffer = nullptr

Definition at line 337 of file qssglayerrenderdata_p.h.

◆ dirLightData

QByteArray QSSGComputeLightContext::dirLightData

Definition at line 339 of file qssglayerrenderdata_p.h.

◆ dirLights

int QSSGComputeLightContext::dirLights = 0

Definition at line 341 of file qssglayerrenderdata_p.h.

Referenced by reset().

◆ lightBuffer

QRhiBuffer* QSSGComputeLightContext::lightBuffer = nullptr

Definition at line 336 of file qssglayerrenderdata_p.h.

◆ lightData

QByteArray QSSGComputeLightContext::lightData

Definition at line 338 of file qssglayerrenderdata_p.h.

◆ maxSoftShadowQuality

QSSGRenderLight::SoftShadowQuality QSSGComputeLightContext::maxSoftShadowQuality = QSSGRenderLight::SoftShadowQuality::Hard

Definition at line 344 of file qssglayerrenderdata_p.h.

◆ pointLights

int QSSGComputeLightContext::pointLights = 0

Definition at line 343 of file qssglayerrenderdata_p.h.

Referenced by reset().

◆ spotLights

int QSSGComputeLightContext::spotLights = 0

Definition at line 342 of file qssglayerrenderdata_p.h.

Referenced by reset().


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