Package org.robovm.apple.metalkit
Class MTKTextureLoaderOptions
- java.lang.Object
-
- org.robovm.apple.foundation.NSDictionaryWrapper
-
- org.robovm.apple.metalkit.MTKTextureLoaderOptions
-
public class MTKTextureLoaderOptions extends NSDictionaryWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MTKTextureLoaderOptions.AsListMarshaler
static class
MTKTextureLoaderOptions.Keys
static class
MTKTextureLoaderOptions.Marshaler
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
data
-
-
Constructor Summary
Constructors Constructor Description MTKTextureLoaderOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSObject
get(NSString key)
MTLCPUCacheMode
getTextureCPUCacheMode()
MTLTextureUsage
getTextureUsage()
boolean
has(NSString key)
boolean
isAllocatesMipmaps()
boolean
isSRGB()
MTKTextureLoaderOptions
set(NSString key, NSObject value)
MTKTextureLoaderOptions
setAllocatesMipmaps(boolean allocatesMipmaps)
MTKTextureLoaderOptions
setSRGB(boolean sRGB)
MTKTextureLoaderOptions
setTextureCPUCacheMode(MTLCPUCacheMode textureCPUCacheMode)
MTKTextureLoaderOptions
setTextureUsage(MTLTextureUsage textureUsage)
-
Methods inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
getDictionary, toString
-
-
-
-
Method Detail
-
has
public boolean has(NSString key)
-
set
public MTKTextureLoaderOptions set(NSString key, NSObject value)
-
isAllocatesMipmaps
public boolean isAllocatesMipmaps()
- Since:
- Available in iOS 9.0 and later.
-
setAllocatesMipmaps
public MTKTextureLoaderOptions setAllocatesMipmaps(boolean allocatesMipmaps)
- Since:
- Available in iOS 9.0 and later.
-
isSRGB
public boolean isSRGB()
- Since:
- Available in iOS 9.0 and later.
-
setSRGB
public MTKTextureLoaderOptions setSRGB(boolean sRGB)
- Since:
- Available in iOS 9.0 and later.
-
getTextureUsage
public MTLTextureUsage getTextureUsage()
- Since:
- Available in iOS 9.0 and later.
-
setTextureUsage
public MTKTextureLoaderOptions setTextureUsage(MTLTextureUsage textureUsage)
- Since:
- Available in iOS 9.0 and later.
-
getTextureCPUCacheMode
public MTLCPUCacheMode getTextureCPUCacheMode()
- Since:
- Available in iOS 9.0 and later.
-
setTextureCPUCacheMode
public MTKTextureLoaderOptions setTextureCPUCacheMode(MTLCPUCacheMode textureCPUCacheMode)
- Since:
- Available in iOS 9.0 and later.
-
-