Jump to content
  • Advertisement
Sign in to follow this  
ZachBethel

[D3D12]: D3D12_RESOURCE_DIMENSION_UNKNOWN?

This topic is 896 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It looks like you're allowed to create a resource with an unknown dimension, as opposed to an explicit buffer, texture{1d, 2d, 3d}.

 

What does that mean, practically? Is it possible to create a raw buffer and then create views that map it as 2D, for instance? The MSDN docs don't really explain what this means at the driver or even SDK level.

Share this post


Link to post
Share on other sites
Advertisement

Weird. I set a small project to swap buffers with unknowns and it seemed to work fine. Didn't like textures to be unknowns though. Not really sure how this would be useful -- you can't view a buffer as a texture because how do you specify the dimensions? 

 

Edit: I think it's just creating them as buffers. The object viewer in the vs debugger lists them as buffers. 

Edited by Dingleberry

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!