OGLFramebuffer.kl

Types

OGLFramebuffer (object)

For an OGLFramebuffer, the container version is the name and number of attachments. The value version is the size, and the types / bufferIDs of the individual attachments. It doesn’t reflect the pixel data value version of the individual buffers.

Members

Versions version  
String name  
UInt32 bufferID  
UInt32 unactiveBufferID  
Boolean externallyOwned  
OGLWrapperGlobals wrapperGlobals  
StatisticsAutoRegisterMember autoStats  
Size width  
OGLFramebuffer_attachment[] colors  
OGLFramebuffer_attachment depth  
UInt32 activeStateVersion  
OGLFramebuffer_perContextData[] perContextData  

Methods

  OGLFramebuffer ( in OGLFramebuffer other )
  OGLFramebuffer ()
Boolean activate ! ( in UInt32 target, io Ref<OGLContext> context )
Boolean activate ! ( in UInt32 target, io Ref<OGLContext> context, io OGLFramebuffer_perContextData contextData )
  activateAllDefinedColors ! ( io Ref<OGLContext> context )
  clearAllColors ! ( in Color color, io Ref<OGLContext> context )
  clearColor ! ( in Size index, in Color color, in Boolean noMask, io Ref<OGLContext> context )
  clearDepth ! ( in Scalar depth, in Boolean noMask, io Ref<OGLContext> context )
  clearDepthStencil ! ( in Scalar depth, in UInt32 stencil, in Boolean noMask, io Ref<OGLContext> context )
  clearInteger ! ( in Size index, in SInt32 values[4], in Boolean noMask, io Ref<OGLContext> context )
  clearUnsignedInteger ! ( in Size index, in UInt32 values[4], in Boolean noMask, io Ref<OGLContext> context )
OGLFramebuffer clone ? ()
Boolean create ! ( io Ref<OGLContext> context )
UInt32 getColorActiveLayerOrCubeFace ? ( in UInt32 index )
UInt32 getColorActiveMipmapLevel ? ( in UInt32 index )
Ref<OGLImageObject> getColorAttachment ? ( in Size index )
Size getColorAttachmentCount ? ()
Size getColorAttachmentIndex ? ( in String name )
String getColorAttachmentName ? ( in Size index )
  getColorFormat ? ( in UInt32 index, io UInt32 glComponentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits )
UInt32 getDepthActiveLayerOrCubeFace ? ()
UInt32 getDepthActiveMipmapLevel ? ( in UInt32 index )
Ref<OGLImageObject> getDepthAttachment ? ()
String getDepthAttachmentName ? ()
  getDepthFormat ? ( io UInt32 glComponentType, io UInt32 depthBits, io UInt32 stencilBits )
  incrementColorAttachmentValueVersion ? ( in Size index )
  incrementDepthAttachmentValueVersion ? ()
Boolean isColorAttachmentShared ? ( in Size index )
Boolean isColorCubeMapped ? ( in UInt32 index )
Boolean isColorLayered ? ( in UInt32 index )
Boolean isColorTexture ? ( in UInt32 index )
Boolean isDepthCubeMapped ? ()
Boolean isDepthLayered ? ()
Boolean isDepthTexture ? ()
UInt32 pushColorRenderbufferAttachment ! ( in String name, in UInt32 glInternalFormat )
UInt32 pushColorTextureAttachment ! ( in String name, in Boolean isShadow, in UInt32 glTextureType, in UInt32 glFormat, in UInt32 glInternalFormat )
  removeColorAttachment ! ( in UInt32 index )
  setColorActiveLayerOrCubeFace ! ( in UInt32 index, in UInt32 layer )
  setColorActiveMipmapLevel ! ( in UInt32 index, in UInt32 level )
  setColorAttachmentCount ! ( in Size count )
  setColorAttachmentDepth ! ( in UInt32 index, in Size depth )
  setColorAttachmentName ! ( in UInt32 index, in String name )
  setColorRenderbufferAttachment ! ( in UInt32 index, in String name, in UInt32 glInternalFormat )
  setColorTextureAttachment ! ( in UInt32 index, in String name, in Boolean isShadow, in UInt32 glTextureType, in UInt32 glFormat, in UInt32 glInternalFormat )
  setDepthActiveLayerOrCubeFace ! ( in UInt32 layer )
  setDepthActiveMipmapLevel ! ( in UInt32 level )
  setDepthAttachmentDepth ! ( in Size depth )
  setDepthAttachmentName ! ( in String name )
  setDepthRenderbufferAttachment ! ( in UInt32 glInternalFormat )
  setDepthTextureAttachment ! ( in Boolean shadow, in UInt32 glTextureType, in UInt32 glFormat, in UInt32 glInternalFormat )
  setSharedColorAttachment ! ( in UInt32 index, in String name, in Ref<OGLImageObject> attachment )
  setSize ! ( in Size width, in Size height )
  setSize ! ( in Size width, in Size height, in Size samples )
  ~OGLFramebuffer ()