Package org.robovm.apple.metal
Class MTLClearColor
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<MTLClearColor>
-
- org.robovm.apple.metal.MTLClearColor
-
- All Implemented Interfaces:
java.lang.Iterable<MTLClearColor>
public class MTLClearColor extends org.robovm.rt.bro.Struct<MTLClearColor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MTLClearColor.MTLClearColorPtr
-
Constructor Summary
Constructors Constructor Description MTLClearColor()
MTLClearColor(double red, double green, double blue, double alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAlpha()
double
getBlue()
double
getGreen()
double
getRed()
MTLClearColor
setAlpha(double alpha)
MTLClearColor
setBlue(double blue)
MTLClearColor
setGreen(double green)
MTLClearColor
setRed(double red)
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Method Detail
-
getRed
public double getRed()
-
setRed
public MTLClearColor setRed(double red)
-
getGreen
public double getGreen()
-
setGreen
public MTLClearColor setGreen(double green)
-
getBlue
public double getBlue()
-
setBlue
public MTLClearColor setBlue(double blue)
-
getAlpha
public double getAlpha()
-
setAlpha
public MTLClearColor setAlpha(double alpha)
-
-