संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कमांड पैनल में, ऐप्लिकेशन की ओर से किए गए कॉल दिखते हैं. इन्हें फ़्रेम और ड्रॉ कॉल या उपयोगकर्ता मार्कर के हिसाब से ग्रुप किया जाता है.
पहली इमेज. OpenGL या Vulkan ट्रेस का शुरुआती व्यूदूसरी इमेज. OpenGL ट्रेस देखनातीसरा डायग्राम. Vulkan ट्रेस देखनाचौथी इमेज. Vulkan ट्रेस में कोई कमांड खोजना
ऑपरेशंस
इस पैनल में ये कार्रवाइयां की जा सकती हैं:
कार्रवाई
ब्यौरा
नतीजा दिखाओ
किसी कमांड या ग्रुप पर क्लिक करके, अन्य पैन को अपडेट करें, ताकि वे चुनी गई कमांड या ग्रुप के बाद की स्थिति दिखा सकें.
कमांड के क्रम को बड़ा या छोटा करें
किसी ग्रुपिंग को बड़ा या छोटा करने के लिए, उसके बाईं ओर मौजूद धूसर रंग के त्रिकोण पर क्लिक करें या ग्रुपिंग पर दो बार क्लिक करें.
खोजें
पैनल में सबसे ऊपर मौजूद खोज बार में कोई स्ट्रिंग टाइप करें. इसके बाद, Return दबाएं (ऊपर दी गई इमेज देखें). अगली बार होने वाली घटना को ढूंढने के लिए, पक्का करें कि बार चुना गया हो. इसके बाद, Return को फिर से दबाएं.
रेगुलर एक्सप्रेशन सर्च पैटर्न का इस्तेमाल करने के लिए, Regex बॉक्स को चुनें.
उदाहरण के लिए, glClear.*, glClear() और glClearColor(), दोनों से मेल खाता है. बफ़र: 2 जैसी कमांड पैरामीटर वैल्यू भी खोजी जा सकती हैं. इनका इस्तेमाल glBindBuffer(). में किया जाता है
बदलाव करें
किसी कमांड पर राइट क्लिक करें और बदलाव करें को चुनें. बदलाव करें डायलॉग में जाकर, एक या उससे ज़्यादा वैल्यू बदलें. इसके बाद, ठीक है पर क्लिक करें.
ध्यान दें: यह सिर्फ़ Vulkan कमांड के लिए मान्य है, OpenGL कमांड के लिए नहीं.
स्टेट या मेमोरी की जानकारी देखना
स्टेट पैरामीटर से जुड़े किसी कमांड आर्ग्युमेंट पर क्लिक करें. जैसे, टेक्सचर आईडी. स्टेट पैनल में ज़्यादा जानकारी दिखती है.
मेमोरी पैनल खोलने के लिए, किसी मेमोरी पते या पॉइंटर पर क्लिक करें.
ध्यान दें: यह सिर्फ़ Vulkan कमांड के लिए मान्य है, OpenGL कमांड के लिए नहीं.
कमांड कॉपी करना
पेन में मौजूद आइटम चुनें और Control+C (या Command+C) दबाकर, आर्ग्युमेंट वैल्यू के साथ कमांड कॉपी करें. इस जानकारी को किसी टेक्स्ट फ़ाइल में चिपकाया जा सकता है.
थंबनेल को ज़ूम करके दिखाता है
थंबनेल, कॉल के बाईं ओर दिखता है. इसे यहां दी गई इमेज में दिखाया गया है. थंबनेल को बड़ा करने के लिए, उस पर कर्सर घुमाएं.
OpenGL ES कमांड हैरारकी
OpenGL ES के निर्देशों को Vulkan में बदला जाता है. इसके बाद, Vulkan के निर्देशों का विश्लेषण किया जाता है. इस वजह से, OpenGL ES के निर्देश, OpenGL ES और Vulkan, दोनों के साथ दिखाए जाते हैं. साथ ही, ज़्यादा जानकारी वाली हैरारकी में भी ये निर्देश दिखते हैं. ऊपर दिए गए उदाहरण में, आपको RenderPass के तहत कई glDrawElement कमांड दिख सकती हैं. दूसरी glDrawElements कमांड हैरारकी को बड़ा किया गया है. इसमें OpenGL ES Commands और DrawIndexed दिख रहा है. इन दोनों हैरारकी को बड़ा करके, OpenGL ES से जुड़ी कमांड के साथ-साथ उन Vulkan कमांड को दिखाया जा सकता है जिनमें उन्हें बदला गया था.
OpenGL ES और Vulkan के बीच एक-से-एक का संबंध नहीं है. इसलिए, हो सकता है कि दोनों में कुछ अंतर हो. उदाहरण के लिए, पहली glDraw* कमांड से पहले आने वाली glClear कमांड, RenderPass से पहले दिखती है. glClear की हैरारकी को बड़ा करने पर, कोई Vulkan कमांड नहीं दिखेगी. ऐसा इसलिए है, क्योंकि
Vulkan RenderPass शुरू करने के दौरान, क्लियर ऑपरेशन को बाद में किया जाएगा.
मार्कर डीबग करना
आपके ऐप्लिकेशन के हिसाब से, कमांड पैनल में एक ही फ़्रेम में कमांड की लंबी सूची हो सकती है. बेहतर नेविगेशन और पढ़ने में आसानी के लिए, डीबग मार्कर तय किए जा सकते हैं. ये मार्कर, ट्री में एक हेडिंग के नीचे कॉल को ग्रुप करते हैं. इसमें ग्रुपिंग शामिल हो सकती है. उदाहरण के लिए, "सेटअप" या "रेंडर वर्ल्ड" नाम का ग्रुप.
अगर डीबग मार्कर चालू हैं, तो इस जानकारी का लिंक देखने के लिए, कमांड पैन पर क्लिक करें. कमांड को ग्रुप करने के लिए, OpenGL ES में ये एपीआई होते हैं:
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Commands pane\n\nThe Commands pane displays the calls made by the application, grouped by frame and draw call or by user markers.\n**Figure 1.**Initial View of either an OpenGL or Vulkan trace **Figure 2.**Viewing an OpenGL trace **Figure 3.**Viewing a Vulkan trace **Figure 4.**Searching for a command in a Vulkan trace\n\nOperations\n----------\n\nYou can perform the following operations in this pane:\n\n| Operation | Description |\n|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Show result | Click a command or group to update the other panes to reflect the state after the selected command or group. |\n| Expand or collapse the command hierarchy | Click the gray triangle to the left of a grouping or double-click the grouping to expand or collapse it. |\n| Search | Type a string in the search bar at the top of the pane, and then press **Return** (see the preceding image). To find the next occurrence, make sure the bar is selected and press **Return** again. Select the **Regex** box to use a regular expression search pattern. For example, `glClear.*` matches both commands `glClear()` and `glClearColor()`. You can also search for command parameter values such as buffer: `2`, which is used in `glBindBuffer().` |\n| Edit | Right-click a command and select **Edit** . In the **Edit** dialog, change one or more values and click **OK**. Note: This is only valid for Vulkan commands, and not for OpenGL commands. |\n| View state or memory information | Click a command argument that refers to a state parameter, such as a texture ID. The **State** pane displays additional information. Click a memory address or pointer to open the **Memory** pane. Note: This is only valid for Vulkan commands, and not for OpenGL commands. |\n| Copy commands | Select items in the pane and press Control+C (or Command+C) to copy commands with their argument values. You can paste this information into a text file. |\n| Magnify thumbnail | The thumbnail appears to the left of a call as shown in the following image. Hover the cursor over the thumbnail to enlarge it. |\n\nOpenGL ES command hierarchy\n---------------------------\n\nOpenGL ES commands are translated to Vulkan, and the Vulkan commands are\nanalyzed. As a result, OpenGL ES commands are shown with both OpenGL ES and\nVulkan commands shown in the expanded hierarchy. In the preceding example, you can\nsee multiple `glDrawElement` commands under the `RenderPass`. The second\n`glDrawElements` command hierarchy was expanded, and shows **OpenGL ES Commands**\nand **DrawIndexed**. You can expand both of these hierarchies to show the\nrelated OpenGL ES commands, as well as the Vulkan commands that they were translated\ninto.\n\nBecause there isn't a one-to-one relationship between OpenGL ES and Vulkan,\nthere may be some differences. For example, a `glClear` command that occurs\nbefore the first `glDraw*` command appears before a `RenderPass`. If you expand\nthe hierarchy of the `glClear`, there will be no Vulkan commands. That is because\nthe clear will be deferred and done as part of starting the Vulkan `RenderPass`.\n\nDebug markers\n-------------\n\nDepending on your app, the **Commands** pane can contain a very long list of\ncommands within one frame. For better navigation and readability, you can define\ndebug markers that group calls together under a heading in the tree. This could\ninclude a grouping, for example, named \"Setup\" or \"Render World.\"\n\nIf debug markers are enabled, click the **Commands** pane to reveal a\nlink to this information. OpenGL ES has the following APIs to group commands:\n\n| EXTENSION / VERSION | PUSH | POP |\n|-----------------------------------------------------------------------------------------------|-------------------------|------------------------|\n| [KHR_debug](https://www.khronos.org/registry/gles/extensions/KHR/KHR_debug.txt) | `glPushDebugGroupKHR()` | `glPopDebugGroupKHR()` |\n| [EXT_debug_marker](https://www.khronos.org/registry/gles/extensions/EXT/EXT_debug_marker.txt) | `String` | `String` |\n| [OpenGL ES 3.2](https://www.khronos.org/opengles/sdk/docs/man32/html/glPopDebugGroup.xhtml) | `String` | `String` |\n\nVulkan has the following APIs to group commands:\n\n| EXTENSION / VERSION | PUSH | POP |\n|-------------------------------------------------------------------------------------------------------------------------------|-------------------------|------------------------|\n| [VK_EXT_debug_marker](https://github.com/KhronosGroup/Vulkan-Docs/blob/1.0/doc/specs/vulkan/chapters/VK_EXT_debug_marker.txt) | `glPushDebugGroupKHR()` | `glPopDebugGroupKHR()` |"]]