Clarify vertex input bindings
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 78/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Domínio
- documentation
Direção de pesquisa
Comece pela seção 'Binding descriptions' do capítulo sobre a descrição de entrada de vértices no tutorial, que a issue vincula e cita. A issue propõe um texto substituto que primeiro define um binding de entrada de vértices como um slot numerado, depois trata de stride e inputRate e, por fim, observa que bindVertexBuffers() é abordado no próximo capítulo. Está concluído quando a seção é lida nessa ordem; um diagrama é opcional. O payload não informa o arquivo de origem, então encontre-o a partir do título da seção.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C++
- Estrelas
- 434
- Forks
- 135
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de KhronosGroup/Vulkan-Tutorial
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
KhronosGroup/Vulkan-Tutorial#528 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
KhronosGroup/Vulkan-Tutorial#525 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
-
Multithreading chapter still talks about render passesTalvez já em andamento @SaschaWillems assumiu há 24 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
KhronosGroup/Vulkan-Tutorial#519 · 1 responsável ·
-
Use of old `transitionImageLayout` in later chaptersTalvez já em andamento @gpx1000 assumiu há 24 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
KhronosGroup/Vulkan-Tutorial#508 · 1 responsável ·
Todas as issues de KhronosGroup/Vulkan-Tutorial
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
README: CI link/badge checkAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
SCIInstitute/SCIRun#2842 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
agent:Windows bug code-review LOW testing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
Mantenedores costumam responder em até 1 dia
-
good first issue help wanted language:fr translation
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
mrvi0/cli-cheatsheet#160 ·