gltexture2darrayms.h File Reference

Go to the documentation of this file. Source: include/ffw/graphics/gltexture2darrayms.h

/* This file is part of FineFramework project */
#ifndef FFW_GRAPHICS_TEXTURE_2D_ARRAY_MS
#define FFW_GRAPHICS_TEXTURE_2D_ARRAY_MS

#include "gltexture.h"

namespace ffw {
    class FFW_API GLTexture2DArrayMS: public GLTexture {
    public:
        GLTexture2DArrayMS();
        GLTexture2DArrayMS(const GLTexture2DArrayMS& other) = delete;
        GLTexture2DArrayMS(GLTexture2DArrayMS&& other) NOEXCEPT;
        virtual ~GLTexture2DArrayMS() = default;
        GLTexture2DArrayMS(GLsizei width, GLsizei height, GLsizei layers, GLenum internalformat,
            GLint samples);
        void resize(GLsizei width, GLsizei height, GLsizei layers, GLint samples);
        GLTexture2DArrayMS& operator = (const GLTexture2DArrayMS& other) = delete;
        GLTexture2DArrayMS& operator = (GLTexture2DArrayMS&& other) NOEXCEPT;
    };
};

inline void swap(ffw::GLTexture2DArrayMS& first, ffw::GLTexture2DArrayMS& second) NOEXCEPT {
    first.swap(second);
}
#endif