Class SKUniform

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SKUniform
extends NSObject
implements NSSecureCoding
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getUniformType

      public SKUniformType getUniformType()
    • getTextureValue

      public SKTexture getTextureValue()
    • setTextureValue

      public void setTextureValue​(SKTexture v)
    • getFloatValue

      public float getFloatValue()
    • setFloatValue

      public void setFloatValue​(float v)
    • getVectorFloat2Value

      public VectorFloat2 getVectorFloat2Value()
      Since:
      Available in iOS 10.0 and later.
    • setVectorFloat2Value

      public void setVectorFloat2Value​(VectorFloat2 v)
      Since:
      Available in iOS 10.0 and later.
    • getVectorFloat3Value

      public VectorFloat3 getVectorFloat3Value()
      Since:
      Available in iOS 10.0 and later.
    • setVectorFloat3Value

      public void setVectorFloat3Value​(VectorFloat3 v)
      Since:
      Available in iOS 10.0 and later.
    • getVectorFloat4Value

      public VectorFloat4 getVectorFloat4Value()
      Since:
      Available in iOS 10.0 and later.
    • setVectorFloat4Value

      public void setVectorFloat4Value​(VectorFloat4 v)
      Since:
      Available in iOS 10.0 and later.
    • getMatrixFloat2x2Value

      public MatrixFloat2x4 getMatrixFloat2x2Value()
      Since:
      Available in iOS 10.0 and later.
    • setMatrixFloat2x2Value

      public void setMatrixFloat2x2Value​(MatrixFloat2x4 v)
      Since:
      Available in iOS 10.0 and later.
    • getMatrixFloat3x3Value

      public MatrixFloat3x4 getMatrixFloat3x3Value()
      Since:
      Available in iOS 10.0 and later.
    • setMatrixFloat3x3Value

      public void setMatrixFloat3x3Value​(MatrixFloat3x4 v)
      Since:
      Available in iOS 10.0 and later.
    • getMatrixFloat4x4Value

      public MatrixFloat4x4 getMatrixFloat4x4Value()
      Since:
      Available in iOS 10.0 and later.
    • setMatrixFloat4x4Value

      public void setMatrixFloat4x4Value​(MatrixFloat4x4 v)
      Since:
      Available in iOS 10.0 and later.
    • getFloatVector2Value

      @Deprecated public GLKVector2 getFloatVector2Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatVector2Value

      @Deprecated public void setFloatVector2Value​(GLKVector2 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getFloatVector3Value

      @Deprecated public GLKVector3 getFloatVector3Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatVector3Value

      @Deprecated public void setFloatVector3Value​(GLKVector3 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getFloatVector4Value

      @Deprecated public GLKVector4 getFloatVector4Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatVector4Value

      @Deprecated public void setFloatVector4Value​(GLKVector4 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getFloatMatrix2Value

      @Deprecated public GLKMatrix2 getFloatMatrix2Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatMatrix2Value

      @Deprecated public void setFloatMatrix2Value​(GLKMatrix2 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getFloatMatrix3Value

      @Deprecated public GLKMatrix3 getFloatMatrix3Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatMatrix3Value

      @Deprecated public void setFloatMatrix3Value​(GLKMatrix3 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getFloatMatrix4Value

      @Deprecated public GLKMatrix4 getFloatMatrix4Value()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFloatMatrix4Value

      @Deprecated public void setFloatMatrix4Value​(GLKMatrix4 v)
      Deprecated.
      Deprecated in iOS 10.0.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(String name)
    • init

      protected long init​(String name, SKTexture texture)
    • init

      protected long init​(String name, float value)
    • init

      protected long init​(String name, VectorFloat2 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      protected long init​(String name, VectorFloat3 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      protected long init​(String name, VectorFloat4 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      protected long init​(String name, MatrixFloat2x4 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      protected long init​(String name, MatrixFloat3x4 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      protected long init​(String name, MatrixFloat4x4 value)
      Since:
      Available in iOS 10.0 and later.
    • init

      @Deprecated protected long init​(String name, GLKVector2 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • init

      @Deprecated protected long init​(String name, GLKVector3 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • init

      @Deprecated protected long init​(String name, GLKVector4 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • init

      @Deprecated protected long init​(String name, GLKMatrix2 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • init

      @Deprecated protected long init​(String name, GLKMatrix3 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • init

      @Deprecated protected long init​(String name, GLKMatrix4 value)
      Deprecated.
      Deprecated in iOS 10.0.
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)