raylib-cpp
C++ object-oriented wrapper library for raylib.
|
RenderTexture type, for texture rendering. More...
Public Member Functions | |
RenderTexture () | |
Default constructor to build an empty RenderTexture. | |
RenderTexture (const ::RenderTexture &renderTexture) | |
RenderTexture (const RenderTexture &)=delete | |
RenderTexture (int width, int height) | |
Load texture for rendering (framebuffer) | |
RenderTexture (RenderTexture &&other) | |
RenderTexture (unsigned int id, const ::Texture &texture, const ::Texture &depth) | |
RenderTexture & | BeginMode () |
Initializes render texture for drawing. | |
RenderTexture & | EndMode () |
Ends drawing to render texture. | |
TextureUnmanaged | GetDepth () |
Depth buffer attachment texture. | |
unsigned int | GetId () const |
Retrieves the id value for the object. More... | |
TextureUnmanaged | GetTexture () |
Get the color buffer attachment texture. | |
bool | IsValid () const |
Retrieves whether or not the render texture is ready. | |
RenderTexture & | operator= (const ::RenderTexture &texture) |
RenderTexture & | operator= (const RenderTexture &)=delete |
RenderTexture & | operator= (RenderTexture &&other) noexcept |
void | SetDepth (const ::Texture &newDepth) |
void | SetTexture (const ::Texture &newTexture) |
void | Unload () |
Static Public Member Functions | |
static RenderTexture | Load (int width, int height) |
Load texture for rendering (framebuffer) | |
Protected Member Functions | |
void | set (const ::RenderTexture &renderTexture) |
RenderTexture type, for texture rendering.
Definition at line 13 of file RenderTexture.hpp.
|
inline |
Retrieves the id value for the object.
Definition at line 40 of file RenderTexture.hpp.