Answer the question
In order to leave comments, you need to log in
How to get data from video card?
Good time. How can I get information from the video card?
Let's say I have a shader:
#version 120
uniform float x = 0;
void main()
{
for (int i = 0; i < 100000; i++)
x+=i;
}
Answer the question
In order to leave comments, you need to log in
It is in such a program on a video card that it makes no sense at all, usually you need to get a whole array of data. To do this, you can render to a texture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question