osg.GLExtensions¶
-
class
osg.
GLExtensions
¶ Represents: c++ class Wraps: osg::GLExtensions Bases: osg.Referenced
Constructors:
-
osg.
GLExtensions
(unsigned in_contextID)¶ -
Параметры: in_contextID ( unsigned
) –
Methods:
-
:
getCurrentProgram
()¶ -
Тип результата: unsigned
-
:
getProgramInfoLog
(unsigned program)¶ -
Параметры: program ( unsigned
) –Тип результата: std.string
-
:
getShaderInfoLog
(unsigned shader)¶ -
Параметры: shader ( unsigned
) –Тип результата: std.string
-
:
getAttribLocation
(std.string attribName)¶ -
Параметры: attribName ( std.string
) –Тип результата: unsigned
-
:
getFragDataLocation
(std.string fragDataName)¶ -
Параметры: fragDataName ( std.string
) –Тип результата: unsigned
-
:
isFrameBufferObjectSupported
()¶ -
Тип результата: bool
-
:
isPackedDepthStencilSupported
()¶ -
Тип результата: bool
-
:
isMultisampledRenderToTextureSupported
()¶ -
Тип результата: bool
-
:
isInvalidateFramebufferSupported
()¶ -
Тип результата: bool
-
:
isRenderbufferMultisampleSupported
()¶ -
Тип результата: bool
-
:
isRenderbufferMultisampleCoverageSupported
()¶ -
Тип результата: bool
-
:
glBindRenderbuffer
(GLenum.Value target, unsigned renderbuffer)¶ -
Параметры: - target (
GLenum.Value
) – - renderbuffer (
unsigned
) –
- target (
-
:
glBindFramebuffer
(GLenum.Value target, unsigned framebuffer)¶ -
Параметры: - target (
GLenum.Value
) – - framebuffer (
unsigned
) –
- target (
-
:
glFramebufferTexture1D
(GLenum.Value target, GLenum.Value attachment, GLenum.Value textarget, unsigned texture, int level)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - textarget (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) –
- target (
-
:
glFramebufferTexture2D
(GLenum.Value target, GLenum.Value attachment, GLenum.Value textarget, unsigned texture, int level)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - textarget (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) –
- target (
-
:
glFramebufferTexture2DMultisample
(GLenum.Value target, GLenum.Value attachment, GLenum.Value textarget, unsigned texture, int level, unsigned samples)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - textarget (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) – - samples (
unsigned
) –
- target (
-
:
glFramebufferTexture3D
(GLenum.Value target, GLenum.Value attachment, GLenum.Value textarget, unsigned texture, int level, int layer)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - textarget (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) – - layer (
int
) –
- target (
-
:
glFramebufferTexture
(GLenum.Value target, GLenum.Value attachment, GLenum.Value textarget, unsigned texture)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - textarget (
GLenum.Value
) – - texture (
unsigned
) –
- target (
-
:
glFramebufferTextureLayer
(GLenum.Value target, GLenum.Value attachment, unsigned texture, int level, int layer)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) – - layer (
int
) –
- target (
-
:
glFramebufferTextureFace
(GLenum.Value target, GLenum.Value attachment, unsigned texture, int level, GLenum.Value face)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - texture (
unsigned
) – - level (
int
) – - face (
GLenum.Value
) –
- target (
-
:
glFramebufferRenderbuffer
(GLenum.Value target, GLenum.Value attachment, GLenum.Value renderbuffertarget, unsigned renderbuffer)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) – - renderbuffertarget (
GLenum.Value
) – - renderbuffer (
unsigned
) –
- target (
-
:
glGenerateMipmap
(GLenum.Value target)¶ -
Параметры: target ( GLenum.Value
) –
-
:
glBlitFramebuffer
(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, unsigned mask, GLenum.Value filter)¶ -
Параметры: - srcX0 (
int
) – - srcY0 (
int
) – - srcX1 (
int
) – - srcY1 (
int
) – - dstX0 (
int
) – - dstY0 (
int
) – - dstX1 (
int
) – - dstY1 (
int
) – - mask (
unsigned
) – - filter (
GLenum.Value
) –
- srcX0 (
-
:
glInvalidateFramebuffer
(GLenum.Value target, GLenum.Value attachment)¶ -
Параметры: - target (
GLenum.Value
) – - attachment (
GLenum.Value
) –
- target (
Static Methods:
-
.
Get
(unsigned in_contextID, bool createIfNotInitalized)¶ -
Параметры: - in_contextID (
unsigned
) – - createIfNotInitalized (
bool
) –
Тип результата: - in_contextID (
-
.
Set
(unsigned in_contextID, osg.GLExtensions extensions)¶ -
Параметры: - in_contextID (
unsigned
) – - extensions (
osg.GLExtensions
) –
- in_contextID (
-