A WebGPU implementation of the Texture.

Properties

texture: Texture

Methods

  • Parameters

    • device: any

      The Graphics Device.

    • OptionalsampleType: number

      A sample type for the sampler, SAMPLETYPE_*** constant. If not specified, the sampler type is based on the texture format / texture sampling type.

    Returns any

    • Returns the sampler.