![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Public Member Functions | |
| Texture () | |
| Texture (::Image &image) | |
| Texture (const std::string &fileName) | |
| ~Texture () | |
| Texture & | Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) |
| Texture & | Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin, float rotation=0, ::Color tint=WHITE) |
| Texture & | Draw (::Rectangle sourceRec, ::Vector2 position, ::Color tint=WHITE) |
| Texture & | Draw (::Vector2 position, ::Color tint=WHITE) |
| Texture & | Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint=WHITE) |
| Texture & | Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint=WHITE) |
| Texture & | Draw (::Vector3 position, float width, float height, float length, ::Color color=WHITE) |
| Texture & | Draw (int posX, int posY, ::Color tint=WHITE) |
| Texture & | DrawTiled (Rectangle sourceRec, Rectangle destRec, Vector2 origin, float rotation, float scale, Color tint=WHITE) |
| Texture & | GenMipmaps () |
| int | GetFormat () const |
| int | GetHeight () const |
| unsigned int | GetId () const |
| int | GetMipmaps () const |
| Image | GetTextureData () const |
| int | GetWidth () const |
| void | Load (const std::string &fileName) |
| void | LoadFromImage (::Image &image) |
| void | LoadTextureCubemap (::Image &image, int layoutType) |
| operator raylib::Image () | |
| Texture & | operator= (const ::Texture &texture) |
| Texture & | operator= (const Texture &texture) |
| Texture & | SetFilter (int filterMode) |
| void | SetFormat (int value) |
| void | SetHeight (int value) |
| void | SetId (unsigned int value) |
| Texture & | SetMaterialTexture (Material *material, int mapType) |
| void | SetMipmaps (int value) |
| void | SetWidth (int value) |
| Texture & | SetWrap (int wrapMode) |
| void | Unload () |
| Texture & | Update (const void *pixels) |
| Texture & | UpdateRec (Rectangle rec, const void *pixels) |
Static Public Member Functions | |
| static int | GetPixelDataSize (int width, int height, int format) |
Protected Member Functions | |
| void | set (::Texture texture) |
Definition at line 19 of file Texture.hpp.
|
inline |
Definition at line 21 of file Texture.hpp.
References set().
|
inline |
Definition at line 25 of file Texture.hpp.
References LoadFromImage().
|
inline |
Definition at line 29 of file Texture.hpp.
References Load().
|
inline |
Definition at line 33 of file Texture.hpp.
References Unload().
|
inline |
Definition at line 127 of file Texture.hpp.
|
inline |
Definition at line 123 of file Texture.hpp.
|
inline |
Definition at line 115 of file Texture.hpp.
Definition at line 106 of file Texture.hpp.
|
inline |
Definition at line 110 of file Texture.hpp.
|
inline |
Definition at line 119 of file Texture.hpp.
|
inline |
Definition at line 132 of file Texture.hpp.
Definition at line 101 of file Texture.hpp.
|
inline |
Definition at line 137 of file Texture.hpp.
|
inline |
Definition at line 86 of file Texture.hpp.
|
inline |
Definition at line 41 of file Texture.hpp.
|
inline |
Definition at line 39 of file Texture.hpp.
|
inline |
Definition at line 37 of file Texture.hpp.
|
inline |
Definition at line 40 of file Texture.hpp.
|
inlinestatic |
Definition at line 147 of file Texture.hpp.
|
inline |
Definition at line 79 of file Texture.hpp.
Referenced by operator raylib::Image().
|
inline |
Definition at line 38 of file Texture.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 57 of file Texture.hpp.
References set().
|
inline |
Definition at line 82 of file Texture.hpp.
References GetTextureData().
Definition at line 43 of file Texture.hpp.
References set().
Definition at line 48 of file Texture.hpp.
References set().
|
inlineprotected |
Definition at line 152 of file Texture.hpp.
Referenced by Load(), LoadFromImage(), LoadTextureCubemap(), operator=(), and Texture().
|
inline |
Definition at line 91 of file Texture.hpp.
|
inline |
Definition at line 41 of file Texture.hpp.
|
inline |
Definition at line 39 of file Texture.hpp.
|
inline |
Definition at line 37 of file Texture.hpp.
Definition at line 142 of file Texture.hpp.
|
inline |
Definition at line 40 of file Texture.hpp.
|
inline |
Definition at line 38 of file Texture.hpp.
|
inline |
Definition at line 96 of file Texture.hpp.
|
inline |
Definition at line 65 of file Texture.hpp.
Referenced by ~Texture().
|
inline |
Definition at line 69 of file Texture.hpp.
Definition at line 74 of file Texture.hpp.
1.8.17