WHY_CPP  0.1
Public Member Functions | List of all members
VideoMemoryHolder Class Reference

#include <video_memory_holder.h>

Inheritance diagram for VideoMemoryHolder:
IObject

Public Member Functions

 VideoMemoryHolder (i32 width, i32 height)
 
i32 GetScreenWidth () const
 
void SetScreenWidth (i32 screen_width)
 
i32 GetScreenHeight () const
 
void SetScreenHeight (i32 screen_height)
 
i32 GetWidth () const
 
i32 GetHeight () const
 
const RGBA Get (i32 x, i32 y) const
 
void Set (i32 x, i32 y, const RGBA &color)
 
void Fill (const RGBA &color)
 
const uint8_t * GetBuffer () const
 

Detailed Description

Holds information about screen pixels in the RGBA matrix.

Definition at line 21 of file video_memory_holder.h.


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