Open 3D Engine Atom Gem API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AZ::RHI::Viewport Struct Reference

Public Member Functions

 AZ_TYPE_INFO (Viewport, "{69160593-B7C3-4E94-A397-CC0A34567698}")
 
 Viewport (float minX, float maxX, float minY, float maxY, float minZ=0.0f, float maxZ=1.0f)
 
Viewport GetScaled (float normalizedMinX, float normalizedMaxX, float normalizedMinY, float normalizedMaxY, float normalizedMinZ=0.0f, float normalizedMaxZ=1.0f) const
 
bool IsNull () const
 
float GetWidth () const
 
float GetHeight () const
 
float GetDepth () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static Viewport CreateNull ()
 

Public Attributes

float m_minX = 0.0f
 
float m_maxX = 0.0f
 
float m_minY = 0.0f
 
float m_maxY = 0.0f
 
float m_minZ = 0.0f
 
float m_maxZ = 1.0f
 

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