SoPostEffectCopyBuffer¶
- InventorModule¶
author
package
dll
definition
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¶
|
|
|
|
|
Visible Fields¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
If checked, the effect is enabled.
Source Buffer Name¶
- name: sourceBufferName, type: String, default: colorBuffer¶
Sets the name of the source buffer.
Target Buffer Name¶
- name: targetBufferName, type: String, default: auxBuffer¶
Sets the name of the target buffer.
Output Mode¶
- name: outputMode, type: Enum, default: CreateBuffer¶
Defines the output mode.
Values:
Title |
Name |
Description |
|---|---|---|
Use Existing Buffer |
UseExistingBuffer |
Expects that there is an existing buffer with |
Create Buffer |
CreateBuffer |
Creates a new buffer with |
Output Buffer Type¶
- name: outputBufferType, type: Enum, default: SOURCE_TYPE¶
Defines 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. |