Route RTT texture updates through GL backend
This commit is contained in:
@@ -68,6 +68,7 @@ public:
|
||||
void clear(glm::vec4 color = glm::vec4(0));
|
||||
void clear_mask(glm::bool4 mask, glm::vec4 color = glm::vec4(0));
|
||||
glm::ivec4 calc_bounds() const noexcept;
|
||||
bool updateRgba8(int x, int y, int width, int height, const void* data) noexcept;
|
||||
bool readPixelsRgba8(int x, int y, int width, int height, void* buffer) const noexcept;
|
||||
uint8_t* readTextureData(uint8_t* buffer = nullptr) const noexcept;
|
||||
float* readTextureDataFloat(float* buffer = nullptr) const noexcept;
|
||||
|
||||
Reference in New Issue
Block a user