public class SKUniform extends NSObject implements NSCopying, NSSecureCoding
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
SKUniform(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static SKUniform |
alloc() |
static SKUniform |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(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.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
GLKMatrix2 |
floatMatrix2Value() |
GLKMatrix3 |
floatMatrix3Value() |
GLKMatrix4 |
floatMatrix4Value() |
float |
floatValue()
Access to the value associated with the uniform
|
GLKVector2 |
floatVector2Value() |
GLKVector3 |
floatVector3Value() |
GLKVector4 |
floatVector4Value() |
static long |
hash_static() |
SKUniform |
init() |
SKUniform |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
SKUniform |
initWithName(java.lang.String name) |
SKUniform |
initWithNameFloat(java.lang.String name,
float value) |
SKUniform |
initWithNameFloatMatrix2(java.lang.String name,
GLKMatrix2 value) |
SKUniform |
initWithNameFloatMatrix3(java.lang.String name,
GLKMatrix3 value) |
SKUniform |
initWithNameFloatMatrix4(java.lang.String name,
GLKMatrix4 value) |
SKUniform |
initWithNameFloatVector2(java.lang.String name,
GLKVector2 value) |
SKUniform |
initWithNameFloatVector3(java.lang.String name,
GLKVector3 value) |
SKUniform |
initWithNameFloatVector4(java.lang.String name,
GLKVector4 value) |
SKUniform |
initWithNameTexture(java.lang.String name,
SKTexture texture) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
name()
The name by which this uniform will be referenced in a shader
|
static SKUniform |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setFloatMatrix2Value(GLKMatrix2 value) |
void |
setFloatMatrix3Value(GLKMatrix3 value) |
void |
setFloatMatrix4Value(GLKMatrix4 value) |
void |
setFloatValue(float value)
Access to the value associated with the uniform
|
void |
setFloatVector2Value(GLKVector2 value) |
void |
setFloatVector3Value(GLKVector3 value) |
void |
setFloatVector4Value(GLKVector4 value) |
void |
setTextureValue(SKTexture value)
Access to the texture data associated with the current uniform
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
SKTexture |
textureValue()
Access to the texture data associated with the current uniform
|
long |
uniformType()
Once created, a uniform is locked to a specific type, you may only access the property of this type
|
static SKUniform |
uniformWithName(java.lang.String name)
Create a shader uniform with a given name.
|
static SKUniform |
uniformWithNameFloat(java.lang.String name,
float value)
Create a shader uniform with a given name, and a float value
|
static SKUniform |
uniformWithNameFloatMatrix2(java.lang.String name,
GLKMatrix2 value) |
static SKUniform |
uniformWithNameFloatMatrix3(java.lang.String name,
GLKMatrix3 value) |
static SKUniform |
uniformWithNameFloatMatrix4(java.lang.String name,
GLKMatrix4 value) |
static SKUniform |
uniformWithNameFloatVector2(java.lang.String name,
GLKVector2 value) |
static SKUniform |
uniformWithNameFloatVector3(java.lang.String name,
GLKVector3 value) |
static SKUniform |
uniformWithNameFloatVector4(java.lang.String name,
GLKVector4 value) |
static SKUniform |
uniformWithNameTexture(java.lang.String name,
SKTexture texture)
Create a shader uniform with a given name, and texture data
|
static long |
version_static() |
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static SKUniform alloc()
public static SKUniform allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SKUniform new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static SKUniform uniformWithName(java.lang.String name)
name - the name of the shader uniform.public static SKUniform uniformWithNameFloat(java.lang.String name, float value)
name - the name of the shader uniform.value - the floating point value associated with this uniform.public static SKUniform uniformWithNameFloatMatrix2(java.lang.String name, GLKMatrix2 value)
public static SKUniform uniformWithNameFloatMatrix3(java.lang.String name, GLKMatrix3 value)
public static SKUniform uniformWithNameFloatMatrix4(java.lang.String name, GLKMatrix4 value)
public static SKUniform uniformWithNameFloatVector2(java.lang.String name, GLKVector2 value)
public static SKUniform uniformWithNameFloatVector3(java.lang.String name, GLKVector3 value)
public static SKUniform uniformWithNameFloatVector4(java.lang.String name, GLKVector4 value)
public static SKUniform uniformWithNameTexture(java.lang.String name, SKTexture texture)
name - the name of the shader uniform.texture - the texture data associated with this uniform.public static long version_static()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic GLKMatrix2 floatMatrix2Value()
public GLKMatrix3 floatMatrix3Value()
public GLKMatrix4 floatMatrix4Value()
public float floatValue()
public GLKVector2 floatVector2Value()
public GLKVector3 floatVector3Value()
public GLKVector4 floatVector4Value()
public SKUniform initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic SKUniform initWithName(java.lang.String name)
public SKUniform initWithNameFloat(java.lang.String name, float value)
public SKUniform initWithNameFloatMatrix2(java.lang.String name, GLKMatrix2 value)
public SKUniform initWithNameFloatMatrix3(java.lang.String name, GLKMatrix3 value)
public SKUniform initWithNameFloatMatrix4(java.lang.String name, GLKMatrix4 value)
public SKUniform initWithNameFloatVector2(java.lang.String name, GLKVector2 value)
public SKUniform initWithNameFloatVector3(java.lang.String name, GLKVector3 value)
public SKUniform initWithNameFloatVector4(java.lang.String name, GLKVector4 value)
public java.lang.String name()
public void setFloatMatrix2Value(GLKMatrix2 value)
public void setFloatMatrix3Value(GLKMatrix3 value)
public void setFloatMatrix4Value(GLKMatrix4 value)
public void setFloatValue(float value)
public void setFloatVector2Value(GLKVector2 value)
public void setFloatVector3Value(GLKVector3 value)
public void setFloatVector4Value(GLKVector4 value)
public void setTextureValue(SKTexture value)
public SKTexture textureValue()
public long uniformType()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding