| 25 | using namespace Graphics; |
| 26 | |
| 27 | static UINT BytesPerPixel( DXGI_FORMAT Format ) |
| 28 | { |
| 29 | return (UINT)BitsPerPixel(Format) / 8; |
| 30 | }; |
| 31 | |
| 32 | void Texture::Create( size_t Pitch, size_t Width, size_t Height, DXGI_FORMAT Format, const void* InitialData ) |
| 33 | { |
no test coverage detected