Obsolete Members for QRenderCapture

以下成员源于类 QRenderCapture 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) dumpObjectInfo ()
(obsolete) dumpObjectTree ()
(obsolete) Qt3DRender::QRenderCaptureReply * requestCapture (int captureId ) [见下文注意事项]

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .

成员函数文档编制

Qt3DRender::QRenderCaptureReply *QRenderCapture:: requestCapture ( int captureId )

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

Used to request render capture. User can specify a captureId to identify the request. The requestId does not have to be unique. Only one render capture result is produced per requestCapture call even if the frame graph has multiple leaf nodes. The function returns a QRenderCaptureReply object, which receives the captured image when it is done. The user is responsible for deallocating the returned object.

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .