worked on obj and mtl prefetching nad parsing
This commit is contained in:
@@ -21,50 +21,52 @@ public:
|
||||
|
||||
dynamic_texture_buffer() = default;
|
||||
|
||||
dynamic_texture_buffer(
|
||||
inline dynamic_texture_buffer(
|
||||
std::unique_ptr<value_type>&& data,
|
||||
dim_type width,
|
||||
dim_type height,
|
||||
components::texture::flags components
|
||||
);
|
||||
);;
|
||||
|
||||
dynamic_texture_buffer(const dynamic_texture_buffer&);
|
||||
inline dynamic_texture_buffer(const dynamic_texture_buffer&);
|
||||
|
||||
dynamic_texture_buffer(dynamic_texture_buffer&&) noexcept;
|
||||
inline dynamic_texture_buffer(dynamic_texture_buffer&&) noexcept;
|
||||
|
||||
[[nodiscard]] dynamic_texture_buffer& operator=(const dynamic_texture_buffer&);
|
||||
[[nodiscard]] inline dynamic_texture_buffer& operator=(const dynamic_texture_buffer&);
|
||||
|
||||
[[nodiscard]] dynamic_texture_buffer& operator=(dynamic_texture_buffer&&) noexcept;
|
||||
[[nodiscard]] inline dynamic_texture_buffer& operator=(dynamic_texture_buffer&&) noexcept;
|
||||
|
||||
[[nodiscard]] components::texture::flags components() const;
|
||||
[[nodiscard]] inline components::texture::flags components() const;
|
||||
|
||||
[[nodiscard]] dim_type width() const;
|
||||
[[nodiscard]] inline dim_type width() const;
|
||||
|
||||
[[nodiscard]] dim_type height() const;
|
||||
[[nodiscard]] inline dim_type height() const;
|
||||
|
||||
[[nodiscard]] std::pair<dim_type, dim_type> dimensions() const;
|
||||
[[nodiscard]] inline std::pair<dim_type, dim_type> dimensions() const;
|
||||
|
||||
[[nodiscard]] size_type pixel_count() const;
|
||||
[[nodiscard]] inline size_type pixel_count() const;
|
||||
|
||||
[[nodiscard]] size_type component_count() const;
|
||||
[[nodiscard]] inline size_type component_count() const;
|
||||
|
||||
[[nodiscard]] size_type size() const;
|
||||
[[nodiscard]] inline size_type size() const;
|
||||
|
||||
[[nodiscard]] const_iterator begin() const;
|
||||
[[nodiscard]] inline const_iterator begin() const;
|
||||
|
||||
[[nodiscard]] iterator begin();
|
||||
[[nodiscard]] inline iterator begin();
|
||||
|
||||
[[nodiscard]] const_iterator end() const;
|
||||
[[nodiscard]] inline const_iterator end() const;
|
||||
|
||||
[[nodiscard]] iterator end();
|
||||
[[nodiscard]] inline iterator end();
|
||||
|
||||
[[nodiscard]] const_iterator cbegin() const;
|
||||
[[nodiscard]] inline const_iterator cbegin() const;
|
||||
|
||||
[[nodiscard]] const_iterator cend() const;
|
||||
[[nodiscard]] inline const_iterator cend() const;
|
||||
|
||||
[[nodiscard]] const_pointer data() const;
|
||||
[[nodiscard]] inline const_pointer data() const;
|
||||
|
||||
[[nodiscard]] pointer data();
|
||||
[[nodiscard]] inline pointer data();
|
||||
|
||||
void inline clear();
|
||||
|
||||
private:
|
||||
std::unique_ptr<value_type[]> m_data{ nullptr };
|
||||
|
||||
Reference in New Issue
Block a user