mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Cubemap class
This commit is contained in:
parent
87edb1d45e
commit
eefd327845
10 changed files with 105 additions and 41 deletions
14
src/graphics/Cubemap.h
Normal file
14
src/graphics/Cubemap.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef GRAPHICS_CUBEMAP_H_
|
||||
#define GRAPHICS_CUBEMAP_H_
|
||||
|
||||
#include "Texture.h"
|
||||
|
||||
class Cubemap : public Texture {
|
||||
public:
|
||||
Cubemap(uint width, uint height, ImageFormat format);
|
||||
|
||||
virtual void bind() override;
|
||||
virtual void unbind() override;
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_CUBEMAP_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue