DriftTexture · function
semanticIndex
Where a semantic sits in that order, or −1 for one this build does not know.
Explained in DriftTexture.
function semanticIndex(semantic: ChannelSemantic): numberimport { semanticIndex } from '@driftengine/texture';Parameters
| Parameter | Type | Description |
|---|---|---|
semantic | ChannelSemantic |