Ocular Engine
Ocular::Graphics::Viewport Class Reference
Inheritance diagram for Ocular::Graphics::Viewport:
Ocular::Graphics::D3D11Viewport

Public Member Functions

 Viewport (float x, float y, float width, float height, float minDepth=0.0f, float maxDepth=1.0f)
 
virtual void bind ()
 
float getOriginX () const
 
float getOriginY () const
 
float getWidth () const
 
float getHeight () const
 
float getMinDepth () const
 
float getMaxDepth () const
 

Protected Attributes

float m_OriginX
 
float m_OriginY
 
float m_Width
 
float m_Height
 
float m_MinDepth
 
float m_MaxDepth
 

The documentation for this class was generated from the following files: