Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Select the names of the WebGL routines which are used to write data from a JavaScript program to the GPU. Group of answer choices

1. Select the names of the WebGL routines which are used to write data from a JavaScript program to the GPU.

Group of answer choices

drawArrays

vertexAttribPointer

bufferData

bufferSubData

bindBuffer

2.

A WebGL program contains the line:

var a = gl.getAttribLocation(b, c);

Match each item with its best description as picture at the end based on this function call.

Function getAttribLocation:

Variable a:

Variable b:

Variable c:

image text in transcribed

[Choose] Receives value of specified vertex attribute variable Buffer size Pointer to attribute Shader variable name Gets access to vertex shader "out" variable Gets access to vertex shader "in" variable Gets access to vertex shader"uniform" variable Receives index of specified vertex attribute Buffer identifier Gets access to fragment shader "out" variable Shader program object Gets access to fragment shader "in" variable

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions

Question

What is the relative priority among the viable goals?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a profit sharing plan?

Answered: 1 week ago