MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ImageFormat

Class ImageFormat

examples/viewer.h:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template<size_t TBytesPerPixel, GLenum TInternalFormat, GLenum TFormat, GLenum TType>
42struct 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
50typedef ImageFormat<1, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE> U8C1;
51typedef ImageFormat<2, GL_R16I, GL_RED_INTEGER, GL_SHORT> S16C1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected