Skip to content

Commit

Permalink
feat(texture): allow copy and move of textures
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Apr 1, 2023
1 parent 3889c99 commit 4ac598e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/phoenix/texture.hh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ namespace phoenix {
/// \brief Represents a ZenGin texture.
class texture {
public:
texture(texture&&) = default;
texture(texture const&) = default;

texture& operator=(texture&&) = default;
texture& operator=(texture const&) = default;

/// \brief Parses a texture from the data in the given buffer.
///
/// <p>This implementation is heavily based on the implementation found in
Expand Down

0 comments on commit 4ac598e

Please sign in to comment.