Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextureOptions

Options for a Texture object.

Hierarchy

  • TextureOptions

Index

Properties

Optional generateMipmaps

generateMipmaps: boolean = true

If true, mip maps will be generated for the texture (default true). Mip maps will give a better visual appearance when the texture is smaller in screen pixels than the texture image.

Optional magFilter

magFilter: TextureMagFilter = TextureMagFilter.LINEAR

Specifies the magnification filtering used when doing the texture mapping.

Optional minFilter

minFilter: TextureMinFilter = TextureMinFilter.LINEAR_MIPMAP_LINEAR

Specifies the minifying filtering used when doing the texture mapping.

Optional wrapMode

wrapMode: TextureWrapMode = TextureWrapMode.REPEAT

Specifies what should happen to texture coordinates that are outside the 0 to 1 range

Generated using TypeDoc