728x90 반응형 OpenGL2 What does the GL_ARRAY_BUFFER target mean in glBindBuffer? https://stackoverflow.com/questions/14802854/what-does-the-gl-array-buffer-target-mean-in-glbindbuffer What does the GL_ARRAY_BUFFER target mean in glBindBuffer? I was confused about the VBO, glGenBuffers(1, &positionBufferObject); glBindBuffer(GL_ARRAY_BUFFER, positionBufferObject); Besides GL_ARRAY_BUFFER, there are other target types: stackoverflow.com Q. What does the GL_ARRAY_BUFFER target .. 2023. 8. 31. OpenGL 환경설정 1. Visual Studio 2019 실행 후 빈 프로젝트를 만들어 준다. 2. 프로젝트 -> 속성에서 구성 : 모든 구성, 플랫폼 : Win32로 바꿔 준다. 3. https://www.transmissionzero.co.uk/software/freeglut-devel/에서 freeglut 3.0.0 MSVC Package를 다운 받는다. 4. freeglut의 압축을 풀고 모든 폴더와 파일을 복사하여 1에서 만든 폴더에 붙여 넣어 준다. 5. visual studio로 돌아와 소스 파일에 main.cpp를 만들어 준다. 6. 프로젝트 -> 속성에서 C/C++ -> 일반 -> 추가 포함 디렉터리 : $(SolutionDir)include;$(SolutionDir)glew-2.1.0\include;를 .. 2023. 7. 24. 이전 1 다음 728x90 반응형