Dirty flags
Compare changes
Files
3- Mårten Nordheim authored
Also some drive-by changes: - Remove always-true nullptr check - Only go through the loadRenderImage-branch if we were dirty
+ 39
− 13
@@ -36,6 +36,7 @@
@@ -123,6 +124,7 @@ void QQuick3DTexture::setSource(const QUrl &source)
@@ -179,6 +181,7 @@ void QQuick3DTexture::setScaleU(float scaleU)
@@ -189,6 +192,7 @@ void QQuick3DTexture::setScaleV(float scaleV)
@@ -229,6 +233,7 @@ void QQuick3DTexture::setRotationUV(float rotationUV)
@@ -239,6 +244,7 @@ void QQuick3DTexture::setPositionU(float positionU)
@@ -249,6 +255,7 @@ void QQuick3DTexture::setPositionV(float positionV)
@@ -259,6 +266,7 @@ void QQuick3DTexture::setPivotU(float pivotU)
@@ -269,6 +277,7 @@ void QQuick3DTexture::setPivotV(float pivotV)
@@ -290,18 +299,31 @@ QDemonRenderGraphObject *QQuick3DTexture::updateSpatialNode(QDemonRenderGraphObj
@@ -346,12 +368,16 @@ QDemonRenderGraphObject *QQuick3DTexture::updateSpatialNode(QDemonRenderGraphObj