Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
2517:09c3114c6e4e | 2518:3a1b56ab8749 |
---|---|
1 #pragma once | 1 #pragma once |
2 #include <stdio.h> | 2 #include <stdio.h> |
3 #include<array> | 3 #include <array> |
4 | 4 |
5 | 5 |
6 | 6 |
7 /* 194 */ | 7 /* 194 */ |
8 #pragma pack(push, 1) | 8 #pragma pack(push, 1) |
24 __int16 field_1A; | 24 __int16 field_1A; |
25 __int16 field_1C; | 25 __int16 field_1C; |
26 __int16 field_1E; | 26 __int16 field_1E; |
27 int _allocation_flags; // & 1 - malloc, else custom allocator | 27 int _allocation_flags; // & 1 - malloc, else custom allocator |
28 unsigned __int16 *pPixels; | 28 unsigned __int16 *pPixels; |
29 | |
30 struct ID3D11ShaderResourceView *d3d11_srv; | |
31 struct D3D11_TEXTURE2D_DESC *d3d11_desc; | |
29 }; | 32 }; |
30 #pragma pack(pop) | 33 #pragma pack(pop) |
31 | 34 |
32 | 35 |
33 | 36 |