36 #ifndef INCLUDED_IMF_PREVIEW_IMAGE_H
37 #define INCLUDED_IMF_PREVIEW_IMAGE_H
68 unsigned char a = 255)
105 PreviewImage &
operator = (
const PreviewImage &other);
113 unsigned int width ()
const {
return _width;}
115 unsigned int height ()
const {
return _height;}
129 {
return _pixels[y * _width +
x];}
133 {
return _pixels[y * _width +
x];}
138 unsigned int _height;
GLboolean GLboolean GLboolean b
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
unsigned int width() const
const PreviewRgba * pixels() const
unsigned int height() const
const PreviewRgba & pixel(unsigned int x, unsigned int y) const
GLboolean GLboolean GLboolean GLboolean a
GLint GLsizei GLsizei height
IMF_EXPORT ~PreviewImage()
IMF_EXPORT PreviewImage & operator=(const PreviewImage &other)
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)
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
IMF_EXPORT PreviewImage(unsigned int width=0, unsigned int height=0, const PreviewRgba pixels[]=0)