#include <materialparameter.h>
Defines an image to represent a material parameter.
Public Member Functions | |
Bool | IsPopulated () const |
Public Attributes | |
StrongCOWRef< BaseArray< Vector4d32 > > | _pixels |
IntVector2d | _dimensions |
Bool IsPopulated | ( | ) | const |
Checks whether a pixel array has been assigned to the texture buffer.
StrongCOWRef<BaseArray<Vector4d32> > _pixels |
The pixel data of the image in linear color space. Pixels are defined as (r, g, b, a) values in row-major order.
IntVector2d _dimensions |
The image size in width and height. Its product has to match the size of @_pixels, i.e. _dimensions.x * _dimensions.y = _pixels->GetCount().