-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support base index/instance #355
Labels
Comments
Don't we already have the begin/end points? What would need to be added? |
The base index and the base instance. We don't have it. These are used with special calls:
|
emberian
added a commit
to emberian/gfx-rs
that referenced
this issue
Nov 7, 2014
This removes `IndexCount`, as it will never be distinct from `VertexCount`, and cleans up the `Slice` representation to factor out common fields with names, because it was becoming unmanageable. Changes the `DrawCommand` slightly to take a buffer handle when binding the index buffer, because the size of the buffer is needed in the fallback for when base indexes are not supported. This code path should be very rare. First half of gfx-rs#355
emberian
added a commit
to emberian/gfx-rs
that referenced
this issue
Nov 7, 2014
emberian
added a commit
to emberian/gfx-rs
that referenced
this issue
Nov 7, 2014
This removes `IndexCount`, as it will never be distinct from `VertexCount`, and cleans up the `Slice` representation to factor out common fields with names, because it was becoming unmanageable. Changes the `DrawCommand` slightly to take a buffer handle when binding the index buffer, because the size of the buffer is needed in the fallback for when base indexes are not supported. This code path should be very rare. First half of gfx-rs#355
adamnemecek
pushed a commit
to adamnemecek/gfx
that referenced
this issue
Apr 1, 2021
356: Allow max_bind_groups to be missing, for now r=kvark a=kvark Fixes gfx-rs#355 Co-authored-by: Dzmitry Malyshau <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.opengl.org/wiki/Vertex_Rendering#Base_Index
This function will allow more efficient re-usal of meshes, possibly for Hematite.
This should be a part of the
Slice
, but we don't wantSlice
interface to explode.The text was updated successfully, but these errors were encountered: