logo

Crowdly

Hány csúcspontot fog tartalmazni az alábbi vbo? unsigned int vbo; glGenBuffer...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Hány csúcspontot fog tartalmazni az alábbi vbo?

unsigned

int vbo;

glGenBuffers(1,

&vbo); 

glBindBuffer(GL_ARRAY_BUFFER,

vbo);

double vertices[]

= {1,2,3,4,5,6,7,8};

glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);   

glEnableVertexAttribArray(0);  // AttribArray 0

glVertexAttribPointer(0, 1,

GL_FLOAT, GL_FALSE, 0, NULL);

More questions like this

Want instant access to all verified answers on edu.vik.bme.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!