GLTexture1D(GLint magFilter=GL_NEAREST, GLint minFilter=GL_NEAREST, GLint wrapX=GL_REPEAT)
Create an empty GL_TEXTURE_1D with sampler parameters.
Definition GLTexture1D.cpp:8
void setData(const std::vector< GLubyte > &data, uint32_t size, uint8_t componentCount=4)
Upload interleaved unsigned‑byte data to the texture.
Definition GLTexture1D.cpp:55
const GLuint getId() const
Retrieve the OpenGL texture object name.
Definition GLTexture1D.cpp:51
GLTexture1D & operator=(GLTexture1D other)
Copy‑assign and duplicate texture contents and parameters.
Definition GLTexture1D.cpp:32
~GLTexture1D()
Destroy and delete the GL texture name.
Definition GLTexture1D.cpp:46