osg.Texture2D¶
-
class
osg.
Texture2D
¶ Represents: c++ class Wraps: osg::Texture2D Bases: osg.Texture
Constructors:
-
osg.
Texture2D
()¶
-
osg.
Texture2D
(osg.Image image) -
Параметры: image ( osg.Image
) –
Methods:
-
:
setNumMipmapLevels
(unsigned num)¶ -
Параметры: num ( unsigned
) –
-
:
getNumMipmapLevels
()¶ -
Тип результата: unsigned
-
:
setImage
(int face, osg.Image image) -
Параметры: - face (
int
) – - image (
osg.Image
) –
- face (
-
:
getImage
(int face) -
Параметры: face ( int
) –Тип результата: osg.Image
-
:
setTextureSize
(int width, int height)¶ -
Параметры: - width (
int
) – - height (
int
) –
- width (
-
:
setTextureWidth
(int width)¶ -
Параметры: width ( int
) –
-
:
setTextureHeight
(int height)¶ -
Параметры: height ( int
) –
-