Package org.robovm.apple.modelio
Class MDLCheckerboardTexture
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.modelio.MDLTexture
-
- org.robovm.apple.modelio.MDLCheckerboardTexture
-
- All Implemented Interfaces:
NSObjectProtocol
,MDLNamed
,org.robovm.objc.ObjCProtocol
public class MDLCheckerboardTexture extends MDLTexture
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MDLCheckerboardTexture.MDLCheckerboardTexturePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.modelio.MDLTexture
MDLTexture.MDLTexturePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MDLCheckerboardTexture()
MDLCheckerboardTexture(float divisions, java.lang.String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)
MDLCheckerboardTexture(NSData pixelData, boolean topLeftOrigin, java.lang.String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)
protected
MDLCheckerboardTexture(NSObject.Handle h, long handle)
protected
MDLCheckerboardTexture(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CGColor
getColor1()
CGColor
getColor2()
float
getDivisions()
protected long
init(float divisions, java.lang.String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)
void
setColor1(CGColor v)
void
setColor2(CGColor v)
void
setDivisions(float v)
-
Methods inherited from class org.robovm.apple.modelio.MDLTexture
create, create, create, getChannelCount, getChannelEncoding, getDimensions, getImage, getMipLevelCount, getName, getRowStride, getTexelDataWithBottomLeftOrigin, getTexelDataWithBottomLeftOrigin, getTexelDataWithTopLeftOrigin, getTexelDataWithTopLeftOrigin, hasAlphaValues, imageFromTextureAtLevel, init, isCube, newIrradianceTextureCube, newIrradianceTextureCube, newTextureCube, newTextureCube, setHasAlphaValues, setIsCube, setName, write, write, write, write
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
MDLCheckerboardTexture
public MDLCheckerboardTexture()
-
MDLCheckerboardTexture
protected MDLCheckerboardTexture(NSObject.Handle h, long handle)
-
MDLCheckerboardTexture
protected MDLCheckerboardTexture(NSObject.SkipInit skipInit)
-
MDLCheckerboardTexture
public MDLCheckerboardTexture(float divisions, java.lang.String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)
-
MDLCheckerboardTexture
public MDLCheckerboardTexture(NSData pixelData, boolean topLeftOrigin, java.lang.String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)
-
-
Method Detail
-
getDivisions
public float getDivisions()
-
setDivisions
public void setDivisions(float v)
-
getColor1
public CGColor getColor1()
-
setColor1
public void setColor1(CGColor v)
-
getColor2
public CGColor getColor2()
-
setColor2
public void setColor2(CGColor v)
-
init
protected long init(float divisions, java.lang.String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)
-
-