struct

FTextureSampleMode

How a Texture Sample node reads its map. Packed into maskChannel (unused by the sample node) so serialization and every existing TextureSample code path stay untouched, and a node written before this existed (0) is the plain UV-driven sample on the texture's own sampler. bits 0-1 sampler source: the texture's own sampler | Wrap | Mirror | Clamp. The three overrides remap the UV in the shader and sample with the original gradients, so they need no extra sampler binding. bits 2-3 projection: UV | Triplanar (world position, blended by the world normal) | World top-down (world XZ). panSpeed.y = metres per repeat (0 = 1), fresnelPower = triplanar blend sharpness. bits 4-5 anti-tiling: off | Hex tiling (three rotated/offset taps on a hex grid) | Texture bombing (four random-offset, mirrored taps). scalar is the mip bias added to the frame's material bias.

Module
AssetSystem
Header
#include "AssetSystem/Assets/MaterialGraph.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
uint32_tSampler
uint32_tProjection
uint32_tAntiTile
uint32_tPack

Function details

Sampler

C++
static uint32_t Sampler(uint32_t packed)

Projection

C++
static uint32_t Projection(uint32_t packed)

AntiTile

C++
static uint32_t AntiTile(uint32_t packed)

Pack

C++
static uint32_t Pack(uint32_t sampler, uint32_t projection, uint32_t antiTile)
Generated from AssetSystem/Assets/MaterialGraph.h via assetsystem.json · Dec 5, 2026Version 1.1.0