nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::Offscreen Class Reference

#include <offscreen.h>

Public Member Functions

 Offscreen (int width, int height)
 ~Offscreen ()
 Offscreen (const Offscreen &)=delete
Offscreen & operator= (const Offscreen &)=delete
void Render (const Renderer &renderer)
void RenderPreview (const Renderer &renderer, const Figure &figure, const Camera3D &camera)
Texture2D texture () const
Pixel ReadPixel (int x, int y) const

Detailed Description

Definition at line 24 of file offscreen.h.

Constructor & Destructor Documentation

◆ Offscreen() [1/2]

nanommo::Offscreen::Offscreen ( int width,
int height )

Definition at line 10 of file offscreen.cc.

◆ ~Offscreen()

nanommo::Offscreen::~Offscreen ( )

Definition at line 13 of file offscreen.cc.

◆ Offscreen() [2/2]

nanommo::Offscreen::Offscreen ( const Offscreen & )
delete

Member Function Documentation

◆ operator=()

Offscreen & nanommo::Offscreen::operator= ( const Offscreen & )
delete

◆ ReadPixel()

Pixel nanommo::Offscreen::ReadPixel ( int x,
int y ) const

Definition at line 28 of file offscreen.cc.

◆ Render()

void nanommo::Offscreen::Render ( const Renderer & renderer)

Definition at line 15 of file offscreen.cc.

◆ RenderPreview()

void nanommo::Offscreen::RenderPreview ( const Renderer & renderer,
const Figure & figure,
const Camera3D & camera )

Definition at line 21 of file offscreen.cc.

◆ texture()

Texture2D nanommo::Offscreen::texture ( ) const
inline

Definition at line 37 of file offscreen.h.


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