Attaching many shaderresourceviews to an effect file

Started by
-1 comments, last by Vertex333 15 years, 4 months ago
D3D10: 1. Is it possible to combine many Texture2D Shader Resource views? Like making a texture2darray out of them? 2. What would be the best way if I have many, some hundrets (can be limitied if needed) of shader resource views and I want to use them all in one drawinstanced call or pass. ("A flexible design") I think setting up an array of 4096 is no option, since I can only access them hardcoded. Resetting one variable is not possible, since I need more than once in a shader (instancing). edit: 3. Would it be possible to use a texture2darray in the effect file and set it in the normal code via setresourcearray. So mapping many shaderresourceviews to one texture2darray? Thx, Vertex [Edited by - Vertex333 on November 27, 2008 9:04:46 AM]

This topic is closed to new replies.

Advertisement