We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gl.TexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, i == 0 ? temp_frame->width : temp_frame->width / 2, i == 0 ? temp_frame->height : temp_frame->height / 2, GL_RED, GL_UNSIGNED_BYTE, (IntPtr)(temp_frame->data[i]));// only allow int[]
Hi, i'm new on OpenGl. Is there way to use TexSubImage2D without using managed array? Thanks! Note: temp_frame is AVFrame* from ffmpeg
TexSubImage2D
temp_frame
AVFrame*
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, i'm new on OpenGl. Is there way to use
TexSubImage2D
without using managed array? Thanks!Note:
temp_frame
isAVFrame*
from ffmpegThe text was updated successfully, but these errors were encountered: