A 2D texel coordinate, used as the corner a copy region starts at. The default (0, 0) is the whole-rect-from-the-origin convention every copy used before sub-rectangle copies existed.
More...
#include "donner/gpu/Descriptors.h"
|
|
uint32_t | x = 0 |
| | Column of the first copied texel.
|
|
uint32_t | y = 0 |
| | Row of the first copied texel.
|
|
| std::ostream & | operator<< (std::ostream &os, const Origin2d &value) |
| | Ostream output operator, e.g. (4, 8).
|
A 2D texel coordinate, used as the corner a copy region starts at. The default (0, 0) is the whole-rect-from-the-origin convention every copy used before sub-rectangle copies existed.
◆ operator==()
| bool donner::gpu::Origin2d::operator== |
( |
const Origin2d & | other | ) |
const |
|
default |
Equality operator.
- Parameters
-
| other | Origin to compare against. |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Origin2d & | value ) |
|
friend |
Ostream output operator, e.g. (4, 8).
- Parameters
-
| os | Output stream. |
| value | Origin to output. |
The documentation for this struct was generated from the following file: