DriftTexture · function

isColour

Whether this channel carries colour, and therefore whether a transfer curve applies to it.

Explained in DriftTexture.

function isColour(semantic: ChannelSemantic): boolean
import { isColour } from '@driftengine/texture';

Parameters

ParameterTypeDescription
semanticChannelSemantic