Package org.robovm.apple.modelio
Class MDLNoiseTexture
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.MDLNoiseTexture
- All Implemented Interfaces:
NSObjectProtocol,MDLNamed,ObjCProtocol
public class MDLNoiseTexture extends MDLTexture
- Since:
- Available in iOS 9.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMDLNoiseTexture.MDLNoiseTexturePtrNested 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
-
Constructor Summary
Constructors Modifier Constructor Description MDLNoiseTexture()MDLNoiseTexture(float smoothness, String name, VectorInt2 textureDimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, boolean grayscale)MDLNoiseTexture(float smoothness, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding)MDLNoiseTexture(String name)MDLNoiseTexture(String name, NSBundle bundleOrNil)MDLNoiseTexture(String name, MDLAssetResolver resolver)MDLNoiseTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)protectedMDLNoiseTexture(NSObject.Handle h, long handle)protectedMDLNoiseTexture(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)protected longinit(float smoothness, String name, VectorInt2 textureDimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, boolean grayscale)protected longinit(float smoothness, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding)protected longinitCellularNoise(float frequency, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding)static MDLNoiseTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions)static MDLNoiseTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)static MDLNoiseTexturenewTextureCube(List<String> names)static MDLNoiseTexturenewTextureCube(List<String> names, NSBundle bundleOrNil)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, updateStrongRef
-
Constructor Details
-
MDLNoiseTexture
public MDLNoiseTexture() -
MDLNoiseTexture
-
MDLNoiseTexture
-
MDLNoiseTexture
public MDLNoiseTexture(float smoothness, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding) -
MDLNoiseTexture
public MDLNoiseTexture(float smoothness, String name, VectorInt2 textureDimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, boolean grayscale) -
MDLNoiseTexture
public MDLNoiseTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube) -
MDLNoiseTexture
-
MDLNoiseTexture
-
MDLNoiseTexture
- Since:
- Available in iOS 12.0 and later.
-
-
Method Details
-
init
protected long init(float smoothness, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding) -
init
protected long init(float smoothness, String name, VectorInt2 textureDimensions, int channelCount, MDLTextureChannelEncoding channelEncoding, boolean grayscale) -
initCellularNoise
protected long initCellularNoise(float frequency, String name, VectorInt2 textureDimensions, MDLTextureChannelEncoding channelEncoding)- Since:
- Available in iOS 11.0 and later.
-
create
-
create
-
create
- Since:
- Available in iOS 12.0 and later.
-
newTextureCube
-
newTextureCube
-
newIrradianceTextureCube
public static MDLNoiseTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions) -
newIrradianceTextureCube
public static MDLNoiseTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)
-