Interface: CacheAsTextureOptions

CacheAsTextureOptions

Options for caching a container as a texture.

Properties:
Name Type Default Description
antialias boolean false

If true, the texture will be antialiased. This smooths out the edges of the texture.

resolution number

The resolution of the texture. A higher resolution means a sharper texture but uses more memory. By default the resolution is 1 which is the same as the rendererers resolution.

See:
  • RenderGroup#textureOptions

Members

antialias boolean

If true, the texture will be antialiased. This smooths out the edges of the texture.

Default Value:
  • false

resolution number

The resolution of the texture. A higher resolution means a sharper texture but uses more memory. By default the resolution is 1 which is the same as the rendererers resolution.