Obsolete Members for RenderCapture

QML タイプ「 RenderCapture」の以下のメンバは非推奨となっています。これらは、古いソースコードが引き続き動作するように提供されているものです。新しいコードでの使用は強く推奨しません。

メソッド

メソッドのドキュメント

[deprecated] RenderCaptureReply requestCapture(int captureId)

このメソッドは非推奨です。新しいコードでの使用は強く推奨しません。

レンダリングキャプチャを要求するために使用されます。 ユーザーは、リクエストを識別するためにcaptureId を指定できます。requestIdは一意である必要はありません。フレームグラフに複数のリーフノードがある場合でも、requestCaptureの呼び出しごとに生成されるレンダリングキャプチャの結果は1つだけです。この関数はQRenderCaptureReplyオブジェクトを返し、処理が完了するとキャプチャされた画像を受け取ります。返されたオブジェクトの解放は、ユーザーの責任で行ってください。


© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.