Blender  V3.3
Public Member Functions | List of all members
blender::imbuf::transform::WrapRepeatUV Class Reference

UVWrapping method that wrap repeats the UV coordinates. More...

Inheritance diagram for blender::imbuf::transform::WrapRepeatUV:
blender::imbuf::transform::BaseUVWrapping

Public Member Functions

float modify_u (const ImBuf *source_buffer, float u) override
 modify the given u coordinate. More...
 
float modify_v (const ImBuf *source_buffer, float v) override
 modify the given v coordinate. More...
 

Detailed Description

UVWrapping method that wrap repeats the UV coordinates.

Definition at line 234 of file transform.cc.

Member Function Documentation

◆ modify_u()

float blender::imbuf::transform::WrapRepeatUV::modify_u ( const ImBuf source_buffer,
float  u 
)
inlineoverridevirtual

modify the given u coordinate.

Implements blender::imbuf::transform::BaseUVWrapping.

Definition at line 236 of file transform.cc.

References blender::math::floor(), x, and ImBuf::x.

◆ modify_v()

float blender::imbuf::transform::WrapRepeatUV::modify_v ( const ImBuf source_buffer,
float  v 
)
inlineoverridevirtual

modify the given v coordinate.

Implements blender::imbuf::transform::BaseUVWrapping.

Definition at line 247 of file transform.cc.

References blender::math::floor(), v, y, and ImBuf::y.


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