SoFramebufferSampler3D

InventorModule
genre Shader
status stable
author Felix Ritter
package MeVisLab/Standard
dll SoShader
definition SoShader.def
keywords framebuffer

Purpose

Provides an OpenGL framebuffer object as an shading language sampler (sampler3D).

Details

May read the SoMLImageElement from the Open Inventor state to adjust the OpenGL framebuffer object precision and size.

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Border Color: Vector4 Name: String Wrap R: Enum
Clear Color: Color Size: String Wrap S: Enum
Color Buffer Format: Enum Stencil Buffer: Bool Wrap T: Enum
Depth Buffer Target: Enum takeSnapshot: Trigger  
Depth Texture Unit: Integer Texture Unit: Integer  
Enable Border: Bool Use Format Hints: Bool  
Mag Filter: Enum Use Size Hints: Bool  
Min Filter: Enum use16BitFloat: Bool  

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

Size

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

Wrap R

name: wrapR, 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

Hidden Fields

use16BitFloat

name: use16BitFloat, type: Bool, default: TRUE

takeSnapshot

name: takeSnapshot, type: Trigger