These constants specify the caching policy on a per NSImage basis. The caching policy is set using cacheMode and setCacheMode:.
Available in Mac OS X v10.2 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum NSImageCacheMode
Public Enumeration NSImageCacheMode
public enum class NSImageCacheMode
Members
Member | Description |
---|---|
NSImageCacheDefault | Caching is unspecified. Use the image rep's default. Available in Mac OS X v10.2 and later. |
NSImageCacheAlways | Always generate a cache when drawing. Available in Mac OS X v10.2 and later. |
NSImageCacheBySize | Cache if cache size is smaller than the original data. Available in Mac OS X v10.2 and later. |
NSImageCacheNever | Never cache; always draw direct. Available in Mac OS X v10.2 and later. |
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)