Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

Class Desc2d

Optional data with which to initialize a TextureResource, which is a 2D texture, in order to customize its behavior.

Hierarchy

  • Desc2d

Index

Constructors

constructor

Properties

allowMipmaps

allowMipmaps: boolean

Specify if mipmapping is enabled or disabled

numMipmaps

numMipmaps: number

if 0 and mipmaps are allowed, full mipmap is used, else the numMipmaps. Defaults to 0

params

params: Params2d

upscaleToRGB

upscaleToRGB: boolean

Upscale images that have fewer than 3 bytes per channel to RGB.

Static DEFAULT

DEFAULT: Desc2d

value = Desc2d()

Generated using TypeDoc