#include <CubeMap.hpp>
|
| | CubeMap (GLenum minFilter=GL_LINEAR, GLenum magFilter=GL_LINEAR, GLenum wrapS=GL_CLAMP_TO_EDGE, GLenum wrapT=GL_CLAMP_TO_EDGE, GLenum wrapR=GL_CLAMP_TO_EDGE) |
| |
| | ~CubeMap () |
| |
| | CubeMap (const CubeMap &other)=delete |
| |
| CubeMap & | operator= (const CubeMap &other)=delete |
| |
| | CubeMap (CubeMap &&other) noexcept |
| |
| CubeMap & | operator= (CubeMap &&other) noexcept |
| |
| void | initialize (GLenum minFilter=GL_LINEAR, GLenum magFilter=GL_LINEAR, GLenum wrapS=GL_CLAMP_TO_EDGE, GLenum wrapT=GL_CLAMP_TO_EDGE, GLenum wrapR=GL_CLAMP_TO_EDGE) |
| |
| void | bind () const |
| |
| void | unbind () const |
| |
| bool | loadFaces (Registry *registry, HandleAndAsset< Image > up, HandleAndAsset< Image > down, HandleAndAsset< Image > left, HandleAndAsset< Image > right, HandleAndAsset< Image > front, HandleAndAsset< Image > back, GLenum internalFormat=GL_RGBA, GLenum format=GL_RGBA, GLenum type=GL_UNSIGNED_BYTE) |
| |
| void | setFaceData (GLenum face, GLenum internalFormat, uint32_t width, uint32_t height, GLenum format, GLenum type, const void *data) |
| |
| void | activate (GLenum textureUnit) const |
| |
| GLuint | getID () const |
| |
◆ CubeMap() [1/3]
◆ ~CubeMap()
| shkyera::CubeMap::~CubeMap |
( |
| ) |
|
◆ CubeMap() [2/3]
◆ CubeMap() [3/3]
| shkyera::CubeMap::CubeMap |
( |
CubeMap && |
other | ) |
|
|
noexcept |
◆ activate()
| void shkyera::CubeMap::activate |
( |
GLenum |
textureUnit | ) |
const |
◆ bind()
| void shkyera::CubeMap::bind |
( |
| ) |
const |
◆ getID()
| GLuint shkyera::CubeMap::getID |
( |
| ) |
const |
|
inline |
◆ initialize()
◆ loadFaces()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setFaceData()
◆ unbind()
| void shkyera::CubeMap::unbind |
( |
| ) |
const |
◆ _textureID
| GLuint shkyera::CubeMap::_textureID |
|
private |
The documentation for this class was generated from the following files: