SoMLSampler2D¶
-
InventorModule
¶ genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def keywords vertex
,fragment
,geometry
,shader
Purpose¶
Reads a 2D subimage for a ML image dataset and provides it as a OpenGL shading language sampler (sampler2D
). Also writes the SoMLImageElement
Open Inventor traversal state element.
Parameter Fields¶
Field Index¶
Border Color : Vector4 |
Start Z : Integer |
Enable Border : Bool |
Use 16Bit Floats : Bool |
Mag Filter : Enum |
Wrap S : Enum |
Min Filter : Enum |
Wrap T : Enum |
Name : String |
|
needsTextureCoordinates : Bool |
|
Start T : Integer |
|
Start U : Integer |
Visible Fields¶
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 |