Interface SamplerDescriptor

Hierarchy

  • SamplerDescriptor

Properties

addressModeU?: AddressMode

Texture address mode for texture width coordinates. Defaults to ClampToEdge

addressModeV?: AddressMode

Texture address mode for texture height coordinates. Defaults to ClampToEdge

addressModeW?: AddressMode

Texture address mode for texture depth coordinates. Defaults to ClampToEdge

compare?: null | CompareFunction

Specifies the behavior of a comparison sampler. Defaults to null.

lodMaxClamp?: number

Maximum levels of detail. Defaults to 32.

lodMinClamp?: number

Minimum levels of detail. Defaults to 0.

magFilter?: FilterMode

Texture filter mode for magnification. Defaults to Nearest

maxAnisotropy?: number

Max anisotropy level. Defaults to 1. Requires EXT_texture_filter_anisotropic extension.

minFilter?: FilterMode

Texture filter mode for minimifaction. Defaults to Nearest

mipmapFilter?: FilterMode

Texture filter mode for sampling between two mipmap levels. Defaults to Nearest

Generated using TypeDoc