osg.FrameBufferAttachment¶
- class osg.FrameBufferAttachment¶
- Represents
c++ class
- Wraps
osg::FrameBufferAttachment
Constructors:
- osg.FrameBufferAttachment()¶
- osg.FrameBufferAttachment(osg.FrameBufferAttachment copy)
-
- Параметры
copy (
osg.FrameBufferAttachment
) –
- osg.FrameBufferAttachment(osg.RenderBuffer target)
-
- Параметры
target (
osg.RenderBuffer
) –
- osg.FrameBufferAttachment(osg.Texture1D target, unsigned level)
-
- Параметры
target (
osg.Texture1D
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture1D target)
-
- Параметры
target (
osg.Texture1D
) –
- osg.FrameBufferAttachment(osg.Texture2D target, unsigned level)
-
- Параметры
target (
osg.Texture2D
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture2D target)
-
- Параметры
target (
osg.Texture2D
) –
- osg.FrameBufferAttachment(osg.Texture2DMultisample target, unsigned level)
-
- Параметры
target (
osg.Texture2DMultisample
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture2DMultisample target)
-
- Параметры
target (
osg.Texture2DMultisample
) –
- osg.FrameBufferAttachment(osg.Texture3D target, unsigned zoffset, unsigned level)
-
- Параметры
target (
osg.Texture3D
) –zoffset (
unsigned
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture3D target, unsigned zoffset)
-
- Параметры
target (
osg.Texture3D
) –zoffset (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture2DArray target, unsigned layer, unsigned level)
-
- Параметры
target (
osg.Texture2DArray
) –layer (
unsigned
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.Texture2DArray target, unsigned layer)
-
- Параметры
target (
osg.Texture2DArray
) –layer (
unsigned
) –
- osg.FrameBufferAttachment(osg.TextureCubeMap target, unsigned face, unsigned level)
-
- Параметры
target (
osg.TextureCubeMap
) –face (
unsigned
) –level (
unsigned
) –
- osg.FrameBufferAttachment(osg.TextureCubeMap target, unsigned face)
-
- Параметры
target (
osg.TextureCubeMap
) –face (
unsigned
) –
- osg.FrameBufferAttachment(osg.TextureRectangle target)
-
- Параметры
target (
osg.TextureRectangle
) –
- osg.FrameBufferAttachment(osg.Camera.Attachment attachment)
-
- Параметры
attachment (
osg.Camera.Attachment
) –
Methods:
- :isMultisample()¶
-
- Тип результата
bool
- :createRequiredTexturesAndApplyGenerateMipMap(osg.State state, osg.GLExtensions ext)¶
-
- Параметры
state (
osg.State
) –ext (
osg.GLExtensions
) –
- :attach(osg.State state, GLenum.Value target, GLenum.Value attachment_point, osg.GLExtensions ext)¶
-
- Параметры
state (
osg.State
) –target (
GLenum.Value
) –attachment_point (
GLenum.Value
) –ext (
osg.GLExtensions
) –
- :compare(osg.FrameBufferAttachment fa)¶
-
- Параметры
fa (
osg.FrameBufferAttachment
) –- Тип результата
int
- :getRenderBuffer()¶
-
- Тип результата
- :getTexture()¶
-
- Тип результата
- :getCubeMapFace()¶
-
- Тип результата
unsigned
- :getTextureLevel()¶
-
- Тип результата
unsigned
- :getTexture3DZOffset()¶
-
- Тип результата
unsigned
- :getTextureArrayLayer()¶
-
- Тип результата
unsigned
- :resizeGLObjectBuffers(unsigned maxSize)¶
-
- Параметры
maxSize (
unsigned
) –
- :releaseGLObjects()