enum

SF::VertexBuffer::Usage

Inherits Enum / Comparable / Value / Object

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.

Constants

Stream = 0

Constantly changing data

Dynamic = 1

Occasionally changing data

Static = 2

Rarely changing data

Instance methods

dynamic?

Returns true if this enum value equals Dynamic

Source
static?

Returns true if this enum value equals Static

Source
stream?

Returns true if this enum value equals Stream

Source