ViveSoftware / ViveMediaDecoder

A high performance video decoding Unity plugin for Windows.
http://u3d.as/usf
Other
129 stars 36 forks source link

How to load the decoded data into a buffer? #27

Open 0x3375 opened 5 years ago

0x3375 commented 5 years ago

I'm trying to load the decoded frame data into a buffer.

If I change the Unity code, can I load a decoded frame in the buffer, or should I have to modify the native code?

kyo8568131 commented 5 years ago

Hi leeseungho1,

You can refer to this site: https://docs.unity3d.com/ScriptReference/Texture2D.GetRawTextureData.html