Пример #1
0
 /// <summary>
 /// Flips the specified texture.
 /// </summary>
 /// <param name="sTexture">The texture.</param>
 /// <param name="eFlipDirection">The flip direction.</param>
 /// <returns></returns>
 public static bool Flip(PVRTexture sTexture, EPVRTAxis eFlipDirection)
 {
     return(pvrttFlip(sTexture.texture, eFlipDirection));
 }
Пример #2
0
 private extern static bool pvrttFlip(IntPtr sTexture, EPVRTAxis eFlipDirection);
Пример #3
0
 /// <summary>
 /// Flips the specified texture.
 /// </summary>
 /// <param name="sTexture">The texture.</param>
 /// <param name="eFlipDirection">The flip direction.</param>
 /// <returns></returns>
 public static bool Flip(PVRTexture sTexture, EPVRTAxis eFlipDirection)
 {
     return pvrttFlip(sTexture.texture, eFlipDirection);
 }
Пример #4
0
 private extern static bool pvrttFlip(IntPtr sTexture, EPVRTAxis eFlipDirection);
Пример #5
0
 /// <summary>
 /// Rotates a texture by 90 degrees around the given axis. bForward controls direction of rotation.
 /// </summary>
 /// <param name="sTexture">The texture.</param>
 /// <param name="eRotationAxis">Rotation axis</param>
 /// <param name="bForward">Direction of rotation; 1 = clockwise, 0 = anti-clockwise </param>
 /// <returns>True if the method succeeds or not.</returns>
 public static bool Rotate90(PVRTexture sTexture, EPVRTAxis eRotationAxis, bool bForward = true)
 {
     return(pvrttRotate90(sTexture.texture, eRotationAxis, bForward));
 }
Пример #6
0
 private extern static bool pvrttRotate90(IntPtr sTexture, EPVRTAxis eRotationAxis, bool bForward);