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
,org.robovm.objc.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 class
MDLSkyCubeTexture.MDLSkyCubeTexturePtr
-
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 MDLSkyCubeTexture()
MDLSkyCubeTexture(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)
MDLSkyCubeTexture(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)
MDLSkyCubeTexture(NSData pixelData, boolean topLeftOrigin, java.lang.String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)
protected
MDLSkyCubeTexture(NSObject.Handle h, long handle)
protected
MDLSkyCubeTexture(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBrightness()
float
getContrast()
float
getExposure()
float
getGamma()
float
getGroundAlbedo()
CGColor
getGroundColor()
VectorFloat2
getHighDynamicRangeCompression()
float
getHorizonElevation()
float
getSaturation()
float
getSunAzimuth()
float
getSunElevation()
float
getTurbidity()
float
getUpperAtmosphereScattering()
protected long
init(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)
protected long
init(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float sunAzimuth, float upperAtmosphereScattering, float groundAlbedo)
void
setBrightness(float v)
void
setContrast(float v)
void
setExposure(float v)
void
setGamma(float v)
void
setGroundAlbedo(float v)
void
setGroundColor(CGColor v)
void
setHighDynamicRangeCompression(VectorFloat2 v)
void
setHorizonElevation(float v)
void
setSaturation(float v)
void
setSunAzimuth(float v)
void
setSunElevation(float v)
void
setTurbidity(float v)
void
setUpperAtmosphereScattering(float v)
void
updateTexture()
-
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
-
MDLSkyCubeTexture
public MDLSkyCubeTexture()
-
MDLSkyCubeTexture
protected MDLSkyCubeTexture(NSObject.Handle h, long handle)
-
MDLSkyCubeTexture
protected MDLSkyCubeTexture(NSObject.SkipInit skipInit)
-
MDLSkyCubeTexture
public MDLSkyCubeTexture(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)
-
MDLSkyCubeTexture
public MDLSkyCubeTexture(java.lang.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, java.lang.String name, VectorInt2 dimensions, long rowStride, long channelCount, MDLTextureChannelEncoding channelEncoding, boolean isCube)
-
-
Method Detail
-
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
public CGColor getGroundColor()
-
setGroundColor
public void setGroundColor(CGColor v)
-
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
public VectorFloat2 getHighDynamicRangeCompression()
-
setHighDynamicRangeCompression
public void setHighDynamicRangeCompression(VectorFloat2 v)
-
init
protected long init(java.lang.String name, MDLTextureChannelEncoding channelEncoding, VectorInt2 textureDimensions, float turbidity, float sunElevation, float upperAtmosphereScattering, float groundAlbedo)
-
init
protected long init(java.lang.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()
-
-