Skip to content

enum SF::VertexBuffer::Usage #

Usage specifiers

If data is going to be updated once or more every frame, set the usage to Stream. If data is going to be set once and used for a long time without being modified, set the usage to Static. For everything else Dynamic should be a good compromise.

Members#

Stream = 0 #

Constantly changing data

Dynamic = 1 #

Occasionally changing data

Static = 2 #

Rarely changing data

Methods#

#dynamic? #

View source

#static? #

View source

#stream? #

View source