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
Construct.net
2017-11-14
2026-03-11
You are here:
Search this manual:
This manual entry was last updated on 11 Mar, 2026 at 17:08