Package org.robovm.apple.modelio
Class MDLSkyCubeTexture
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.MDLSkyCubeTexture
- All Implemented Interfaces:
NSObjectProtocol,MDLNamed,ObjCProtocol
public class MDLSkyCubeTexture extends MDLTexture
- Since:
- Available in iOS 9.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMDLSkyCubeTexture.MDLSkyCubeTexturePtrNested 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 MDLSkyCubeTexture()MDLSkyCubeTexture(String name)MDLSkyCubeTexture(String name, NSBundle bundleOrNil)MDLSkyCubeTexture(String name, MDLAssetResolver resolver)MDLSkyCubeTexture(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)MDLSkyCubeTexture(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)MDLSkyCubeTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)protectedMDLSkyCubeTexture(NSObject.Handle h, long handle)protectedMDLSkyCubeTexture(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)floatgetBrightness()floatgetContrast()floatgetExposure()floatgetGamma()floatgetGroundAlbedo()CGColorgetGroundColor()VectorFloat2getHighDynamicRangeCompression()floatgetHorizonElevation()floatgetSaturation()floatgetSunAzimuth()floatgetSunElevation()floatgetTurbidity()floatgetUpperAtmosphereScattering()protected longinit(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)protected longinit(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)static MDLSkyCubeTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions)static MDLSkyCubeTexturenewIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)static MDLSkyCubeTexturenewTextureCube(List<String> names)static MDLSkyCubeTexturenewTextureCube(List<String> names, NSBundle bundleOrNil)voidsetBrightness(float v)voidsetContrast(float v)voidsetExposure(float v)voidsetGamma(float v)voidsetGroundAlbedo(float v)voidsetGroundColor(CGColor v)voidsetHighDynamicRangeCompression(VectorFloat2 v)voidsetHorizonElevation(float v)voidsetSaturation(float v)voidsetSunAzimuth(float v)voidsetSunElevation(float v)voidsetTurbidity(float v)voidsetUpperAtmosphereScattering(float v)voidupdateTexture()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
-
MDLSkyCubeTexture
public MDLSkyCubeTexture() -
MDLSkyCubeTexture
-
MDLSkyCubeTexture
-
MDLSkyCubeTexture
public MDLSkyCubeTexture(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo) -
MDLSkyCubeTexture
public MDLSkyCubeTexture(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)- Since:
- Available in iOS 11.0 and later.
-
MDLSkyCubeTexture
public MDLSkyCubeTexture(NSData pixelData, boolean topLeftOrigin, String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube) -
MDLSkyCubeTexture
-
MDLSkyCubeTexture
-
MDLSkyCubeTexture
- Since:
- Available in iOS 12.0 and later.
-
-
Method Details
-
getTurbidity
public float getTurbidity() -
setTurbidity
public void setTurbidity(float v) -
getSunElevation
public float getSunElevation() -
setSunElevation
public void setSunElevation(float v) -
getSunAzimuth
public float getSunAzimuth()- Since:
- Available in iOS 11.0 and later.
-
setSunAzimuth
public void setSunAzimuth(float v)- Since:
- Available in iOS 11.0 and later.
-
getUpperAtmosphereScattering
public float getUpperAtmosphereScattering() -
setUpperAtmosphereScattering
public void setUpperAtmosphereScattering(float v) -
getGroundAlbedo
public float getGroundAlbedo() -
setGroundAlbedo
public void setGroundAlbedo(float v) -
getHorizonElevation
public float getHorizonElevation() -
setHorizonElevation
public void setHorizonElevation(float v) -
getGroundColor
-
setGroundColor
-
getGamma
public float getGamma() -
setGamma
public void setGamma(float v) -
getExposure
public float getExposure() -
setExposure
public void setExposure(float v) -
getBrightness
public float getBrightness() -
setBrightness
public void setBrightness(float v) -
getContrast
public float getContrast() -
setContrast
public void setContrast(float v) -
getSaturation
public float getSaturation() -
setSaturation
public void setSaturation(float v) -
getHighDynamicRangeCompression
-
setHighDynamicRangeCompression
-
init
protected long init(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo) -
init
protected long init(String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)- Since:
- Available in iOS 11.0 and later.
-
updateTexture
public void updateTexture() -
create
-
create
-
create
- Since:
- Available in iOS 12.0 and later.
-
newTextureCube
-
newTextureCube
-
newIrradianceTextureCube
public static MDLSkyCubeTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions) -
newIrradianceTextureCube
public static MDLSkyCubeTexture newIrradianceTextureCube(MDLTexture texture, String name, VectorInt2 dimensions, float roughness)
-