Question: Question 1 (2 points) To select a specific texture to use, you need to use which of the following OpenGL commands? Select one. glActiveTexture glGetTexture

 Question 1 (2 points) To select a specific texture to use,you need to use which of the following OpenGL commands? Select one.glActiveTexture glGetTexture glEnableVertexAttribArray glVertexAttribPointer Question 2 (2 points) The "stb_image.h library canload which of the following? Select one. JPG images only PNG imagesonly JPG and PNG images only JPG, PNG, BMP, PSD, and GIF

Question 1 (2 points) To select a specific texture to use, you need to use which of the following OpenGL commands? Select one. glActiveTexture glGetTexture glEnableVertexAttribArray glVertexAttribPointer Question 2 (2 points) The "stb_image.h library can load which of the following? Select one. JPG images only PNG images only JPG and PNG images only JPG, PNG, BMP, PSD, and GIF images, and more Question 3 (2 points) What is GL_REPEAT used for? Select one. To have a texture repeat in a direction To determine the length of the texture when rendering To repeat the last instruction in OpenGL To enable buffering Question 4 (2 points) What function approximates a color between texels by taking an interpolated value from the texture coordinate's neighboring texels? Select one. GL_BLUR GL_MAGNIFY GL_LINEAR GL_NEAREST Question 5 (2 points) What filtering method in OpenGL linearly interpolates between the two closest mipmaps and samples the interpolated level via linear interpolation? Select one. GL_NEAREST_MIPMAP_NEAREST GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR GL_NEAREST_MIPMAP_LINEAR Question 6 (2 points) Which texture filtering option allows you to clearly see the pixels of a texture? Select one. GL_BLUR GL_MAGNIFY GL_LINEAR GL_NEAREST Question 7 (2 points) What is the correct function used to apply texture wrapping? Select one. g|TexParameterio) glWrapping Parameteri() glTextureParameteri() glTexWrap Parameteri() Question 8 (2 points) Which function is used manually to set a uniform sampler to the proper texture unit? Select one. glUniform glUniform1i g|TextureView glUnitTex Question 9 (2 points) Which function is used to set a uniform sampler with the shader class? Select one. setUTC) setint Ousel) set() Question 10 (2 points) Texture coordinates range between what numbers on the x and y axes? Select one. 0-1 to 1 0-1 to -1 O to 1 01 to 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!