001-hellocolortriangle

command
v0.0.0-...-63defff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 10 Imported by: 0

README

Hello colorful triangle

GLSL pitfalls

  • Variables can be optimized out. Be sure the variable you seek in a call to GetAttribLocation is used meaningfully in the program so it is not optimized out. This causes a -1 index to be returned.

  • size attribute is limited to values between 1..4

Documentation

Overview

Renders a textured spinning cube using GLFW 3 and OpenGL 4.1 core forward-compatible profile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL