![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
RenderTexture type, for texture rendering. More...
#include <RenderTexture.hpp>
Public Member Functions | |
RenderTexture () | |
Default constructor to build an empty RenderTexture. More... | |
RenderTexture (const ::RenderTexture &renderTexture) | |
RenderTexture (const RenderTexture &)=delete | |
RenderTexture (int width, int height) | |
Load texture for rendering (framebuffer) More... | |
RenderTexture (RenderTexture &&other) | |
RenderTexture (unsigned int id, const ::Texture &texture, const ::Texture &depth) | |
RenderTexture & | BeginMode () |
Initializes render texture for drawing. More... | |
RenderTexture & | EndMode () |
Ends drawing to render texture. More... | |
TextureUnmanaged | GetDepth () |
Depth buffer attachment texture. More... | |
unsigned int | GetId () const |
Retrieves the id value for the object. More... | |
TextureUnmanaged | GetTexture () |
Get the color buffer attachment texture. More... | |
bool | IsReady () const |
Retrieves whether or not the render texture is ready. More... | |
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) More... | |
Protected Member Functions | |
void | set (const ::RenderTexture &renderTexture) |
RenderTexture type, for texture rendering.
Definition at line 13 of file RenderTexture.hpp.
|
inline |
Default constructor to build an empty RenderTexture.
Definition at line 18 of file RenderTexture.hpp.
|
inline |
Definition at line 22 of file RenderTexture.hpp.
|
inline |
Definition at line 26 of file RenderTexture.hpp.
|
inline |
Load texture for rendering (framebuffer)
Definition at line 32 of file RenderTexture.hpp.
|
inline |
Definition at line 38 of file RenderTexture.hpp.
|
inline |
Definition at line 92 of file RenderTexture.hpp.
|
inline |
Initializes render texture for drawing.
Definition at line 103 of file RenderTexture.hpp.
|
inline |
Ends drawing to render texture.
Definition at line 111 of file RenderTexture.hpp.
|
inline |
Depth buffer attachment texture.
Definition at line 62 of file RenderTexture.hpp.
|
inline |
Retrieves the id value for the object.
Definition at line 46 of file RenderTexture.hpp.
|
inline |
Get the color buffer attachment texture.
Definition at line 51 of file RenderTexture.hpp.
|
inline |
Retrieves whether or not the render texture is ready.
Definition at line 126 of file RenderTexture.hpp.
|
inlinestatic |
Load texture for rendering (framebuffer)
Definition at line 119 of file RenderTexture.hpp.
|
inline |
Definition at line 70 of file RenderTexture.hpp.
|
inlinenoexcept |
Definition at line 77 of file RenderTexture.hpp.
|
inlineprotected |
Definition at line 131 of file RenderTexture.hpp.
|
inline |
Definition at line 66 of file RenderTexture.hpp.
|
inline |
Definition at line 55 of file RenderTexture.hpp.
|
inline |
Definition at line 96 of file RenderTexture.hpp.