Beispiel #1
0
 public bool RecordFrame(RenderTexture texture)
 {
     if (recorder == null)
     {
         return(false);
     }
     using (var textureId = TextureId.fromInt(texture.GetNativeTexturePtr().ToInt32()))
     {
         recorder.updateFrame(textureId, texture.width, texture.height);
     }
     return(true);
 }