Cycle

Whether a map or upload may hand out fresh memory when the previous contents are still in use by the GPU. Cycling avoids a stall but discards the old contents.

Entries

Link copied to clipboard

Reuse the same memory. Correct only when the GPU is done with it.

Link copied to clipboard

Take fresh memory if the old is busy. Use for data rewritten every frame.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Cycle

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.