Raylib C++  1.0.0
Encapsulates the raylib library
Public Member Functions | List of all members
raylib::texture::RlRenderTexture Class Reference

Encapsulation of the raylib RenderTexture2D. More...

#include <RlRenderTexture.hpp>

Collaboration diagram for raylib::texture::RlRenderTexture:
Collaboration graph

Public Member Functions

 RlRenderTexture (int width, int height)
 Create a Texture for rendering (framebuffer) More...
 
 ~RlRenderTexture ()
 RlRenderTexture destructor. More...
 
const RenderTexture2D & getRenderTexture () const
 Get the RenderTexture. More...
 

Detailed Description

Encapsulation of the raylib RenderTexture2D.

Constructor & Destructor Documentation

◆ RlRenderTexture()

raylib::texture::RlRenderTexture::RlRenderTexture ( int  width,
int  height 
)
explicit

Create a Texture for rendering (framebuffer)

Parameters
widththe width of the texture
heightthe height of the texture

◆ ~RlRenderTexture()

raylib::texture::RlRenderTexture::~RlRenderTexture ( )

RlRenderTexture destructor.

Member Function Documentation

◆ getRenderTexture()

const RenderTexture2D & raylib::texture::RlRenderTexture::getRenderTexture ( ) const

Get the RenderTexture.

Returns
the RenderTexture

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