SoMultiPassFramebufferSampler

InventorModule
genre Shader
status work-in-progress
author Felix Ritter
package MeVisLab/Standard
dll SoShader
definition SoShader.def
see also SoInheritedFramebufferSampler
keywords framebuffer, texture

Purpose

Allows to accumulate multiple render passes in a sampler.

Details

Provides the following additional uniform parameters:

  • int oiv_MultipassFBSPass

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Border Color: Vector4 Init Sampler Copy: Bool Texture Unit: Integer
Clear Color: Color Mag Filter: Enum Use Format Hints: Bool
Color Buffer Format: Enum Min Filter: Enum Use Size Hints: Bool
Depth Buffer Target: Enum Name: String use16BitFloat: Bool
Depth Texture Unit: Integer Num Passes: Integer Value: Float
Enable Border: Bool size: String Wrap S: Enum
Epsilon: Float Stencil Buffer: Bool Wrap T: Enum
Id: Integer takeSnapshot: Trigger  

Visible Fields

Name

name: name, type: String

Texture Unit

name: unit, type: Integer, default: 0

Enable Border

name: enableBorder, type: Bool, default: FALSE

Border Color

name: borderColor, type: Vector4, default: 0 0 0 0

Min Filter

name: minFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Mag Filter

name: magFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Wrap S

name: wrapS, type: Enum, default: REPEAT

Values:

Title Name
Repeat REPEAT
Clamp CLAMP
Clamp To Edge CLAMP_TO_EDGE
Clamp To Border CLAMP_TO_BORDER
Mirrored Repeat MIRRORED_REPEAT

Wrap T

name: wrapT, type: Enum, default: REPEAT

Values:

Title Name
Repeat REPEAT
Clamp CLAMP
Clamp To Edge CLAMP_TO_EDGE
Clamp To Border CLAMP_TO_BORDER
Mirrored Repeat MIRRORED_REPEAT

Clear Color

name: clearColor, type: Color, default: 0 0 0

Color Buffer Format

name: colorBufferFormat, type: Enum, default: RGBA

Values:

Title Name
Rgb RGB
Rgb8 RGB8
Rgb16 RGB16
Rgb16f RGB16F
Rgb32f RGB32F
Rgba RGBA
Rgba8 RGBA8
Rgba16 RGBA16
Rgba16f RGBA16F
Rgba32f RGBA32F

Depth Buffer Target

name: depthBufferTarget, type: Enum, default: RENDERBUFFER

Values:

Title Name
None NONE
Renderbuffer RENDERBUFFER
Texture TEXTURE

Depth Texture Unit

name: depthTextureUnit, type: Integer, default: 1

Stencil Buffer

name: stencilBuffer, type: Bool, default: FALSE

Use Size Hints

name: useSizeStateHints, type: Bool, default: FALSE

Use Format Hints

name: useFormatStateHints, type: Bool, default: FALSE

Num Passes

name: numPasses, type: Integer, default: 1

Epsilon

name: epsilon, type: Float, default: 1

Value

name: value, type: Float, default: 1.01

Id

name: id, type: Integer, default: 1

Init Sampler Copy

name: initSamplerCopy, type: Bool, default: TRUE

Hidden Fields

use16BitFloat

name: use16BitFloat, type: Bool, default: TRUE

takeSnapshot

name: takeSnapshot, type: Trigger

size

name: size, type: String, default: 64 64