Package org.robovm.apple.metal
Class MTLClearColor
- All Implemented Interfaces:
Iterable<MTLClearColor>
public class MTLClearColor extends Struct<MTLClearColor>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMTLClearColor.MTLClearColorPtrNested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Constructor Summary
Constructors Constructor Description MTLClearColor()MTLClearColor(double red, double green, double blue, double alpha) -
Method Summary
Modifier and Type Method Description doublegetAlpha()doublegetBlue()doublegetGreen()doublegetRed()MTLClearColorsetAlpha(double alpha)MTLClearColorsetBlue(double blue)MTLClearColorsetGreen(double green)MTLClearColorsetRed(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, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
equals, getHandle, hashCode, setHandle
-
Constructor Details
-
MTLClearColor
public MTLClearColor() -
MTLClearColor
public MTLClearColor(double red, double green, double blue, double alpha)
-
-
Method Details
-
getRed
public double getRed() -
setRed
-
getGreen
public double getGreen() -
setGreen
-
getBlue
public double getBlue() -
setBlue
-
getAlpha
public double getAlpha() -
setAlpha
-