We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a822d2 commit aa5a281Copy full SHA for aa5a281
1 file changed
include/RenderTexture.hpp
@@ -48,6 +48,7 @@ class RenderTexture : public ::RenderTexture {
48
* Get the color buffer attachment texture.
49
*/
50
TextureUnmanaged GetTexture() { return texture; }
51
+ [[nodiscard]] TextureUnmanaged GetTexture() const { return texture; }
52
53
void SetTexture(const ::Texture& newTexture) { texture = newTexture; }
54
0 commit comments