Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Renderer::MetaRect Struct Reference

Public Member Functions

bool operator== (const MetaRect &other) const
Grindstone::Math::IntRect2D Resolve (Grindstone::Math::Uint2 viewportResolution, Grindstone::Math::Uint2 swapchainResolution) const
Grindstone::Math::IntRect2D Resolve (Grindstone::Math::Uint2 swapchainResolution) const

Static Public Member Functions

static const MetaRect Pixels (uint32_t width, uint32_t height)
static const MetaRect Pixels (uint32_t x, uint32_t y, uint32_t width, uint32_t height)
static const MetaRect Viewport ()
static const MetaRect Swapchain ()

Public Attributes

MetaSize2D offset
MetaSize2D extent

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