|
@@ -57,9 +57,14 @@ If you wish to disable font awesome support you can #define NO_FONT_AWESOME
|
|
Raylib textures can be drawn in ImGui using the following functions
|
|
Raylib textures can be drawn in ImGui using the following functions
|
|
```
|
|
```
|
|
void rlImGuiImage(const Texture *image);
|
|
void rlImGuiImage(const Texture *image);
|
|
-bool rlImGuiImageButton(const Texture *image);
|
|
|
|
void rlImGuiImageSize(const Texture *image, int width, int height);
|
|
void rlImGuiImageSize(const Texture *image, int width, int height);
|
|
|
|
+void rlImGuiImageSizeV(const Texture* image, Vector2 size);
|
|
void rlImGuiImageRect(const Texture* image, int destWidth, int destHeight, Rectangle sourceRect);
|
|
void rlImGuiImageRect(const Texture* image, int destWidth, int destHeight, Rectangle sourceRect);
|
|
|
|
+void rlImGuiImageRenderTexture(const RenderTexture* image);
|
|
|
|
+void rlImGuiImageRenderTextureFit(const RenderTexture* image, bool center);
|
|
|
|
+
|
|
|
|
+bool rlImGuiImageButton(const Texture *image);
|
|
|
|
+bool rlImGuiImageButtonSize(const char* name, const Texture* image, struct ImVec2 size);
|
|
```
|
|
```
|
|
|
|
|
|
# C vs C++
|
|
# C vs C++
|