


Returns a pointer to the data for the uniform (constant) buffer in the shader. This is typically used by QSGMaterialShader::updateSampledImage() to enqueue texture image content updates. Returns a resource update batch to which upload and copy operatoins can be queued. QRhiResourceUpdateBatch *RenderState:: resourceUpdateBatch() QMatrix4x4 RenderState:: projectionMatrix() const Returns the accumulated opacity to be used for rendering. In a situation such as the above, it is still possible to retrieve the actual matrix determinant by setting the RequiresDeterminant flag in the material and calling the determinant() accessor. For example, it may pre-transform vertices on the CPU and set this matrix to identity. However, if this flag is not set, the renderer may choose to alter this matrix. If the material has the RequiresFullMatrix flag set, this is guaranteed to be the complete transform matrix calculated from the scenegraph. QMatrix4x4 RenderState:: modelViewMatrix() const Returns true if the dirtyStates() contains the dirty opacity state, otherwise returns false. bool RenderState:: isOpacityDirty() const Returns true if the dirtyStates() contain the dirty matrix state, otherwise returns false. Returns which rendering states that have changed and needs to be updated for geometry rendered with this material to conform to the current rendering state. Returns the device rect of the surface being rendered to RenderState::DirtyStates RenderState:: dirtyStates() const Returns the ratio between physical pixels and device-independent pixels to be used for rendering. float RenderState:: devicePixelRatio() const Returns the modelview determinant to be used for rendering. Returns the matrix combined of modelview matrix and project matrix. Member Function Documentation QMatrix4x4 RenderState:: combinedMatrix() const
