| 270 | |
| 271 | template<size_t TBytesPerPixel, GLenum TInternalFormat, GLenum TFormat, GLenum TType> |
| 272 | struct ImageFormat |
| 273 | { |
| 274 | static const size_t BytesPerPixel = TBytesPerPixel; |
| 275 | static const GLenum InternalFormat = TInternalFormat; |
| 276 | static const GLenum Format = TFormat; |
| 277 | static const GLenum Type = TType; |
| 278 | }; |
| 279 | |
| 280 | typedef ImageFormat<1, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE> U8C1; |
| 281 | typedef ImageFormat<2, GL_R16I, GL_RED_INTEGER, GL_SHORT> S16C1; |
nothing calls this directly
no outgoing calls
no test coverage detected