Constructor
new VideoFrameTexture( mapping : number, wrapS : number, wrapT : number, magFilter : number, minFilter : number, format : number, type : number, anisotropy : number )
Constructs a new video frame texture.
| mapping |
The texture mapping. Default is |
| wrapS |
The wrapS value. Default is |
| wrapT |
The wrapT value. Default is |
| magFilter |
The mag filter value. Default is |
| minFilter |
The min filter value. Default is |
| format |
The texture format. Default is |
| type |
The texture type. Default is |
| anisotropy |
The anisotropy value. Default is |
Properties
.isVideoFrameTexture : boolean (readonly)
This flag can be used for type testing.
Default is true.
Methods
.setFrame( frame : VideoFrame )
Sets the current frame of the video. This will automatically update the texture so the data can be used for rendering.
| frame |
The video frame. |
.update()
This method overwritten with an empty implementation since
this type of texture is updated via setFrame().
- Overrides: VideoTexture#update