Skip to content

Documentation / spryte / ShaderTextureOptions

Interface: ShaderTextureOptions ​

Defined in: shader.ts:17

Options for a texture set with Shader.set(name, texture). Since spryte 0.13.

Properties ​

smooth? ​

optional smooth?: boolean

Defined in: shader.ts:19

Linear filtering (trilinear on mipmapped images). Default false: nearest, so each texel reads exactly.