Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EditorViewportState Struct Reference

#include <EditorState.hpp>

Public Member Functions

ImVec2 Size () const
 
bool HasRect () const
 
bool Contains (ImVec2 pos) const
 
bool WindowPointToRenderPixel (ImVec2 pos, int2 &outPixel) const
 

Public Attributes

ImVec2 contentMin {0.0f, 0.0f}
 
ImVec2 contentMax {0.0f, 0.0f}
 
RHIExtent2D renderExtent {1280u, 720u}
 
bool visible {false}
 

Member Function Documentation

◆ Contains()

bool EditorViewportState::Contains ( ImVec2  pos) const
inline

◆ HasRect()

bool EditorViewportState::HasRect ( ) const
inline

◆ Size()

ImVec2 EditorViewportState::Size ( ) const
inline

◆ WindowPointToRenderPixel()

bool EditorViewportState::WindowPointToRenderPixel ( ImVec2  pos,
int2 outPixel 
) const
inline

Member Data Documentation

◆ contentMax

ImVec2 EditorViewportState::contentMax {0.0f, 0.0f}

◆ contentMin

ImVec2 EditorViewportState::contentMin {0.0f, 0.0f}

◆ renderExtent

RHIExtent2D EditorViewportState::renderExtent {1280u, 720u}

◆ visible

bool EditorViewportState::visible {false}

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