osg.Texture¶
-
class
osg.
Texture
¶ Represents: c++ class Wraps: osg::Texture Bases: osg.StateAttribute
Methods:
-
:
setWrap
(osg.Texture.WrapParameter which, osg.Texture.WrapMode wrap)¶ -
Параметры: - which (
osg.Texture.WrapParameter
) – - wrap (
osg.Texture.WrapMode
) –
- which (
-
:
getWrap
(osg.Texture.WrapParameter which)¶ -
Параметры: which ( osg.Texture.WrapParameter
) –Тип результата: osg.Texture.WrapMode
-
:
setBorderWidth
(int width)¶ -
Параметры: width ( int
) –
-
:
getBorderWidth
()¶ -
Тип результата: int
-
:
setFilter
(osg.Texture.FilterParameter which, osg.Texture.FilterMode mode)¶ -
Параметры: - which (
osg.Texture.FilterParameter
) – - mode (
osg.Texture.FilterMode
) –
- which (
-
:
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
-
:
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)¶ -
Параметры: - contextID (
unsigned
) – - to (
osg.Texture.TextureObject
) –
- contextID (
-
:
dirtyTextureObject
()¶
-
:
areAllTextureObjectsLoaded
()¶ -
Тип результата: bool
-
: