-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
help requiredWe need community help to make this happen.We need community help to make this happen.needs informationFurther information is requestedFurther information is requestedtype: enhancementNew feature or requestNew feature or request
Milestone
Description
I may be misunderstanding the API, but it doesn't seem like it's possible to have uniform data (eg. transformations) per object/draw call. I'm guessing this can be done if offsets were passed in to RenderPass::set_bind_group
:
pass.raw.bind_graphics_descriptor_sets(
&&pipeline_layout_guard[pipeline_layout_id].raw,
index as usize,
bind_groups,
&[], // <--------- here
);
or if there was access to push constants.
Is there another way to have per-draw uniform data?
I'm refering to this for vulkan: https://github.com/nvpro-samples/gl_vk_threaded_cadscene/blob/master/doc/vulkan_uniforms.md
Metadata
Metadata
Assignees
Labels
help requiredWe need community help to make this happen.We need community help to make this happen.needs informationFurther information is requestedFurther information is requestedtype: enhancementNew feature or requestNew feature or request