osg.GraphicsContext¶
-
class
osg.
GraphicsContext
¶ Represents: c++ class Wraps: osg::GraphicsContext Bases: osg.Object
Methods:
-
:
add
(osg.Operation operation)¶ -
Параметры: operation ( osg.Operation
) –
-
:
remove
(osg.Operation operation)¶ -
Параметры: operation ( osg.Operation
) –
-
:
remove
(std.string name) -
Параметры: name ( std.string
) –
-
:
removeAllOperations
()¶
-
:
runOperations
()¶
-
:
getCurrentOperation
()¶ -
Тип результата: osg.Operation
-
:
getTraits
()¶ -
Тип результата: osg.GraphicsContext.Traits
-
:
setClearMask
(unsigned mask)¶ -
Параметры: mask ( unsigned
) –
-
:
getClearMask
()¶ -
Тип результата: unsigned
-
:
clear
()¶
-
:
getTimeSinceLastClear
()¶ -
Тип результата: double
-
:
realize
()¶ -
Тип результата: bool
-
:
isRealized
()¶ -
Тип результата: bool
-
:
close
()¶
-
:
close
(bool callCloseImplementation) -
Параметры: callCloseImplementation ( bool
) –
-
:
swapBuffers
()¶
-
:
makeCurrent
()¶
-
:
makeContextCurrent
(osg.GraphicsContext context)¶ -
Параметры: context ( osg.GraphicsContext
) –
-
:
releaseContext
()¶ -
Тип результата: bool
-
:
isCurrent
()¶ -
Тип результата: bool
-
:
bindPBufferToTexture
(unsigned buffer)¶ -
Параметры: buffer ( unsigned
) –
-
:
createGraphicsThread
()¶
-
:
realizeImplementation
()¶ -
Тип результата: bool
-
:
isRealizedImplementation
()¶ -
Тип результата: bool
-
:
closeImplementation
()¶
-
:
makeCurrentImplementation
()¶ -
Тип результата: bool
-
:
makeContextCurrentImplementation
(osg.GraphicsContext readContext)¶ -
Параметры: readContext ( osg.GraphicsContext
) –Тип результата: bool
-
:
releaseContextImplementation
()¶ -
Тип результата: bool
-
:
bindPBufferToTextureImplementation
(unsigned buffer)¶ -
Параметры: buffer ( unsigned
) –
-
:
setSwapCallback
(osg.GraphicsContext.SwapCallback cb)¶ -
Параметры: cb ( osg.GraphicsContext.SwapCallback
) –
-
:
getSwapCallback
()¶ -
Тип результата: osg.GraphicsContext.SwapCallback
-
:
swapBuffersImplementation
()¶
-
:
resized
(int x, int y, int width, int height)¶ -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) –
- x (
-
:
setResizedCallback
(osg.GraphicsContext.ResizedCallback cb)¶ -
Параметры: cb ( osg.GraphicsContext.ResizedCallback
) –
-
:
getResizedCallback
()¶ -
Тип результата: osg.GraphicsContext.ResizedCallback
-
:
resizedImplementation
(int x, int y, int width, int height)¶ -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) –
- x (
Static Methods:
-
.
createGraphicsContext
(osg.GraphicsContext.Traits traits)¶ -
Параметры: traits ( osg.GraphicsContext.Traits
) –Тип результата: osg.GraphicsContext
-
: