Jump to content
  • Advertisement
Sign in to follow this  
YixunLiu

HLSL resource object for a texture3D

This topic is 449 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

Hi,

I have a 3D image with voxel type short. I need  to use it as a 3D texture in my shader.

I create a texture3D with format DXGI_FORMAT_R16_TYPELESS.

I create a SRV with DXGI_FORMAT_R16_SINT

How to define texture3D<?> tex0 in the shader?

I do not found HLSL support short type.

 

Thanks.

 

YL

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!