Class GLTexture
GL Texture object from image
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
|
this
|
Fields
Name | Type | Description |
---|---|---|
_dx
|
int |
|
_dy
|
int |
|
_tdx
|
int |
|
_tdy
|
int |
|
_texture
|
GLObject!(2,3553) |
Properties
Name | Type | Description |
---|---|---|
imageSize
[get]
|
Point |
|
texture
[get]
|
GLObject!(2,3553) |
returns texture object
|
textureId
[get]
|
uint |
returns texture id
|
Methods
Name | Description |
---|---|
isValid
|
|
uv
|
image coords to UV |
uv
|
|
uv
|
return UV coords for bottom right corner |
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0