35 #ifndef IECOREGL_ALPHATEXTURE_H
36 #define IECOREGL_ALPHATEXTURE_H
38 #include "IECoreGL/Export.h"
39 #include "IECoreGL/Texture.h"
44 class IECOREGL_API AlphaTexture :
public Texture
48 IE_CORE_DECLARERUNTIMETYPEDEXTENSION( IECoreGL::AlphaTexture, AlphaTextureTypeId,
Texture );
51 AlphaTexture(
unsigned int width,
unsigned int height,
const IECore::Data *a,
bool mipMap=
true );
55 AlphaTexture(
const IECoreImage::ImagePrimitive *image,
bool mipMap=
true );
57 ~AlphaTexture()
override;
59 IECoreImage::ImagePrimitivePtr imagePrimitive()
const override;
65 void construct(
unsigned int width,
unsigned int height,
const IECore::Data *a,
bool mipMap );
69 IE_CORE_DECLAREPTR( AlphaTexture );
73 #endif // IECOREGL_ALPHATEXTURE_H
The namespace within which all CoreGL functionality is defined.
Definition: AlphaTexture.h:41