11# gln
22
3- [ ![ Build Status] ( https://travis-ci.org/kotlin-graphics/gln.svg?branch=master )] ( https://travis-ci.org/kotlin-graphics/gln )
4- [ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( )
5- ![ ] ( https://reposs.herokuapp.com/?path=kotlin-graphics/gln&color=yellow )
3+ [ ![ Build Status] ( https://github.com/kotlin-graphics/gln/workflows/build/badge.svg )] ( https://github.com/kotlin-graphics/gln/actions?workflow=build )
4+ [ ![ license] ( https://img.shields.io/badge/License-Apache%202.0-orange.svg )] ( https://github.com/kotlin-graphics/gln/blob/master/LICENSE )
65[ ![ Release] ( https://jitpack.io/v/kotlin-graphics/gln.svg )] ( https://jitpack.io/#kotlin-graphics/gln )
7- [ ![ Slack Status] ( http://slack.kotlinlang.org/badge.svg )] ( http://slack.kotlinlang.org/ )
6+ ![ Size] ( https://github-size-badge.herokuapp.com/kotlin-graphics/gln.svg )
7+ [ ![ Github All Releases] ( https://img.shields.io/github/downloads/kotlin-graphics/gln/total.svg )] ( )
88
99OpenGL Next, functional programming
1010
@@ -22,12 +22,12 @@ A buffer in means of OpenGL can be used for vertex attributes, indices, uniform
2222This
2323
2424``` kotlin
25- arrayBufferName = glGenBuffers()
25+ val arrayBufferName = glGenBuffers()
2626 glBindBuffer(GL_ARRAY_BUFFER , arrayBufferName)
2727 glBufferData(GL_ARRAY_BUFFER , positionData, GL_STATIC_DRAW )
2828 glBindBuffer(GL_ARRAY_BUFFER , 0 )
2929
30- elementBufferName = glGenBuffers()
30+ val elementBufferName = glGenBuffers()
3131 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER , elementBufferName)
3232 glBufferData(GL_ELEMENT_ARRAY_BUFFER , elementData, GL_STATIC_DRAW )
3333 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER , 0 )
0 commit comments