public static bool PreMultipliedAlpha(PVRTexture sTexture) { return(pvrttPreMultipliedAlpha(sTexture.texture)); }
public static bool GenerateNormalMap(PVRTexture sTexture, float fScale, string sChannelOrder) { return(pvrttGenerateNormalMap(sTexture.texture, fScale, sChannelOrder)); }
/// <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)); }
/// <summary> /// Resizes the specified texture. /// </summary> /// <param name="sTexture">The texture.</param> /// <param name="u32NewWidth">The new width.</param> /// <param name="u32NewHeight">The new height.</param> /// <param name="u32NewDepth">The new depth.</param> /// <param name="eResizeMode">The resize mode (Filter).</param> /// <returns></returns> public static bool Resize(PVRTexture sTexture, uint u32NewWidth, uint u32NewHeight, uint u32NewDepth, EResizeMode eResizeMode) { return(pvrttResize(sTexture.texture, out u32NewWidth, out u32NewHeight, out u32NewDepth, eResizeMode)); }
public static bool Transcode(PVRTexture sTexture, UInt64 ptFormat, EPVRTVariableType eChannelType, EPVRTColourSpace eColourspace, ECompressorQuality eQuality = ECompressorQuality.ePVRTCNormal, bool bDoDither = false) { return(pvrttTranscode(sTexture.texture, ptFormat, eChannelType, eColourspace, eQuality, bDoDither)); }
/// <summary> /// Copies a specified channel from one texture to a specified channel in another texture. /// </summary> /// <param name="sTexture">The destination texture.</param> /// <param name="sTextureSource">The source texture.</param> /// <param name="uiNumChannelCopies">The UI num channel copies.</param> /// <param name="eChannels">The destination channel.</param> /// <param name="eChannelsSource">The source channel.</param> /// <returns></returns> public static bool CopyChannels(PVRTexture sTexture, PVRTexture sTextureSource, uint uiNumChannelCopies, out EChannelName eChannels, out EChannelName eChannelsSource) { return(pvrttCopyChannels(sTexture.texture, sTextureSource.texture, uiNumChannelCopies, out eChannels, out eChannelsSource)); }