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)

Параметры
osg.FrameBufferAttachment(osg.Texture1D target)

Параметры

target (osg.Texture1D) –

osg.FrameBufferAttachment(osg.Texture2D target, unsigned level)

Параметры
osg.FrameBufferAttachment(osg.Texture2D target)

Параметры

target (osg.Texture2D) –

osg.FrameBufferAttachment(osg.Texture2DMultisample target, unsigned level)

Параметры
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)

Параметры
osg.FrameBufferAttachment(osg.Texture2DArray target, unsigned layer, unsigned level)

Параметры
osg.FrameBufferAttachment(osg.Texture2DArray target, unsigned layer)

Параметры
osg.FrameBufferAttachment(osg.TextureCubeMap target, unsigned face, unsigned level)

Параметры
osg.FrameBufferAttachment(osg.TextureCubeMap target, unsigned face)

Параметры
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)

Параметры
:attach(osg.State state, GLenum.Value target, GLenum.Value attachment_point, osg.GLExtensions ext)

Параметры
:compare(osg.FrameBufferAttachment fa)

Параметры

fa (osg.FrameBufferAttachment) –

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

int

:getRenderBuffer()

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

osg.RenderBuffer

:getTexture()

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

osg.Texture

:getCubeMapFace()

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

unsigned

:getTextureLevel()

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

unsigned

:getTexture3DZOffset()

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

unsigned

:getTextureArrayLayer()

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

unsigned

:resizeGLObjectBuffers(unsigned maxSize)

Параметры

maxSize (unsigned) –

:releaseGLObjects(osg.State state)

Параметры

state (osg.State) –

:releaseGLObjects()