Buffer format description for a texture to hold the pixel data. More...
#include <cvb/ui/ui.hpp>
Public Member Functions | |
bool | operator== (const OpenGLBufferFormat &bufferFormat) const noexcept |
bool | operator!= (const OpenGLBufferFormat &bufferFormat) const noexcept |
Public Attributes | |
int | Width = 0 |
int | Height = 0 |
int | LinePad = 0 |
OpenGLTextureFormat | TextureFormat = OpenGLTextureFormat::Unknown |
Buffer format description for a texture to hold the pixel data.
|
inlinenoexcept |
[in] | bufferFormat |
Does | not throw any exception. |
|
inlinenoexcept |
[in] | bufferFormat |
Does | not throw any exception. |
int Height = 0 |
Pixel height of the texture.
int LinePad = 0 |
Number of extra bytes required to archive 4 byte scan line alignment.
OpenGLTextureFormat TextureFormat = OpenGLTextureFormat::Unknown |
Texture format, respectively the color format used to upload and draw the pixel data.
int Width = 0 |
Pixel width of the texture.