IWebGLTexture interface

The IWebGLTexture interface represents a texture in the WebGL renderer.

This interface cannot be directly constructed. It is only available through other APIs.

Methods

GetWidth()
GetHeight()
Return the width or height of the texture. Note this refers to the source texture. Construct's in-editor spritesheeting engine means the texture could be significantly larger than an object's image to be rendered from it.
GetDefaultSampling()
Return the default sampling mode this texture was created with.
Addon SDK Manual 2026-03-11

On this page