![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
RenderTexture type, for texture rendering. More...
#include <RenderTexture.hpp>
Public Member Functions | |
| RenderTexture ()=default | |
| 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) More... | |
| RenderTexture (RenderTexture &&other) noexcept | |
| 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 | IsValid () 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 11 of file RenderTexture.hpp.
|
inline |
Definition at line 18 of file RenderTexture.hpp.
|
inline |
Definition at line 23 of file RenderTexture.hpp.
|
inline |
Load texture for rendering (framebuffer)
Definition at line 29 of file RenderTexture.hpp.
|
inlinenoexcept |
Definition at line 36 of file RenderTexture.hpp.
|
inline |
Definition at line 83 of file RenderTexture.hpp.
|
inline |
Initializes render texture for drawing.
Definition at line 90 of file RenderTexture.hpp.
|
inline |
Ends drawing to render texture.
Definition at line 98 of file RenderTexture.hpp.
|
inline |
Depth buffer attachment texture.
Definition at line 57 of file RenderTexture.hpp.
|
inline |
Retrieves the id value for the object.
Definition at line 45 of file RenderTexture.hpp.
|
inline |
Get the color buffer attachment texture.
Definition at line 50 of file RenderTexture.hpp.
|
inline |
Retrieves whether or not the render texture is ready.
Definition at line 111 of file RenderTexture.hpp.
|
inlinestatic |
Load texture for rendering (framebuffer)
Definition at line 106 of file RenderTexture.hpp.
|
inline |
Definition at line 61 of file RenderTexture.hpp.
|
inlinenoexcept |
Definition at line 68 of file RenderTexture.hpp.
|
inlineprotected |
Definition at line 113 of file RenderTexture.hpp.
|
inline |
Definition at line 59 of file RenderTexture.hpp.
|
inline |
Definition at line 52 of file RenderTexture.hpp.
|
inline |
Definition at line 85 of file RenderTexture.hpp.