Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/image/image_space.hh
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | public: | ||||
| /** \brief Is (wrap) repeat option enabled in the space. */ | /** \brief Is (wrap) repeat option enabled in the space. */ | ||||
| virtual bool use_tile_drawing() const = 0; | virtual bool use_tile_drawing() const = 0; | ||||
| /** | /** | ||||
| * \brief Initialize r_uv_to_texture matrix to transform from normalized screen space coordinates | * \brief Initialize r_uv_to_texture matrix to transform from normalized screen space coordinates | ||||
| * (0..1) to texture space UV coordinates. | * (0..1) to texture space UV coordinates. | ||||
| */ | */ | ||||
| virtual void init_ss_to_texture_matrix(const ARegion *region, | virtual void init_ss_to_texture_matrix(const ARegion *region, | ||||
| const float image_display_offset[2], | |||||
| const float image_resolution[2], | const float image_resolution[2], | ||||
| float r_uv_to_texture[4][4]) const = 0; | float r_uv_to_texture[4][4]) const = 0; | ||||
| }; // namespace blender::draw::image_engine | }; // namespace blender::draw::image_engine | ||||