Class CopyTextureToTexture
Hierarchy
- CopyTextureToTexture
Index
Constructors
Methods
Constructors
constructor
Constructs a new instance of the class
Parameters
engine: ThinEngine
The engine to use for the copy
Optional isDepthTexture: boolean
True means that we should write (using gl_FragDepth) into the depth texture attached to the destination (default: false)
Returns CopyTextureToTexture
Methods
copySearch playground for copy
Copy one texture into another
Parameters
source: InternalTexture | ThinTexture
The source texture
destination: RenderTargetWrapper | IRenderTargetTexture
The destination texture
Optional conversion: ConversionMode
The conversion mode that should be applied when copying
Returns boolean
disposeSearch playground for dispose
Releases all the resources used by the class
Returns void
is ReadySearch playground for isReady
Indicates if the effect is ready to be used for the copy
Returns boolean
true if "copy" can be called without delay, else false
Class used for fast copy from one texture to another