Method | Description | |
---|---|---|
GLTexture ( |
Initializes an uncompressed texture with with raw pixel data and a set of properties. Width and Height are expected pixel dimensions.
|
|
GLTexture ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : System |
Initializes a texture with the given properties. Width and height are expected pixels.
|
Method | Description | |
---|---|---|
Init ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : void |
public GLTexture ( |
||
imgData | ||
properties | ||
return | System |
public GLTexture ( uint name, float width, float height, bool hasMipMaps, float scale, bool premultipliedAlpha ) : System | ||
name | uint | |
width | float | |
height | float | |
hasMipMaps | bool | |
scale | float | |
premultipliedAlpha | bool | |
return | System |