Texture3dResource

lumin. Texture3dResource

Texture-3D Resource - Holds and renders a preloaded Image-3D data
Pre-loaded and Decoded Image-3D data is required in order to render this resource

Extends

Methods

getBasePath() → {string}

Inherited From:

Gets the base path of the resource.

Returns:

Base path

Type
string

getDepth() → {number}

Gets the depth of this Texture-3D resource.

Returns:

depth of this resource.

Type
number

getFileName() → {string}

Inherited From:

Gets the FileName Associated with this resource.

Returns:

Filename

Type
string

getFormat() → {lumin.utils.Format}

Gets the pixel format used for this Texture-3D resource.

Returns:

pixel format of this resource if initialized, otherwise Format::INVALID.

Type
lumin.utils.Format

getHeight() → {number}

Gets the height of this Texture-3D resource.

Returns:

height of this resource.

Type
number

getLoadStatus() → {lumin.resources.LoadStatus}

Inherited From:

Return a int that contains the result of loading this resource.

Returns:

int with the result value.

Type
lumin.resources.LoadStatus

getResourceId() → {BigInt}

Inherited From:

Returns the Unique ID of this resource

Returns:

Resource ID

Type
BigInt

getTextureDesc() → {lumin.Desc3d}

Get the description of this Texture-3D resource.

Returns:

Texture-3D description.

Type
lumin.Desc3d

getWidth() → {number}

Gets the width of this Texture-3D resource.

Returns:

width of this resource.

Type
number

isResourceValid() → {boolean}

Inherited From:

Returns True if the Resource was successfully loaded

Loading only happens on the server-side so this call is
only useful to the server

Returns:

TRUE = Successfully loaded

Type
boolean