UploadMode

The uploading mode. When uploading attribute data to OpenGL, integer data can be either converted to float or not (the later is only possible with version 3.0+). When converting to float, the data can be normalized or not. By default, {@link UploadMode#TO_FLOAT} is used as it provides the best compatibility.

final
class UploadMode {}

Members

Functions

normalize
bool normalize()

Returns true if this upload mode converts integer data to normalized floats.

toFloat
bool toFloat()

Returns true if this upload mode converts the data to floats.

Meta