style: switch to east const across the codebase
- const T* -> T const* in all headers and implementations - const T& -> T const& for copy constructor/operator= deletes - update AGENTS.md to document east const convention
This commit is contained in:
@@ -38,15 +38,15 @@ public:
|
||||
explicit texture(texture_target target);
|
||||
~texture();
|
||||
|
||||
texture(const texture&) = delete;
|
||||
texture& operator=(const texture&) = delete;
|
||||
texture(texture const&) = delete;
|
||||
texture& operator=(texture const&) = delete;
|
||||
|
||||
texture(texture&& other) noexcept;
|
||||
texture& operator=(texture&& other) noexcept;
|
||||
|
||||
auto bind(GLuint unit = 0) -> void;
|
||||
auto unbind() -> void;
|
||||
auto upload(const void* data, int width, int height, texture_format format, texture_type type) -> void;
|
||||
auto upload(void const* data, int width, int height, texture_format format, texture_type type) -> void;
|
||||
auto set_filter(GLenum min_filter, GLenum mag_filter) -> void;
|
||||
auto set_wrap(GLenum wrap_s, GLenum wrap_t) -> void;
|
||||
auto generate_mipmaps() -> void;
|
||||
|
||||
Reference in New Issue
Block a user