\brief 3-Dimensional extent structure. \remarks Used for unsigned integral 3D extents (for sizes in texture-space). */
| 43 | \remarks Used for unsigned integral 3D extents (for sizes in texture-space). |
| 44 | */ |
| 45 | struct Extent3D |
| 46 | { |
| 47 | Extent3D() = default; |
| 48 | Extent3D(const Extent3D&) = default; |
| 49 | |
| 50 | inline Extent3D(std::uint32_t width, std::uint32_t height, std::uint32_t depth) : |
| 51 | width { width }, |
| 52 | height { height }, |
| 53 | depth { depth } |
| 54 | { |
| 55 | } |
| 56 | |
| 57 | std::uint32_t width = 0; //!< Extent X axis, i.e. width. |
| 58 | std::uint32_t height = 0; //!< Extent Y axis, i.e. height. |
| 59 | std::uint32_t depth = 0; //!< Extent Z axis, i.e. depth. |
| 60 | }; |
| 61 | |
| 62 | /** |
| 63 | \brief 2-Dimensional offset structure. |
no outgoing calls
no test coverage detected