Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glbindvertexarray(3g) [centos man page]

GLBINDVERTEXARRAY(3G)						   OpenGL Manual					     GLBINDVERTEXARRAY(3G)

NAME
glBindVertexArray - bind a vertex array object C SPECIFICATION
void glBindVertexArray(GLuint array); PARAMETERS
array Specifies the name of the vertex array to bind. DESCRIPTION
glBindVertexArray binds the vertex array object with name array. array is the name of a vertex array object previously returned from a call to glGenVertexArrays(), or zero to break the existing vertex array object binding. If no vertex array object with name array exists, one is created when array is first bound. If the bind is successful no change is made to the state of the vertex array object, and any previous vertex array object binding is broken. ERRORS
GL_INVALID_OPERATION is generated if array is not zero or the name of a vertex array object previously returned from a call to glGenVertexArrays(). SEE ALSO
glGenVertexArrays(), glDeleteVertexArrays()glVertexAttribPointer()glEnableVertexAttribArray() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. AUTHORS
opengl.org opengl.org 06/10/2014 GLBINDVERTEXARRAY(3G)

Check Out this Related Man Page

GLVERTEXATTRIBBINDIN(3G)					   OpenGL Manual					  GLVERTEXATTRIBBINDIN(3G)

NAME
glVertexAttribBinding - associate a vertex attribute and a vertex buffer binding C SPECIFICATION
void glVertexAttribBinding(GLuint attribindex, GLuint bindingindex); PARAMETERS
attribindex The index of the attribute to associate with a vertex buffer binding. bindingindex The index of the vertex buffer binding with which to associate the generic vertex attribute. DESCRIPTION
glVertexAttribBinding, establishes an association between the generic vertex attribute whose index is given by attribindex and a vertex buffer binding whose index is given by bindingindex. attribindex must be less than the value of GL_MAX_VERTEX_ATTRIBS and bindingindex must be less than the value of GL_MAX_VERTEX_ATTRIB_BINDINGS. ERRORS
GL_INVALID_VALUE is generated if attribindex is greater than or equal to the value of GL_MAX_VERTEX_ATTRIBS. GL_INVAILD_VALUE is generated if bindingindex is greater than or equal to the value of GL_MAX_VERTEX_ATTRIB_BINDINGS. GL_INVALID_OPERATION is generated if no vertex array object is bound. ASSOCIATED GETS
glGet() with arguments GL_MAX_VERTEX_ATTRIB_BINDINGS, GL_VERTEX_BINDING_DIVISOR. SEE ALSO
glBindVertexBuffer(), glVertexAttribFormat(), glVertexBindingDivisor(), glVertexAttribPointer(). COPYRIGHT
Copyright (C) 2012 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. AUTHORS
opengl.org opengl.org 06/10/2014 GLVERTEXATTRIBBINDIN(3G)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

array

If I am given an array which contains 10 positive intergers, how to write in Unix shell returning any two numbers which sum up as 10, how about in perl which is easier Thanks (3 Replies)
Discussion started by: ccp
3 Replies

2. UNIX for Dummies Questions & Answers

array

Hi Friends Using Redhat version 9 I have following data and me not knowing the array concept , hence please do help. data is as below:(Date is in Dd/MM/YYYY format.) Lf No Chq No Amount Date Name Address 123M4567891223 23456 ... (5 Replies)
Discussion started by: vakharia Mahesh
5 Replies

3. Shell Programming and Scripting

function return array

Hi all I would like to know if there is a way to return an array for a function. As I know function can return all the contents in an array, I want to return an array type. (6 Replies)
Discussion started by: dophine
6 Replies

4. Shell Programming and Scripting

how to change IFS in arrays

hello again guys do you know if it is possible to change IFS in a array? i have a file like this: name 1243 5454 name2 545 5455 i use a simple command like this to popolate the array: data=`cat /usr1/air/tmp/data.txt` arrei_data=($data) the problem is that i want an array position for... (5 Replies)
Discussion started by: elionba82
5 Replies

5. UNIX for Dummies Questions & Answers

Remove duplicate in array

Hi, I have a list of numbers stored in an array as below. 5 7 10 30 30 40 50 Please advise how could I remove the duplicate value in the array ? Thanks in advance. (5 Replies)
Discussion started by: Rock
5 Replies

6. Programming

Rotate an array

i have an array a={1,2,3,4,5} the output should be a= {4,5,1,2,3} please help me writin this program in c. (10 Replies)
Discussion started by: pgmfourms
10 Replies

7. Shell Programming and Scripting

perl -write values in a file to @array in perl

Hi can anyone suggest me how to write a file containing values,... say 19 20 21 22 .. 40 to an array @array = (19, 20, ... 40) -- Thanks (27 Replies)
Discussion started by: meghana
27 Replies

8. Shell Programming and Scripting

[bash] passing array to function

Hi, I'm trying to write a function that reassigns an array to another local array but the method used in reassigning the array reformats the contents of the array which is what I am trying to prevent. The method used to load a file into an array works as expected and the entire array is... (4 Replies)
Discussion started by: ASGR
4 Replies

9. Shell Programming and Scripting

how to spilit a row into fields and store the field content to the array

consider this is a line A#B#C#D#E#F#G#H note the delimeter is # i want to cut or spilt in to fields using the delimeter # and to store in an array. like this array=A array=B array=C array=D array=E and the array content should be displayed. echo "${array}" echo "${array}"... (5 Replies)
Discussion started by: barani75
5 Replies

10. Shell Programming and Scripting

how to read delimited text into array

I am trying to parse a string using delimited char into array. BNAME=B10,B20,B30 B10.Q=X B20.Q=Y B30.Q=Z I need to parsethe BNAME into array, then i will loop through array to execute command using these variables. like: for i in $array do qload array array.Q # execute command: qload B10... (3 Replies)
Discussion started by: adars1
3 Replies

11. Shell Programming and Scripting

Perl nested array problem

I have a array reference which has some number of array references inside it.The nested array references also contains the array references. my $Filename = "sample.xml"; my $Parser = new XML::Parser( Style => 'tree' ); my $Tree = $Parser->parsefile( $Filename ); Here the $Tree is the... (6 Replies)
Discussion started by: karthigayan
6 Replies

12. Programming

Pointers and array

Hello, I read from a book exercise for a challenge. How to print out each letter of char array a by two different pointers pa and ppa in the example? I have tried my code for letter "r" by testing without full understanding as only the first one worked. #include<stdio.h> int main() { char... (17 Replies)
Discussion started by: yifangt
17 Replies

13. Shell Programming and Scripting

Multi Dimensional array

I have an array of names. Each one of the name, has a number represented to it. For example A has an ID 8, B has an ID 2. What I am after is a for loop that when the array is in position 1, a particular variable is set to the value of position 1 in array 2 declare -a arr=("A" "B" "C"... (6 Replies)
Discussion started by: nms
6 Replies

14. Shell Programming and Scripting

Multidimensional array

I am learning about bash system variables, such as $ , @ and #. I have this piece of script implementing an array and it is doing its job just fine. This is not the only array I will be using. Just for ease of maintenance and more coding I would like to have the arrays in two dimensional... (4 Replies)
Discussion started by: annacreek
4 Replies

15. Shell Programming and Scripting

Selection from array

Hi, I need some help taking a selection from a command and adding part of the output to an array. I'd like to read the items into the array, have the user chose an option from the array and put the item from column 1 into a variable. The command is: awless -l list routetables --columns... (7 Replies)
Discussion started by: bignellrp
7 Replies