SoShaderParameterMLImageProperties

InventorModule

genre

Shader

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoShader

definition

SoShader.def

keywords

vertex, fragment, geometry

Purpose

The module SoShaderParameterMLImageProperties reads the SoMLImageElement from the Open Inventor state and provides the information as uniform parameters.

Details

The following uniform parameters are available:

  • ivec3 NameOfParameter_size - contains the three dimensions of the referenced ML image

  • vec3 NameOfParameter_voxelSize - contains the voxel size of the referenced ML image

  • vec2 NameOfParameter_range - provides access to the value range of the sampler’s texture; this value is normalized for unsigned integer ML images

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Name

name: name, type: String