{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Enumeration: SamplingMode","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d"},"children":["geotoolkit3d"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3"},"children":["scene"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric"},"children":["volumetric"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.constants"},"children":["Constants"]}," / SamplingMode"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enumeration-samplingmode","__idx":0},"children":["Enumeration: SamplingMode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric"},"children":["volumetric"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.constants"},"children":["Constants"]},".SamplingMode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sampling Mode.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","This enum is used to describe the sampling mode of the volume data texture."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.samplingmode#cubic"},"children":["Cubic"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.samplingmode#linear"},"children":["Linear"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.samplingmode#nearest"},"children":["Nearest"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"cubic","__idx":3},"children":["Cubic"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cubic"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Cubic\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Cubic Interpolation mode",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Use tri-cubic filtering (also called cubic interpolation) to sample the volume data texture.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Warning: this filtering is much slower compared to Nearest and Linear mode, due to the increased sampling.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","It is not recommended to use this filtering with lower-end GPUs and devices such as older integrated GPUs.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","To mitigate performance impact, a lower sampling rate can be set on the Volume object."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"linear","__idx":4},"children":["Linear"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Linear"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Linear\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Linear Interpolation mode",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Use tri-linear filtering (also called linear interpolation) to sample the volume data texture."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"nearest","__idx":5},"children":["Nearest"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nearest"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Nearest\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Nearest Neighbor mode",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Use nearest neighbor (also called step interpolation) to sample the volume data texture."]}]}]},"headings":[{"value":"Enumeration: SamplingMode","id":"enumeration-samplingmode","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"Cubic","id":"cubic","depth":4},{"value":"Linear","id":"linear","depth":4},{"value":"Nearest","id":"nearest","depth":4}],"frontmatter":{"seo":{"title":"Enumeration: SamplingMode"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.samplingmode","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}