Add comment about gfx::texture_view units
This commit is contained in:
parent
d48f9c086f
commit
1ccf82c2c5
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ namespace psemek::gfx
|
|||
struct basic_texture_view
|
||||
{
|
||||
basic_texture<D, Target> const * texture = nullptr;
|
||||
geom::box<float, D> part;
|
||||
geom::box<float, D> part; // in pixels
|
||||
|
||||
basic_texture_view(basic_texture<D, Target> const * texture = nullptr);
|
||||
basic_texture_view(basic_texture<D, Target> const * texture, geom::box<float, D> const & part);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue