RenderStateSet QML Type

The RenderStateSet FrameGraph node offers a way of specifying a set of RenderState objects to be applied during the execution of a framegraph branch. 更多...

import 語句: import
Since: Qt 5.5
實例化: QRenderStateSet
繼承: FrameGraphNode

特性

詳細描述

States set on a RenderStateSet are set globally, contrary to the per-material states that can be set on a RenderPass . By default, an empty RenderStateSet will result in all render states being disabled when executed. Adding a RenderState state explicitly enables that render state at runtime.

另請參閱 RenderState and RenderPass .

特性文檔編製

renderStates : list < RenderState >

Holds the list of RenderState objects used by the RenderStateSet .