Geometry shader support+omnidirectional depth map shader+improvements

This commit is contained in:
bloeys
2024-04-15 05:09:07 +04:00
parent a5bea5a661
commit c4b1dd1b3d
9 changed files with 201 additions and 59 deletions

View File

@ -10,8 +10,10 @@ import (
type BufUsage int
const (
BufUsage_Unknown BufUsage = iota
//Buffer is set only once and used many times
BufUsage_Static BufUsage = iota
BufUsage_Static
//Buffer is changed a lot and used many times
BufUsage_Dynamic
//Buffer is set only once and used by the GPU at most a few times