Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sampler

GFX 采样器。

Hierarchy

Index

Constructors

constructor

Properties

Protected _addressU

_addressU: Address = Address.WRAP

Protected _addressV

_addressV: Address = Address.WRAP

Protected _addressW

_addressW: Address = Address.WRAP

Protected _borderColor

_borderColor: Color = new Color()

Protected _cmpFunc

_cmpFunc: ComparisonFunc = ComparisonFunc.NEVER

Protected _device

_device: Device

Protected _gfxType

_gfxType: ObjectType = ObjectType.UNKNOWN

Protected _magFilter

_magFilter: Filter = Filter.LINEAR

Protected _maxAnisotropy

_maxAnisotropy: number = 16

Protected _maxLOD

_maxLOD: number = 0

Protected _minFilter

_minFilter: Filter = Filter.LINEAR

Protected _minLOD

_minLOD: number = 0

Protected _mipFilter

_mipFilter: Filter = Filter.NONE

Protected _mipLODBias

_mipLODBias: number = 0

Accessors

addressU

addressV

addressW

borderColor

  • get borderColor(): Color

cmpFunc

gfxType

magFilter

maxAnisotropy

  • get maxAnisotropy(): number

maxLOD

  • get maxLOD(): number

minFilter

minLOD

  • get minLOD(): number

mipFilter

mipLODBias

  • get mipLODBias(): number

Methods

Abstract destroy

  • destroy(): void

Abstract initialize

Generated using TypeDoc