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. |
wrapS |
The wrapS value. |
wrapT |
The wrapT value. |
magFilter |
The mag filter value. |
minFilter |
The min filter value. |
format |
The texture format. |
type |
The texture type. |
anisotropy |
The anisotropy value. |
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