Changeset 7280257 in opengl-game for opengl-notes.txt


Ignore:
Timestamp:
Apr 25, 2018, 12:39:01 AM (6 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
05e43cf
Parents:
baa5848
Message:

Remove uniform buffer code until I figure out how to use it correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-notes.txt

    rbaa5848 r7280257  
    4040
    4141Camera position = (0, 0, 0)
     42
     43
     44BUFFER FUNCTIONS
     45-----------------
     46
     47glGenBuffers creates a buffer
     48glBindBuffer sets the currently active buffer
     49glBufferData populates the buffer with data
     50
     51glGenVertexArrays creates a vao
     52glBindVertexArray sets the currently active vao
     53glEnableVertexAttribArray sets the active index in the vao
     54glVertexAttribPointer determines the layout of a buffer in a VAO
     55   -The last params (often NULL), specifies the offset in the buffer
Note: See TracChangeset for help on using the changeset viewer.