API Documentation
|
Stores information for painting pixels at a time into a 2D texture. More...
#include <MaterialRaster.h>
Public Member Functions | |
virtual void | addImageBuffer (const Buffer< uint01 > &pixels, const Vector< 2, uint04 > &size, const Matrix< fltp08 > &camera_matrix) override |
void | addPixelInfo (const RGBColor &pixel, const Vector< 2, fltp08 > &location, uint04 weight) override |
void | addPixelInfo (const RGBColor &pixel, const Vector< 2, uint04 > &location, uint08 weight) override |
void | addPixelInfo (const Vector< 4, fltp04 > &pixel, const Vector< 2, fltp08 > &location, uint08 weight) override |
void | addPixelInfo (const Vector< 4, fltp04 > &pixel, const Vector< 2, uint04 > &location, uint08 weight) override |
virtual void | clearRaster () |
Vector< 2, uint04 > | convertLocation (const Vector< 2, fltp08 > &location) const |
uint04 | convertToIndex (const Vector< 2, uint04 > &location) const |
const String & | imageID () const override |
MaterialRaster (const String &image_id, const RasterInfo &raster_info) | |
virtual void | setUnsetColor (RGBColor color) |
virtual void | updateImage () override |
Public Member Functions inherited from MaterialRasterBase | |
MaterialRasterBase (const RasterInfo &raster_info) | |
Static Public Member Functions | |
static uint04 | Weight (const Vertex< 2, fltp08 > &location, fltp08 y_dist) |
Protected Attributes | |
Buffer< uint08 > | m_color_channel_average_count |
Buffer< Vector< 3, uint08 > > | m_color_channels |
String | m_image_id |
Buffer< uint01 > | m_pixels |
Bounds< 2, uint04 > | m_update_bounds |
Protected Attributes inherited from MaterialRasterBase | |
RasterInfo | m_raster_info |
Stores information for painting pixels at a time into a 2D texture.
|
inline |
|
overridevirtual |
Implements MaterialRasterBase.
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements MaterialRasterBase.
|
protected |