RenderTexture Class

Beta  

Beta  

Represents a texture image applied to a surface during rendering. A RenderTexture is typically - but not always - associated with a RenderMaterial. Represents a texture image applied to a surface during rendering. A RenderTexture is typically - but not always - associated with a RenderMaterial.

see RenderSystem for functions used to create RenderTextures.

see RenderSystem for functions used to create RenderTextures.

Implements

Methods

Name Description
constructor(params: RenderTexture.Params): RenderTexture Protected    
dispose(): void Abstract Releases any WebGL resources owned by this texture.  

Properties

Name Type Description
isGlyph Accessor ReadOnly boolean    
isOwned boolean Indicates that some object is managing the lifetime of this texture and will take care of calling its dispose function appropriately.  
isSkyBox Accessor ReadOnly boolean    
isTileSection Accessor ReadOnly boolean    
key string | undefined A string uniquely identifying this texture within the context of an IModelConnection.  
type RenderTexture.Type Indicates the type of texture.  

Defined in

Last Updated: 13 June, 2024