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

Class ImageFormat

src/opengl_depth_packet_processor.cpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270
271template<size_t TBytesPerPixel, GLenum TInternalFormat, GLenum TFormat, GLenum TType>
272struct 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
280typedef ImageFormat<1, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE> U8C1;
281typedef 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