Package icyllis.modernui.annotation
Annotation Interface HalfFloat
@Documented
@Retention(SOURCE)
@Target({PARAMETER,METHOD,LOCAL_VARIABLE,FIELD})
public @interface HalfFloat
Denotes that the annotated element represents a half-precision floating point
value. Such values are stored in short data types and can be manipulated with
the Half
class. If applied to an array of short, every
element in the array represents a half-precision float.
Example:
public abstract void setPosition(@HalfFloat short x, @HalfFloat short y, @HalfFloat short z);
- See Also: