osg.Texture

class osg.Texture
Represents:c++ class
Wraps:osg::Texture
Bases:osg.StateAttribute

Methods:

:setWrap(osg.Texture.WrapParameter which, osg.Texture.WrapMode wrap)

Параметры:
:getWrap(osg.Texture.WrapParameter which)

Параметры:which (osg.Texture.WrapParameter) –
Тип результата:osg.Texture.WrapMode
:setBorderColor(osg.Vec4 color)

Параметры:color (osg.Vec4) –
:getBorderColor()

Тип результата:osg.Vec4
:setBorderWidth(int width)

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

Тип результата:int
:setFilter(osg.Texture.FilterParameter which, osg.Texture.FilterMode mode)

Параметры:
:getFilter(osg.Texture.FilterParameter which)

Параметры:which (osg.Texture.FilterParameter) –
Тип результата:osg.Texture.FilterMode
:setMaxAnisotropy(double anis)

Параметры:anis (double) –
:getMaxAnisotropy()

Тип результата:double
:setUseHardwareMipMapGeneration(bool b)

Параметры:b (bool) –
:getUseHardwareMipMapGeneration()

Тип результата:bool
:setUnRefImageDataAfterApply(bool b)

Параметры:b (bool) –
:getUnRefImageDataAfterApply()

Тип результата:bool
:setClientStorageHint(bool b)

Параметры:b (bool) –
:getClientStorageHint()

Тип результата:bool
:setResizeNonPowerOfTwoHint(bool b)

Параметры:b (bool) –
:getResizeNonPowerOfTwoHint()

Тип результата:bool
:setShadowComparison(bool flag)

Параметры:flag (bool) –
:getShadowComparison()

Тип результата:bool
:setShadowCompareFunc(osg.Texture.ShadowCompareFunc func)

Параметры:func (osg.Texture.ShadowCompareFunc) –
:getShadowCompareFunc()

Тип результата:osg.Texture.ShadowCompareFunc
:setShadowTextureMode(osg.Texture.ShadowTextureMode mode)

Параметры:mode (osg.Texture.ShadowTextureMode) –
:getShadowTextureMode()

Тип результата:osg.Texture.ShadowTextureMode
:setImage(int face, osg.Image image)

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

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

Тип результата:unsigned
:getTextureTarget()

Тип результата:int
:getTextureWidth()

Тип результата:int
:getTextureHeight()

Тип результата:int
:getTextureDepth()

Тип результата:int
:setSourceFormat(GLenum.Value format)

Параметры:format (GLenum.Value) –
:getSourceFormat()

Тип результата:GLenum.Value
:setInternalFormatMode(osg.Texture.InternalFormatMode fromatmode)

Параметры:fromatmode (osg.Texture.InternalFormatMode) –
:getInternalFormatMode()

Тип результата:osg.Texture.InternalFormatMode
:setInternalFormat(unsigned format)

Параметры:format (unsigned) –
:getInternalFormat()

Тип результата:unsigned
:isCompressedInternalFormat()

Тип результата:bool
:setSourceType(GLenum.Value datatype)

Параметры:datatype (GLenum.Value) –
:getSourceType()

Тип результата:GLenum.Value
:isDirty(unsigned contextID)

Параметры:contextID (unsigned) –
Тип результата:bool
:getTextureObject(unsigned contextID)

Параметры:contextID (unsigned) –
Тип результата:osg.Texture.TextureObject
:setTextureObject(unsigned contextID, osg.Texture.TextureObject to)

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

:areAllTextureObjectsLoaded()

Тип результата:bool