gltexture2dms.h File Reference

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

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

#include "gltexture.h"

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

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