| 40 | |
| 41 | template<size_t TBytesPerPixel, GLenum TInternalFormat, GLenum TFormat, GLenum TType> |
| 42 | struct ImageFormat |
| 43 | { |
| 44 | static const size_t BytesPerPixel = TBytesPerPixel; |
| 45 | static const GLenum InternalFormat = TInternalFormat; |
| 46 | static const GLenum Format = TFormat; |
| 47 | static const GLenum Type = TType; |
| 48 | }; |
| 49 | |
| 50 | typedef ImageFormat<1, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE> U8C1; |
| 51 | typedef ImageFormat<2, GL_R16I, GL_RED_INTEGER, GL_SHORT> S16C1; |
nothing calls this directly
no outgoing calls
no test coverage detected