Sign in to follow this  

D3D11 ShaderResourceView

Recommended Posts

I started programming with DX11 last week (bought a book). And i've come to 2D Rendering with D3D, more specific, i've finished that chapter. Now i'm doing the exercises on that chapter, one of them is about loading in an extra image and use it as a second sprite.

I can't get my head around the "D3D11ShaderResourceView"(SRV) completly. I understand that it's used to bind the loaded texture so that it's data can be accessed. But i can't seem to find anything describing if it's just one texture per SRV or if i can use the same SRV for multiple textures.

Share this post

Link to post
Share on other sites
Didn't try it but i would say yes. A D3D11_TEX2D_ARRAY_SRV wouldn't make much sense if it's not consisting of more than one texture.


Type: UINT
Number of textures in the array."

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

Sign in to follow this