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,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 classMDLCheckerboardTexture.MDLCheckerboardTexturePtrNested classes/interfaces inherited from class org.robovm.apple.modelio.MDLTexture
MDLTexture.MDLTexturePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description MDLCheckerboardTexture()MDLCheckerboardTexture(float divisions, String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)MDLCheckerboardTexture(String name)MDLCheckerboardTexture(String name, NSBundle bundleOrNil)MDLCheckerboardTexture(String name, MDLAssetResolver resolver)MDLCheckerboardTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)protectedMDLCheckerboardTexture(NSObject.Handle h, long handle)protectedMDLCheckerboardTexture(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description protected static longcreate(String name)protected static longcreate(String name, NSBundle bundleOrNil)protected static longcreate(String name, MDLAssetResolver resolver)CGColorgetColor1()CGColorgetColor2()floatgetDivisions()protected longinit(float divisions, String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2)static MDLCheckerboardTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions)static MDLCheckerboardTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)static MDLCheckerboardTexturenewTextureCube(List<String> names)static MDLCheckerboardTexturenewTextureCube(List<String> names, NSBundle bundleOrNil)voidsetColor1(CGColor v)voidsetColor2(CGColor v)voidsetDivisions(float v)Methods inherited from class org.robovm.apple.modelio.MDLTexture
getChannelCount, getChannelEncoding, getDimensions, getImage, getMipLevelCount, getName, getRowStride, getTexelDataWithBottomLeftOrigin, getTexelDataWithBottomLeftOrigin, getTexelDataWithTopLeftOrigin, getTexelDataWithTopLeftOrigin, hasAlphaValues, imageFromTextureAtLevel, init, isCube, setHasAlphaValues, setIsCube, setName, write, write, write, writeMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MDLCheckerboardTexture
public MDLCheckerboardTexture() -
MDLCheckerboardTexture
-
MDLCheckerboardTexture
-
MDLCheckerboardTexture
public MDLCheckerboardTexture(float divisions, String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2) -
MDLCheckerboardTexture
public MDLCheckerboardTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube) -
MDLCheckerboardTexture
-
MDLCheckerboardTexture
-
MDLCheckerboardTexture
- Since:
- Available in iOS 12.0 and later.
-
-
Method Details
-
getDivisions
public float getDivisions() -
setDivisions
public void setDivisions(float v) -
getColor1
-
setColor1
-
getColor2
-
setColor2
-
init
protected long init(float divisions, String name, VectorInt2 dimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, CGColor color1, CGColor color2) -
create
-
create
-
create
- Since:
- Available in iOS 12.0 and later.
-
newTextureCube
-
newTextureCube
-
newIrradianceTextureCube
public static MDLCheckerboardTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions) -
newIrradianceTextureCube
public static MDLCheckerboardTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)
-