diff Engine/Graphics/Texture.h @ 2518:3a1b56ab8749

d3d11 accepts RGBTexture
author a.parshin
date Thu, 09 Oct 2014 00:06:47 +0300
parents 5abd8fc8f1c6
children c7264ab7132f
line wrap: on
line diff
--- a/Engine/Graphics/Texture.h	Wed Oct 08 22:32:54 2014 +0600
+++ b/Engine/Graphics/Texture.h	Thu Oct 09 00:06:47 2014 +0300
@@ -1,6 +1,6 @@
 #pragma once
 #include <stdio.h>
-#include<array>
+#include <array>
 
 
 
@@ -26,6 +26,9 @@
   __int16 field_1E;
   int _allocation_flags; // & 1 - malloc, else custom allocator
   unsigned __int16 *pPixels;
+
+  struct ID3D11ShaderResourceView *d3d11_srv;
+  struct D3D11_TEXTURE2D_DESC     *d3d11_desc;
 };
 #pragma pack(pop)