Inherits Powertek::OpenGl::PtTexture2d.
Public Member Functions | |
| PtPixelTexture () | |
| PtPixelTexture (PixelTextureInterPolation interpolation, PixelTextureMapping mapping, PixelTextureAccessMode accessMode, float maxLodDistance) | |
| void | SetTextureParams (PixelTextureInterPolation textureInterpolation, PixelTextureMapping textureMapping, PixelTextureAccessMode accessMode, float maxLodDistance) |
| override bool | LoadFromFile (String filename) |
| bool | LoadFromFile (String filename, float blurFac) |
| override bool | LoadFromFile (String filename, int WRAP_S, int WRAP_T, int MIN_FILTER, int MAG_FILTER, bool useMipMaps, bool flipTextureY, int aniosotropicLevel) |
| Vertex3f | GetColor (float u, float v) |
| Vertex3f | GetColor (float u, float v, ref float distance) |
| Vertex3f | GetColor (float u, float v, int lodLevel) |
Properties | |
| bool | ResizedBitmap [get] |
| Powertek.OpenGl.PtPixelTexture.PtPixelTexture | ( | ) |
| Powertek.OpenGl.PtPixelTexture.PtPixelTexture | ( | PixelTextureInterPolation | interpolation, | |
| PixelTextureMapping | mapping, | |||
| PixelTextureAccessMode | accessMode, | |||
| float | maxLodDistance | |||
| ) |
| Vertex3f Powertek.OpenGl.PtPixelTexture.GetColor | ( | float | u, | |
| float | v, | |||
| int | lodLevel | |||
| ) |
Return Color at Texture Coords,.
| u | ||
| v | ||
| lodLevel |
| Vertex3f Powertek.OpenGl.PtPixelTexture.GetColor | ( | float | u, | |
| float | v, | |||
| ref float | distance | |||
| ) |
Return Color at Texture Coords and distance (Lod level).
| u | ||
| v | ||
| distance |
| Vertex3f Powertek.OpenGl.PtPixelTexture.GetColor | ( | float | u, | |
| float | v | |||
| ) |
Return Color at Texture Coords.
| u | ||
| v |
| override bool Powertek.OpenGl.PtPixelTexture.LoadFromFile | ( | String | filename, | |
| int | WRAP_S, | |||
| int | WRAP_T, | |||
| int | MIN_FILTER, | |||
| int | MAG_FILTER, | |||
| bool | useMipMaps, | |||
| bool | flipTextureY, | |||
| int | aniosotropicLevel | |||
| ) | [virtual] |
Load Texture from file.
| filename | ||
| WRAP_S | ||
| WRAP_T | ||
| MIN_FILTER | ||
| MAG_FILTER | ||
| useMipMaps | ||
| flipTextureY | ||
| aniosotropicLevel |
Reimplemented from Powertek.OpenGl.PtTexture2d.
| bool Powertek.OpenGl.PtPixelTexture.LoadFromFile | ( | String | filename, | |
| float | blurFac | |||
| ) |
Load Texture from file.
| filename | ||
| blurFac |
| override bool Powertek.OpenGl.PtPixelTexture.LoadFromFile | ( | String | filename | ) | [virtual] |
Load Texture from file.
| filename |
Reimplemented from Powertek.OpenGl.PtTexture2d.
| void Powertek.OpenGl.PtPixelTexture.SetTextureParams | ( | PixelTextureInterPolation | textureInterpolation, | |
| PixelTextureMapping | textureMapping, | |||
| PixelTextureAccessMode | accessMode, | |||
| float | maxLodDistance | |||
| ) |
SetTextureParams.
| textureInterpolation | ||
| textureMapping | ||
| accessMode | ||
| maxLodDistance |
bool Powertek.OpenGl.PtPixelTexture.ResizedBitmap [get] |
Return the resized Texture as Bitmap.
1.5.7.1