edgar-mtz-e / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

D3D10_SUBRESOURCE_DATA when creating textures #349

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in order to be able to create blank textures with mipmaps, this needs to be
supported.  Otherwise, only single level blank textures can be created. 
Options are to either support passing these or automatically generate them.

See msdn forum post:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=702638&SiteID=1

Original issue reported on code.google.com by Axiverse on 2 Oct 2008 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by josh.petrie on 3 Oct 2008 at 1:48

GoogleCodeExporter commented 9 years ago
This should be possible via passing DataStream/DataRectangle/DataBox objects 
for 
1D/2D/3D textures, either as scalar values or as arrays, to the texture 
constructors.

Original comment by josh.petrie on 5 Oct 2008 at 6:35