Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::imbuf::transform::TransformUserData Struct Reference

Public Member Functions

void init (const float transform_matrix[4][4])
 Initialize the start_uv, add_x and add_y fields based on the given transform matrix. More...
 

Public Attributes

const ImBufsrc
 Source image buffer to read from. More...
 
ImBufdst
 Destination image buffer to write to. More...
 
float start_uv [2]
 UV coordinates at the origin (0,0) in source image space. More...
 
float add_x [2]
 delta UV coordinates along the source image buffer, when moving a single pixel in the X axis of the dst image buffer. More...
 
float add_y [2]
 delta UV coordinate along the source image buffer, when moving a single pixel in the Y axes of the dst image buffer. More...
 
rctf src_crop
 Cropping region in source image pixel space. More...
 

Detailed Description

Definition at line 19 of file transform.cc.

Member Function Documentation

◆ init()

void blender::imbuf::transform::TransformUserData::init ( const float  transform_matrix[4][4])
inline

Initialize the start_uv, add_x and add_y fields based on the given transform matrix.

Definition at line 47 of file transform.cc.

Member Data Documentation

◆ add_x

float blender::imbuf::transform::TransformUserData::add_x[2]

delta UV coordinates along the source image buffer, when moving a single pixel in the X axis of the dst image buffer.

Definition at line 31 of file transform.cc.

◆ add_y

float blender::imbuf::transform::TransformUserData::add_y[2]

delta UV coordinate along the source image buffer, when moving a single pixel in the Y axes of the dst image buffer.

Definition at line 37 of file transform.cc.

◆ dst

ImBuf* blender::imbuf::transform::TransformUserData::dst

Destination image buffer to write to.

Definition at line 23 of file transform.cc.

◆ src

const ImBuf* blender::imbuf::transform::TransformUserData::src

Source image buffer to read from.

Definition at line 21 of file transform.cc.

◆ src_crop

rctf blender::imbuf::transform::TransformUserData::src_crop

Cropping region in source image pixel space.

Definition at line 42 of file transform.cc.

◆ start_uv

float blender::imbuf::transform::TransformUserData::start_uv[2]

UV coordinates at the origin (0,0) in source image space.

Definition at line 25 of file transform.cc.


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