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(osg.Image image)

Параметры:image (osg.Image) –
:setImage(int face, osg.Image image)

Параметры:
:getImage()

Тип результата:osg.Image
:getImage(int face)

Параметры:face (int) –
Тип результата:osg.Image
:setTextureSize(int width, int height)

Параметры:
  • width (int) –
  • height (int) –
:setTextureWidth(int width)

Параметры:width (int) –
:setTextureHeight(int height)

Параметры:height (int) –