SoPostEffectCopyBuffer¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def
Purpose¶
The SoPostEffectCopyBuffer
module offers copying a buffer to another buffer of the SoPostEffectRenderer
module.
It can even copy depth buffers (e.g. GL_DEPTH_COMPONENT24) to color buffers (e.g. GL_R32F) and vice versa.
Parameter Fields¶
Field Index¶
Enabled : Bool |
Output Buffer Type : Enum |
Output Mode : Enum |
Source Buffer Name : String |
Target Buffer Name : String |
Visible Fields¶
Source Buffer Name¶
-
name:
sourceBufferName
, type:
String
, default:
colorBuffer
¶ Selects the name of the source buffer.
Target Buffer Name¶
-
name:
targetBufferName
, type:
String
, default:
auxBuffer
¶ Selects the name of the target buffer.
Output Mode¶
-
name:
outputMode
, type:
Enum
, default:
CreateBuffer
¶ Selects the output mode.
Values:
Title | Name | Description |
---|---|---|
Use Existing Buffer | UseExistingBuffer | Expects that there is an existing buffer with Target Buffer Name name. |
Create Buffer | CreateBuffer | Creates a new buffer with Target Buffer Name name. |
Output Buffer Type¶
-
name:
outputBufferType
, type:
Enum
, default:
SOURCE_TYPE
¶ Selects the type of the output buffer.
Values:
Title | Name | Description |
---|---|---|
Source Type | SOURCE_TYPE | Uses the same type as the input buffer. |
Rgb8 | RGB8 | See OpenGL. |
Rgba8 | RGBA8 | See OpenGL. |
Rgb16f | RGB16F | See OpenGL. |
Rgba16f | RGBA16F | See OpenGL. |
Rgb10 A2 | RGB10_A2 | See OpenGL. |
R8 | R8 | See OpenGL. |
R16f | R16F | See OpenGL. |
R32f | R32F | See OpenGL. |
Depth Component24 | DEPTH_COMPONENT24 | See OpenGL. |
Depth Component32 | DEPTH_COMPONENT32 | See OpenGL. |
Depth24 Stencil8 | DEPTH24_STENCIL8 | See OpenGL. |
Depth32f Stencil8 | DEPTH32F_STENCIL8 | See OpenGL. |