Panel bufora ramek
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
W panelu Framebuffer (Bufor ramki) wyświetlana jest zawartość aktualnie powiązanego bufora ramki.
W zależności od elementu wybranego w panelu Commands (Polecenia) w panelu Framebuffer (Bufor ramki) mogą być wyświetlane bufory ramki na ekranie lub poza nim.

Gdy wybierzesz polecenie w panelu Polecenia, w panelu Framebuffer wyświetli się zawartość bufora ramki po zakończeniu wywołania. Jeśli wybierzesz grupę poleceń, wyświetli się bufor ramki, który najlepiej ją reprezentuje. Zwykle jest to bufor ramki po zakończeniu ostatniego wywołania w grupie.
Zacznij od wybrania pierwszego wywołania w ramce, a potem klikaj kolejne wywołania, aby obserwować, jak komponenty bufora ramki są rysowane jeden po drugim aż do końca ramki. Te wyświetlacze bufora ramki, zarówno w przypadku grafiki na ekranie, jak i poza nim, pomagają zlokalizować źródło błędów renderowania.
Przesuń kursor nad obrazem, aby w lewym dolnym rogu widoku wyświetlić powiększony podgląd otaczających pikseli, jak na powyższym obrazie. W tym panelu wyświetlana jest też szerokość i wysokość obrazu, a także współrzędne x i y, znormalizowane współrzędne obrazu (wartości U i V) oraz szesnastkowy kod RBGA dla danego punktu na obrazie.
Wybieranie różnych załączników
Bufor ramki może zawierać wiele załączników. Możesz wybrać załącznik, który chcesz wyświetlić, i kliknąć Pokaż załączniki lub Ukryj załączniki. Miniatury załączników są oznaczone typem załącznika (np. COLOR, DEPTH i INPUT) oraz jego indeksem.
Po wybraniu załącznika w lewym górnym rogu pojawi się widok główny.
Zarządzanie
Za pomocą tych przycisków możesz wykonywać operacje na obrazie bufora ramki:
Przycisk |
Opis |
Przykładowy wynik |
|
Renderuje zacienioną geometrię obrazu. |
|
|
Wyświetla szkielet obrazu. |
|
|
Dopasowuje obraz tak, aby w całości mieścił się w panelu. Możesz też kliknąć obraz prawym przyciskiem myszy, aby dostosować powiększenie do obrazu.
|
|
|
Wyświetla obraz bez skalowania, gdzie 1 piksel urządzenia odpowiada 1 pikselowi ekranu. |
|
|
Powiększa obraz. Aby powiększyć lub pomniejszyć widok, możesz też użyć kółka przewijania myszy lub przesunąć dwoma palcami po touchpadzie. Możesz przeciągnąć obraz kursorem. |
|
|
Pomniejsza obraz. Aby powiększyć lub pomniejszyć widok, możesz też użyć kółka przewijania myszy lub przesunąć dwoma palcami po touchpadzie. |
|
|
Wyświetla histogram kolorów obrazu. Możesz wybrać uchwyty po obu stronach, aby ograniczyć wyświetlane wartości kolorów.
|
|
|
Wybierz kanały kolorów do renderowania. Dostępne są opcje Czerwony, Zielony, Niebieski i Alfa (przezroczystość). |
|
|
Wybierz wzór szachownicy lub jednolity kolor tła obrazu. |
|
|
Odwraca obraz w pionie. |
|
|
Zapisuje obraz w pliku. |
|
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Framebuffer pane\n\nThe **Framebuffer** pane shows the contents of the currently-bound framebuffer.\nDepending on the item you select in the **Commands** pane, the **Framebuffer**\npane can show onscreen or offscreen framebuffers.\n\nWhen you select a command in the **Commands** pane, the **Framebuffer** pane displays the contents of the framebuffer after that call finishes. If you select a command group, it displays the framebuffer that best represents the group. Typically, this is the framebuffer after the last call in the group finishes.\n\nStart by selecting the first call within a frame, then click each successive\ncall to watch the framebuffer components draw one-by-one until the end of the\nframe. These framebuffer displays, for both onscreen and offscreen graphics, help you to locate the source of any rendering errors.\n\nMove the cursor over the image to display a zoomed-in preview of the surrounding pixels in the bottom-left hand corner of the view as in the image above. The pane also shows the image width and height\nas well as the *x* and *y* coordinates, normalized image coordinates (U and V\nvalues), and RBGA hex value for that point on the image.\n\nSelect different attachments\n----------------------------\n\nA framebuffer can contain multiple attachments. You can select which\nattachment to display and click **Show Attachments** or **Hide Attachments** as\nneeded. Attachment thumbnails are labeled with the type of the attachment\n(for example, COLOR, DEPTH, and INPUT) as well as its index.\n\nOnce you select an attachment, the main view displays in the upper left corner.\n\nOperations\n----------\n\nYou can perform operations on the framebuffer image using the following buttons:\n\n| Button | Description | Example Result |\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|\n| | Renders the shaded geometry of the image. | |\n| | Shows the wireframe of the image. | |\n| | Adjusts the image to fit completely within the pane. You can also right-click the image to adjust the zoom to fit the image. | |\n| | Displays the image at no scale, where one device pixel is equivalent to one screen pixel. | |\n| | Zooms in on the image. You can also use your mouse wheel, or two-finger swipes on a touchpad, to zoom in and out. You can drag the image with your cursor. | |\n| | Zooms out on the image. You can also use your mouse wheel, or two-finger swipes on a touchpad, to zoom in and out. | |\n| | Displays the color histogram for the image. You can select the control handles on either side to limit the color values displayed. | |\n| | Select the color channels to render. The options are **Red** , **Green** , **Blue** , and **Alpha** (transparency). | |\n| | Select a checkerboard pattern or a solid color for the image background. | |\n| | Flips the image vertically. | |\n| | Saves the image to a file. | |"]]