![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrenderlight_p.h>
Public Types | |
enum class | DirtyFlag : quint8 { LightDirty = 0x1 } |
enum class | SoftShadowQuality { Hard = 0 , PCF4 , PCF8 , PCF16 , PCF32 , PCF64 } |
using | FlagT = std::underlying_type_t<DirtyFlag> |
Public Types inherited from QSSGRenderNode | |
enum class | LocalState : quint8 { Active = 1 << 0 , Pickable = 1 << 1 } |
enum class | GlobalState : quint8 { Active = 1 << 2 , Pickable = 1 << 3 } |
enum class | DirtyFlag : quint32 { TransformDirty = 1 << 4 , OpacityDirty = 1 << 5 , ActiveDirty = 1 << 6 , PickableDirty = 1 << 7 , TagDirty = 1 << 8 , SubNodeDirty = 1 << 9 , GlobalValuesDirty = TransformDirty | OpacityDirty | ActiveDirty | PickableDirty , DirtyMask = GlobalValuesDirty | SubNodeDirty } |
using | FlagT = std::underlying_type_t<DirtyFlag> |
using | ChildList = QSSGInvasiveLinkedList<QSSGRenderNode, &QSSGRenderNode::previousSibling, &QSSGRenderNode::nextSibling> |
Public Types inherited from QSSGRenderGraphObject | |
enum | BaseType : quint32 { Node = 0x1000 , Light = 0x2000 , Camera = 0x4000 , Renderable = 0x8000 , Resource = 0x10000 , Material = 0x20000 , Texture = 0x40000 , Extension = 0x80000 , User = 0x80000000 } |
enum class | Type : quint32 { Unknown = 0 , Node = BaseType::Node , Root , Layer , Joint , Skeleton , ImportScene , ReflectionProbe , DirectionalLight = BaseType::Light | BaseType::Node , PointLight , SpotLight , OrthographicCamera = BaseType::Camera | BaseType::Node , PerspectiveCamera , CustomFrustumCamera , CustomCamera , Model = BaseType::Renderable | BaseType::Node , Item2D , Particles , SceneEnvironment = BaseType::Resource , Effect , Geometry , TextureData , MorphTarget , ModelInstance , ModelBlendParticle , ResourceLoader , DefaultMaterial = BaseType::Material | BaseType::Resource , PrincipledMaterial , CustomMaterial , SpecularGlossyMaterial , Skin , Image2D = BaseType::Texture | BaseType::Resource , ImageCube , RenderExtension = BaseType::Extension , TextureProvider } |
enum class | Flags : quint32 { HasGraphicsResources = 0x1 } |
using | TypeT = std::underlying_type_t<Type> |
using | FlagT = std::underlying_type_t<Flags> |
Static Public Attributes | |
static constexpr DirtyFlag | DirtyMask { std::numeric_limits<FlagT>::max() } |
Static Public Attributes inherited from QSSGRenderNode | |
static constexpr QVector3D | initScale { 1.0f, 1.0f, 1.0f } |
Additional Inherited Members | |
Static Public Member Functions inherited from QSSGRenderNode | |
static QMatrix4x4 | calculateTransformMatrix (QVector3D position, QVector3D scale, QVector3D pivot, QQuaternion rotation) |
static QVector3D | getGlobalPos (const QMatrix4x4 &globalTransform) |
static QVector3D | getDirection (const QMatrix4x4 &globalTransform) |
static QVector3D | getScalingCorrectDirection (const QMatrix4x4 &globalTransform) |
static void | calculateMVP (const QMatrix4x4 &globalTransform, const QMatrix4x4 &inViewProjection, QMatrix4x4 &outMVP) |
static void | calculateNormalMatrix (const QMatrix4x4 &globalTransform, QMatrix3x3 &outNormalMatrix) |
static void | calculateMVPAndNormalMatrix (const QMatrix4x4 &globalTransfor, const QMatrix4x4 &inViewProjection, QMatrix4x4 &outMVP, QMatrix3x3 &outNormalMatrix) |
static float | signedSquared (float val) |
Static Public Member Functions inherited from QSSGRenderGraphObject | |
static constexpr bool | isNodeType (Type type) noexcept |
static constexpr bool | isLight (Type type) noexcept |
static constexpr bool | isCamera (Type type) noexcept |
static constexpr bool | isMaterial (Type type) noexcept |
static constexpr bool | isTexture (Type type) noexcept |
static constexpr bool | isRenderable (Type type) noexcept |
static constexpr bool | isResource (Type type) noexcept |
static constexpr bool | isExtension (Type type) noexcept |
static constexpr bool | isUserType (Type type) noexcept |
Protected Member Functions inherited from QSSGRenderGraphObject | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType) | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags) |
Definition at line 25 of file qssgrenderlight_p.h.
using QSSGRenderLight::FlagT = std::underlying_type_t<DirtyFlag> |
Definition at line 31 of file qssgrenderlight_p.h.
|
strong |
Enumerator | |
---|---|
LightDirty |
Definition at line 27 of file qssgrenderlight_p.h.
|
strong |
Enumerator | |
---|---|
Hard | |
PCF4 | |
PCF8 | |
PCF16 | |
PCF32 | |
PCF64 |
Definition at line 34 of file qssgrenderlight_p.h.
|
explicit |
Definition at line 9 of file qssgrenderlight.cpp.
Definition at line 38 of file qssgrenderlight.cpp.
Definition at line 88 of file qssgrenderlight_p.h.
|
inlinenodiscard |
Definition at line 86 of file qssgrenderlight_p.h.
Definition at line 32 of file qssgrenderlight.cpp.
Definition at line 43 of file qssgrenderlight_p.h.
QVector3D QSSGRenderLight::m_ambientColor |
Definition at line 48 of file qssgrenderlight_p.h.
bool QSSGRenderLight::m_bakingEnabled = false |
Definition at line 72 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_brightness |
Definition at line 52 of file qssgrenderlight_p.h.
bool QSSGRenderLight::m_castShadow |
Definition at line 61 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_coneAngle |
Definition at line 57 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_constantFade |
Definition at line 53 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_csmBlendRatio = 0.05f |
Definition at line 80 of file qssgrenderlight_p.h.
int QSSGRenderLight::m_csmNumSplits = 0 |
Definition at line 79 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_csmSplit1 = 0.1f |
Definition at line 76 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_csmSplit2 = 0.25f |
Definition at line 77 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_csmSplit3 = 0.5f |
Definition at line 78 of file qssgrenderlight_p.h.
QVector3D QSSGRenderLight::m_diffuseColor |
Definition at line 46 of file qssgrenderlight_p.h.
bool QSSGRenderLight::m_fullyBaked = false |
Definition at line 73 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_innerConeAngle |
Definition at line 58 of file qssgrenderlight_p.h.
FlagT QSSGRenderLight::m_lightDirtyFlags = 0 |
Definition at line 60 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_linearFade |
Definition at line 54 of file qssgrenderlight_p.h.
bool QSSGRenderLight::m_lockShadowmapTexels = false |
Definition at line 81 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_pcfFactor = 2.0f |
Definition at line 69 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_quadraticFade |
Definition at line 55 of file qssgrenderlight_p.h.
QSSGRenderNode* QSSGRenderLight::m_scope |
Definition at line 45 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_shadowBias |
Definition at line 62 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_shadowFactor |
Definition at line 63 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_shadowFilter |
Definition at line 66 of file qssgrenderlight_p.h.
float QSSGRenderLight::m_shadowMapFar |
Definition at line 65 of file qssgrenderlight_p.h.
quint32 QSSGRenderLight::m_shadowMapRes |
Definition at line 64 of file qssgrenderlight_p.h.
SoftShadowQuality QSSGRenderLight::m_softShadowQuality = SoftShadowQuality::PCF4 |
Definition at line 67 of file qssgrenderlight_p.h.
QVector3D QSSGRenderLight::m_specularColor |
Definition at line 47 of file qssgrenderlight_p.h.
bool QSSGRenderLight::m_use32BitShadowmap = false |
Definition at line 70 of file qssgrenderlight_p.h.