Пример #1
0
 public static unsafe extern bool vlImageGenerateNormalMap(uint uiFrame, KernelFilter kernelFilter, HeightConversionMethod heightConversionMethod, NormalAlphaResult normalAlphaResult);
Пример #2
0
 public static unsafe extern bool vlImageConvertToNormalMap(byte* lpSourceRGBA8888, byte* lpDestRGBA8888, uint uiWidth, uint uiHeight, KernelFilter kernelFilter, HeightConversionMethod heightConversionMethod, NormalAlphaResult normalAlphaResult, byte bMinimumZ, float fScale, [MarshalAs(UnmanagedType.U1)]bool bWrap, [MarshalAs(UnmanagedType.U1)]bool bInvertX, [MarshalAs(UnmanagedType.U1)]bool bInvertY);
Пример #3
0
 public static unsafe extern bool vlImageGenerateAllNormalMaps(KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult);
Пример #4
0
 public static unsafe extern bool vlImageConvertToNormalMap(byte* lpSourceRGBA8888, byte* lpDestRGBA8888, uint uiWidth, uint uiHeight, KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult, byte bMinimumZ, float fScale, bool bWrap, bool bInvertX, bool bInvertY);
Пример #5
0
 public unsafe static bool vlImageConvertToNormalMap(byte* lpSourceRGBA8888, byte* lpDestRGBA8888, uint uiWidth, uint uiHeight, KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult, byte bMinimumZ, float fScale, bool bWrap, bool bInvertX, bool bInvertY)
 {
     return IsWow64() ? x64.vlImageConvertToNormalMap(lpSourceRGBA8888, lpDestRGBA8888, uiWidth, uiHeight, KernelFilter, HeightConversionMethod, NormalAlphaResult, bMinimumZ, fScale, bWrap, bInvertX, bInvertY) : x86.vlImageConvertToNormalMap(lpSourceRGBA8888, lpDestRGBA8888, uiWidth, uiHeight, KernelFilter, HeightConversionMethod, NormalAlphaResult, bMinimumZ, fScale, bWrap, bInvertX, bInvertY);
 }
Пример #6
0
 public unsafe static bool vlImageGenerateAllNormalMaps(KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult)
 {
     return IsWow64() ? x64.vlImageGenerateAllNormalMaps(KernelFilter, HeightConversionMethod, NormalAlphaResult) : x86.vlImageGenerateAllNormalMaps(KernelFilter, HeightConversionMethod, NormalAlphaResult);
 }