Skip to content

Class AIAC::Viewport

ClassList > AIAC > Viewport

Public Functions

Type Name
void Activate ()
GLuint GetH () const
GLuint GetTexture () const
GLuint GetW () const
void Init (int w, int h)
void SetSize (int w, int h)
Viewport () = default
~Viewport () = default

Protected Attributes

Type Name
GLuint m_DepthBuffer
GLuint m_FrameBuffer
GLuint m_H
GLuint m_Texture
GLuint m_W

Public Functions Documentation

function Activate

void AIAC::Viewport::Activate () 

function GetH

inline GLuint AIAC::Viewport::GetH () const

function GetTexture

inline GLuint AIAC::Viewport::GetTexture () const

function GetW

inline GLuint AIAC::Viewport::GetW () const

function Init

void AIAC::Viewport::Init (
    int w,
    int h
) 

function SetSize

inline void AIAC::Viewport::SetSize (
    int w,
    int h
) 

function Viewport

AIAC::Viewport::Viewport () = default

function ~Viewport

AIAC::Viewport::~Viewport () = default

Protected Attributes Documentation

variable m_DepthBuffer

GLuint AIAC::Viewport::m_DepthBuffer;

variable m_FrameBuffer

GLuint AIAC::Viewport::m_FrameBuffer;

variable m_H

GLuint AIAC::Viewport::m_H;

variable m_Texture

GLuint AIAC::Viewport::m_Texture;

variable m_W

GLuint AIAC::Viewport::m_W;


The documentation for this class was generated from the following file src/AIAC/Render/Viewport.h