Skip to content

Commit fb4cc1a

Browse files
committed
Fix note on indexed draw parameters
1 parent efbb8c2 commit fb4cc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/04_Vertex_buffers/03_Index_buffer.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ The first two parameters specify the number of indices and the number of instanc
144144
We're not using instancing, so just specify `1` instance.
145145
The number of indices represents the number of vertices that will be passed to the vertex shader.
146146
The next parameter specifies an offset into the index buffer, using a value of `1` would cause the graphics card to start reading at the second index.
147-
The second to last parameter specifies an offset to add to the indices in the index buffer.
147+
The second to last parameter specifies an offset to add to the vertex index before indexing into the vertex buffer.
148148
The final parameter specifies an offset for instancing, which we're not using.
149149

150150
Now run your program and you should see the following:

0 commit comments

Comments
 (0)