Package apple.metal
Class MTLSamplerDescriptor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.metal.MTLSamplerDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMTLSamplerDescriptor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static MTLSamplerDescriptoralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)longborderColor()[@property] borderColor Set the color for the MTLSamplerAddressMode to one of the predefined in the MTLSamplerBorderColor enum.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()longcompareFunction()[@property] compareFunction Set the comparison function used when sampling shadow maps.java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()MTLSamplerDescriptorinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.Stringlabel()[@property] label A string to help identify the created object.booleanlodAverage()[@property] lodAverage If YES, an average level of detail will be used when sampling from a texture.floatlodMaxClamp()[@property] lodMaxClamp The maximum level of detail that will be used when sampling from a texture.floatlodMinClamp()[@property] lodMinClamp The minimum level of detail that will be used when sampling from a texture.longmagFilter()[@property] magFilter Filter option for combining texels within a mipmap level the sample footprint is smaller than a pixel (magnification).longmaxAnisotropy()[@property] maxAnisotropy The number of samples that can be taken to improve quality of sample footprints that are anisotropic.longminFilter()[@property] minFilter Filter option for combining texels within a mipmap level the sample footprint is larger than a pixel (minification).longmipFilter()[@property] mipFilter Filter options for filtering between two mipmap levels.static java.lang.Objectnew_objc()booleannormalizedCoordinates()[@property] normalizedCoordinates.longrAddressMode()[@property] rAddressMode Set the wrap mode for the R texture coordinate.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)longsAddressMode()[@property] sAddressMode Set the wrap mode for the S texture coordinate.voidsetBorderColor(long value)[@property] borderColor Set the color for the MTLSamplerAddressMode to one of the predefined in the MTLSamplerBorderColor enum.voidsetCompareFunction(long value)[@property] compareFunction Set the comparison function used when sampling shadow maps.voidsetLabel(java.lang.String value)[@property] label A string to help identify the created object.voidsetLodAverage(boolean value)[@property] lodAverage If YES, an average level of detail will be used when sampling from a texture.voidsetLodMaxClamp(float value)[@property] lodMaxClamp The maximum level of detail that will be used when sampling from a texture.voidsetLodMinClamp(float value)[@property] lodMinClamp The minimum level of detail that will be used when sampling from a texture.voidsetMagFilter(long value)[@property] magFilter Filter option for combining texels within a mipmap level the sample footprint is smaller than a pixel (magnification).voidsetMaxAnisotropy(long value)[@property] maxAnisotropy The number of samples that can be taken to improve quality of sample footprints that are anisotropic.voidsetMinFilter(long value)[@property] minFilter Filter option for combining texels within a mipmap level the sample footprint is larger than a pixel (minification).voidsetMipFilter(long value)[@property] mipFilter Filter options for filtering between two mipmap levels.voidsetNormalizedCoordinates(boolean value)[@property] normalizedCoordinates.voidsetRAddressMode(long value)[@property] rAddressMode Set the wrap mode for the R texture coordinate.voidsetSAddressMode(long value)[@property] sAddressMode Set the wrap mode for the S texture coordinate.voidsetSupportArgumentBuffers(boolean value)[@property] supportArgumentBuffers true if the sampler can be used inside an argument buffervoidsetTAddressMode(long value)[@property] tAddressMode Set the wrap mode for the T texture coordinate.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()booleansupportArgumentBuffers()[@property] supportArgumentBuffers true if the sampler can be used inside an argument bufferlongtAddressMode()[@property] tAddressMode Set the wrap mode for the T texture coordinate.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MTLSamplerDescriptor alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
compareFunction
public long compareFunction()
[@property] compareFunction Set the comparison function used when sampling shadow maps. The default value is MTLCompareFunctionNever.
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
init
public MTLSamplerDescriptor init()
-
label
public java.lang.String label()
[@property] label A string to help identify the created object.
-
lodAverage
public boolean lodAverage()
[@property] lodAverage If YES, an average level of detail will be used when sampling from a texture. If NO, no averaging is performed. lodAverage defaults to NO. This option is a performance hint. An implementation is free to ignore this property.
-
lodMaxClamp
public float lodMaxClamp()
[@property] lodMaxClamp The maximum level of detail that will be used when sampling from a texture. The default value of lodMaxClamp is FLT_MAX. Clamp values are ignored for texture sample variants that specify an explicit level of detail.
-
lodMinClamp
public float lodMinClamp()
[@property] lodMinClamp The minimum level of detail that will be used when sampling from a texture. The default value of lodMinClamp is 0.0. Clamp values are ignored for texture sample variants that specify an explicit level of detail.
-
magFilter
public long magFilter()
[@property] magFilter Filter option for combining texels within a mipmap level the sample footprint is smaller than a pixel (magnification). The default value is MTLSamplerMinMagFilterNearest.
-
maxAnisotropy
public long maxAnisotropy()
[@property] maxAnisotropy The number of samples that can be taken to improve quality of sample footprints that are anisotropic. The default value is 1.
-
minFilter
public long minFilter()
[@property] minFilter Filter option for combining texels within a mipmap level the sample footprint is larger than a pixel (minification). The default value is MTLSamplerMinMagFilterNearest.
-
mipFilter
public long mipFilter()
[@property] mipFilter Filter options for filtering between two mipmap levels. The default value is MTLSamplerMipFilterNotMipmapped
-
normalizedCoordinates
public boolean normalizedCoordinates()
[@property] normalizedCoordinates. If YES, texture coordates are from 0 to 1. If NO, texture coordinates are 0..width, 0..height. normalizedCoordinates defaults to YES. Non-normalized coordinates should only be used with 1D and 2D textures with the ClampToEdge wrap mode, otherwise the results of sampling are undefined.
-
rAddressMode
public long rAddressMode()
[@property] rAddressMode Set the wrap mode for the R texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
sAddressMode
public long sAddressMode()
[@property] sAddressMode Set the wrap mode for the S texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
setCompareFunction
public void setCompareFunction(long value)
[@property] compareFunction Set the comparison function used when sampling shadow maps. The default value is MTLCompareFunctionNever.
-
setLabel
public void setLabel(java.lang.String value)
[@property] label A string to help identify the created object.
-
setLodAverage
public void setLodAverage(boolean value)
[@property] lodAverage If YES, an average level of detail will be used when sampling from a texture. If NO, no averaging is performed. lodAverage defaults to NO. This option is a performance hint. An implementation is free to ignore this property.
-
setLodMaxClamp
public void setLodMaxClamp(float value)
[@property] lodMaxClamp The maximum level of detail that will be used when sampling from a texture. The default value of lodMaxClamp is FLT_MAX. Clamp values are ignored for texture sample variants that specify an explicit level of detail.
-
setLodMinClamp
public void setLodMinClamp(float value)
[@property] lodMinClamp The minimum level of detail that will be used when sampling from a texture. The default value of lodMinClamp is 0.0. Clamp values are ignored for texture sample variants that specify an explicit level of detail.
-
setMagFilter
public void setMagFilter(long value)
[@property] magFilter Filter option for combining texels within a mipmap level the sample footprint is smaller than a pixel (magnification). The default value is MTLSamplerMinMagFilterNearest.
-
setMaxAnisotropy
public void setMaxAnisotropy(long value)
[@property] maxAnisotropy The number of samples that can be taken to improve quality of sample footprints that are anisotropic. The default value is 1.
-
setMinFilter
public void setMinFilter(long value)
[@property] minFilter Filter option for combining texels within a mipmap level the sample footprint is larger than a pixel (minification). The default value is MTLSamplerMinMagFilterNearest.
-
setMipFilter
public void setMipFilter(long value)
[@property] mipFilter Filter options for filtering between two mipmap levels. The default value is MTLSamplerMipFilterNotMipmapped
-
setNormalizedCoordinates
public void setNormalizedCoordinates(boolean value)
[@property] normalizedCoordinates. If YES, texture coordates are from 0 to 1. If NO, texture coordinates are 0..width, 0..height. normalizedCoordinates defaults to YES. Non-normalized coordinates should only be used with 1D and 2D textures with the ClampToEdge wrap mode, otherwise the results of sampling are undefined.
-
setRAddressMode
public void setRAddressMode(long value)
[@property] rAddressMode Set the wrap mode for the R texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
setSAddressMode
public void setSAddressMode(long value)
[@property] sAddressMode Set the wrap mode for the S texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
setTAddressMode
public void setTAddressMode(long value)
[@property] tAddressMode Set the wrap mode for the T texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
tAddressMode
public long tAddressMode()
[@property] tAddressMode Set the wrap mode for the T texture coordinate. The default value is MTLSamplerAddressModeClampToEdge.
-
setSupportArgumentBuffers
public void setSupportArgumentBuffers(boolean value)
[@property] supportArgumentBuffers true if the sampler can be used inside an argument buffer
-
supportArgumentBuffers
public boolean supportArgumentBuffers()
[@property] supportArgumentBuffers true if the sampler can be used inside an argument buffer
-
borderColor
public long borderColor()
[@property] borderColor Set the color for the MTLSamplerAddressMode to one of the predefined in the MTLSamplerBorderColor enum.
-
setBorderColor
public void setBorderColor(long value)
[@property] borderColor Set the color for the MTLSamplerAddressMode to one of the predefined in the MTLSamplerBorderColor enum.
-
-