DDSLoader

THREE.DDSLoader
class DDSLoader(loadingManager: UndefOr[LoadingManager]) extends Object

A loader for the S3TC texture compression format (DDS files).

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def load(url: String, onLoad: UndefOr[Function1[CompressedTexture, Unit]], onProgress: UndefOr[Function3[Any, Int, Int, Unit]], onError: UndefOr[Function1[Error, Unit]]): CompressedTexture

Load a DDS texture from a URL.

Load a DDS texture from a URL.

Attributes

def loadAsync(url: String, onProgress: UndefOr[Function3[Any, Int, Int, Unit]]): Promise[CompressedTexture]

Load a DDS texture from a URL asynchronously with Promise.

Load a DDS texture from a URL asynchronously with Promise.

Attributes

def parse(buffer: ArrayBuffer, loadMipmaps: Boolean): Object

Parse DDS texture data from an ArrayBuffer.

Parse DDS texture data from an ArrayBuffer.

Attributes

def setPath(path: String): this.type

Set the loading manager for this loader.

Set the loading manager for this loader.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object