void setTextureID(GLuint newTextureID)
Sets the GPU texture handle.
kTextureType getType()
Returns the texture type.
virtual ~kTexture()
Virtual destructor; allows safe polymorphic deletion of derived textures.
kString getTextureName()
Returns the GLSL sampler uniform name.
void setType(kTextureType newType)
Sets the texture type (2D or cube map).
GLuint getTextureID()
Returns the GPU texture handle.
void setTextureName(kString newName)
Sets the GLSL sampler uniform name for this texture.
kTexture * duplicate(kString newName)
Creates a shallow copy with a different sampler name.
kTexture()
Constructs an empty texture with no GPU handle assigned.