webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | List of all members
<RTCMTLRenderer > Protocol Reference

#import <RTCMTLNV12Renderer.h>

Inheritance diagram for <RTCMTLRenderer >:

Instance Methods

(void- drawFrame:
 
(BOOL- addRenderingDestination:
 
(void- drawFrame:
 
(BOOL- addRenderingDestination:
 

Detailed Description

Protocol defining ability to render RTCVideoFrame in Metal enabled views.

Method Documentation

◆ addRenderingDestination:() [1/2]

- (BOOL RTCMTLRenderer) addRenderingDestination: (__kindof UIView *)  view

Sets the provided view as rendering destination if possible.

If not possible method returns NO and callers of the method are responisble for performing cleanups.

◆ addRenderingDestination:() [2/2]

- (BOOL RTCMTLRenderer) addRenderingDestination: (__kindof UIView *)  view

Sets the provided view as rendering destination if possible.

If not possible method returns NO and callers of the method are responisble for performing cleanups.

◆ drawFrame:() [1/2]

- (void RTCMTLRenderer) drawFrame: (RTCVideoFrame *)  frame

Method to be implemented to perform actual rendering of the provided frame.

Parameters
frameThe frame to be rendered.

◆ drawFrame:() [2/2]

- (void RTCMTLRenderer) drawFrame: (RTCVideoFrame *)  frame

Method to be implemented to perform actual rendering of the provided frame.

Parameters
frameThe frame to be rendered.

The documentation for this protocol was generated from the following file: