edgar-mtz-e / slimdx

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

D3D10 > Texture2D CreateFromStream #392

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow me to add the LoadInfo flags when creating resources.
I have large textures that are totally mipmapped and are in full ARGB. 
I would like to have them compressed and not mipmapped.

I need this rather urgent, since I'm performing a lot of processing 
because the resources are huge.  

HRESULT D3DX10CreateTextureFromMemory(
  ID3D10Device *pDevice,
  LPCVOID pSrcData,
  SIZE_T SrcDataSize,
  D3DX10_IMAGE_LOAD_INFO *pLoadInfo,<<<  I need these
  ID3DX10ThreadPump *pPump,
  ID3D10Resource **ppTexture,
  HRESULT *pHResult
);

Original issue reported on code.google.com by amuylaer...@gmail.com on 5 Jan 2009 at 10:06

GoogleCodeExporter commented 9 years ago
The repository already contains overloads for these methods that take a
ImageLoadInformation structure. If you can't build from SVN, let us know and 
we'll
send you a zip of the binaries.

Original comment by Mike.Popoloski on 5 Jan 2009 at 12:45