Clarify vertex input bindings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu từ mục "Binding descriptions" trong chương mô tả vertex input của hướng dẫn, mục mà issue liên kết và trích dẫn. Issue đề xuất một đoạn văn thay thế, trước hết định nghĩa vertex input binding là một slot được đánh số, sau đó đề cập đến stride và inputRate, và cuối cùng ghi chú rằng bindVertexBuffers() sẽ được trình bày ở chương tiếp theo. Công việc hoàn thành khi mục được đọc theo đúng thứ tự này; sơ đồ là tùy chọn. Payload không nêu tên tệp nguồn, vì vậy hãy tìm nó dựa trên tiêu đề của mục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In the Binding descriptions section, the tutorial introduces vertex input bindings with the following explanation:
A vertex binding describes at which rate to load data from memory throughout the vertices. It specifies the number of bytes between data entries and whether to move to the next data entry after each vertex or after each instance.
I found this explanation confusing because it describes the properties of a vertex input binding, particularly stride and inputRate, without first explaining what a vertex input binding actually represents.
My understanding is that a vertex input binding is a numbered input slot that can be associated with a vertex buffer. The binding description specifies how data from that slot should be accessed, while vertex attribute descriptions specify which binding supplies each attribute.
The actual vertex buffer is associated with the slot separately, using bindVertexBuffers(), which is introduced in the next chapter
I think the section would be easier to follow if it first introduced the concept of a vertex input binding before explaining its properties.
For example, the explanation could be revised to:
A vertex input binding is a numbered slot used to supply vertex attribute data. Multiple vertex attributes can reference the same binding.
Each binding has a description that specifies the stride between consecutive data entries and whether the data is accessed per vertex or per instance.
At this point, we're only describing how the data should be accessed. In the next chapter, we'll use
bindVertexBuffers()to associate an actual vertex buffer with this binding.
This would clarify the distinction between a binding itself, its description, and the actual buffer associated with it. Even better, we can use a diagram to illustrate this.
- Ngôn ngữ chính
- C++
- Star
- 434
- Fork
- 135
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KhronosGroup/Vulkan-Tutorial
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
KhronosGroup/Vulkan-Tutorial#528 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
KhronosGroup/Vulkan-Tutorial#525 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
-
Multithreading chapter still talks about render passesCó thể đã có người làm @SaschaWillems đã nhận 25 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
KhronosGroup/Vulkan-Tutorial#519 · 1 người được giao ·
-
Use of old `transitionImageLayout` in later chaptersCó thể đã có người làm @gpx1000 đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
KhronosGroup/Vulkan-Tutorial#508 · 1 người được giao ·
Tất cả issue của KhronosGroup/Vulkan-Tutorial
Issue tương tự
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB MacsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
champion good first issue remake source/qq
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
metasequoiaime/msime-windows#1025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
EchoTools/nevr-runtime#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
InfiniTimeOrg/InfiniTime#2492 ·