25 lines
791 B
C++
25 lines
791 B
C++
#pragma once
|
|
|
|
#include "interfaces/ITextureHelper.hpp"
|
|
#include "elements/Texture.hpp"
|
|
#include "elements/VolumeTexture3D.hpp"
|
|
|
|
namespace TSE::OpenGL
|
|
{
|
|
class TextureHelperOpenGL : public ITextureHelper
|
|
{
|
|
public:
|
|
void Bind(const Texture* tex) override;
|
|
void UnBind(const Texture* tex) override;
|
|
void Apply(Texture* tex) override;
|
|
void Regist(Texture* tex) override;
|
|
void PlatromDestroy(Texture* tex) override;
|
|
|
|
void Bind3D(const VolumeTexture3D* tex) override;
|
|
void UnBind3D(const VolumeTexture3D* tex) override;
|
|
void Apply3D(VolumeTexture3D* tex) override;
|
|
void Regist3D(VolumeTexture3D* tex) override;
|
|
void PlatromDestroy3D(VolumeTexture3D* tex) override;
|
|
};
|
|
} // namespace TSE::OpenGL
|