Blender  V3.3
Public Member Functions | List of all members
blender::ed::sculpt_paint::paint::image::ImageBufferFloat4 Class Reference

Public Member Functions

void set_image_position (ImBuf *image_buffer, ushort2 image_pixel_position)
 
void next_pixel ()
 
float4 read_pixel (ImBuf *image_buffer) const
 
void write_pixel (ImBuf *image_buffer, const float4 pixel_data) const
 
const char * get_colorspace_name (ImBuf *image_buffer)
 

Detailed Description

Reading and writing to image buffer with 4 float channels.

Definition at line 60 of file sculpt_paint_image.cc.

Member Function Documentation

◆ get_colorspace_name()

const char* blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::get_colorspace_name ( ImBuf image_buffer)
inline

Definition at line 85 of file sculpt_paint_image.cc.

References IMB_colormanagement_get_float_colorspace().

◆ next_pixel()

void blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::next_pixel ( )
inline

Definition at line 70 of file sculpt_paint_image.cc.

◆ read_pixel()

float4 blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::read_pixel ( ImBuf image_buffer) const
inline

Definition at line 75 of file sculpt_paint_image.cc.

References ImBuf::rect_float.

◆ set_image_position()

void blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::set_image_position ( ImBuf image_buffer,
ushort2  image_pixel_position 
)
inline

Definition at line 65 of file sculpt_paint_image.cc.

References ImBuf::x.

◆ write_pixel()

void blender::ed::sculpt_paint::paint::image::ImageBufferFloat4::write_pixel ( ImBuf image_buffer,
const float4  pixel_data 
) const
inline

Definition at line 80 of file sculpt_paint_image.cc.

References copy_v4_v4(), and ImBuf::rect_float.


The documentation for this class was generated from the following file: