Jump to content
  • Advertisement
Mercesa

Vulkan Binding different textures to descriptor sets?

Recommended Posts

When loading in a model with a lot of meshes that have different materials that contain different textures, how would you handle this in Vulkan?

Is it possible to partially change a DescriptorSet with a WriteDescriptorSet object? Even if it is possible, it does not sound ideal to update the descriptor set for every mesh. I am aware of the boundless texture arrays in shader model 5.0+, but for now I want to keep it as simple as possible.

Edited by Mercesa

Share this post


Link to post
Share on other sites
Advertisement

If in GL/D3D11 you used to change textures for each mesh, that's equivalent to creating a new descriptor set for every mesh now in Vulkan/D3D12.

Share this post


Link to post
Share on other sites

Very clear and concise answer Hodgeman, thanks! :) How about descriptor pools then? I know in Dx12 you have descriptor heaps, but Vulkan its descriptor pool system is a bit confusing.

Are there any good resources on Vulkan descriptor set/pool management?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!