* Load texture from image data */
| 99 | * Load texture from image data |
| 100 | */ |
| 101 | void Load(const ::Image& image) { |
| 102 | set(::LoadTextureFromImage(image)); |
| 103 | if (!IsValid()) { |
| 104 | throw RaylibException("Failed to load Texture from Image"); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Load cubemap from image, multiple image cubemap layouts supported |
nothing calls this directly
no test coverage detected