- __anonymous
mixin DES
Undocumented in source.
- __anonymous
mixin ClassLogger
Undocumented in source.
- liformat
InternalFormat liformat;
- lformat
Format lformat;
- ltype
Type ltype;
- _unit
uint _unit;
- _size
uivec3 _size;
Undocumented in source.
- InternalFormat
enum InternalFormat
- Side
enum Side
Undocumented in source.
- Format
enum Format
- Type
enum Type
- Dim
enum Dim
Undocumented in source.
- unit
uint unit [@property getter]
- unit
uint unit [@property setter]
- size
uivec3 size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- mipmapable
bool mipmapable [@property getter]
Undocumented in source.
- isArray
bool isArray [@property getter]
Undocumented in source.
- imageDim
Dim imageDim [@property getter]
Undocumented in source.
- allocDim
Dim allocDim [@property getter]
Undocumented in source.
- genMipmap
void genMipmap()
- setParam
void setParam(GLenum param, int val)
- setParam
void setParam(GLenum param, int[] val)
- setParam
void setParam(GLenum param, float val)
- setParam
void setParam(GLenum param, float[] val)
- Filter
enum Filter
- setMinFilter
void setMinFilter(Filter filter)
- setMagFilter
void setMagFilter(Filter filter)
- Wrap
enum Wrap
- setWrapS
void setWrapS(Wrap wrap)
- setWrapT
void setWrapT(Wrap wrap)
- setWrapR
void setWrapR(Wrap wrap)
- setMinLOD
void setMinLOD(float v)
- setMaxLOD
void setMaxLOD(float v)
- setLODBais
void setLODBais(float v)
- setBaseLevel
void setBaseLevel(int v)
- setMaxLevel
void setMaxLevel(int v)
- setBorderColor
void setBorderColor(vec4 clr)
- CompareFunc
enum CompareFunc
- setCompareFunc
void setCompareFunc(CompareFunc cf)
- CompareMode
enum CompareMode
- setCompareMode
void setCompareMode(CompareMode cm)
- Swizzle
enum Swizzle
- setSwizzleR
void setSwizzleR(Swizzle s)
- setSwizzleG
void setSwizzleG(Swizzle s)
- setSwizzleB
void setSwizzleB(Swizzle s)
- setSwizzleA
void setSwizzleA(Swizzle s)
- setSwizzleRGBA
void setSwizzleRGBA(Swizzle[4] s)
- DepthStencilTextureMode
enum DepthStencilTextureMode
- setDepthStencilTextureMode
void setDepthStencilTextureMode(DepthStencilTextureMode dstm)
- bind
void bind()
glActiveTexture, glBindTexture
- unbind
void unbind()
- setImageTrg
void setImageTrg(ubyte N, GLenum trg, uivec3 sz, InternalFormat store_format, Format input_format, Type input_type, void* data, uint level)
- setImageTrg
void setImageTrg(ubyte N, GLenum trg, Image img, uint level)
- getImageTrg
Image getImageTrg(GLenum trg, Type type, uint level)
- typeFromImageDataType
Type typeFromImageDataType(DataType ctype)
- formatFromImageCompCount
auto formatFromImageCompCount(size_t channels)
- imageElemInfo
auto imageElemInfo(Format fmt, Type type)
- formatElemCount
size_t formatElemCount(Format fmt)
- imageDataType
DataType imageDataType(Type type)
- sizeofType
size_t sizeofType(Type type)
- assertNotCubeMap
void assertNotCubeMap(GLenum trg)
Undocumented in source. Be warned that the author may not have intended to support it.