6 #ifndef INCLUDED_IMF_PREVIEW_IMAGE_H
7 #define INCLUDED_IMF_PREVIEW_IMAGE_H
36 unsigned char a = 255)
59 unsigned int width = 0,
73 PreviewImage&
operator= (
const PreviewImage& other);
79 inline unsigned int width ()
const {
return _width; }
80 inline unsigned int height ()
const {
return _height; }
91 return _pixels[y * _width +
x];
96 return _pixels[y * _width +
x];
101 unsigned int _height;
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
unsigned int width() const
const PreviewRgba * pixels() const
GLboolean GLboolean GLboolean GLboolean a
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
unsigned int height() const
GLint GLsizei GLsizei height
const PreviewRgba & pixel(unsigned int x, unsigned int y) const
GLboolean GLboolean GLboolean b
LeafData & operator=(const LeafData &)=delete
class IMF_EXPORT_TYPE PreviewImage
PreviewRgba & pixel(unsigned int x, unsigned int y)
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
PreviewRgba(unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=255)