class TextureTools
Uses the GPU to create a copy texture rescaled at a given size
@return Generated texture
Name | Type | Description | |
---|---|---|---|
texture | undefined | Texture to copy from | |
width | number | Desired width | |
height | number | Desired height |
Name | Type | Description | |
---|---|---|---|
scene | Scene |