コード例 #1
0
ファイル: VtfLib.cs プロジェクト: jpiolho/sledge
 public static unsafe extern bool vlImageGenerateNormalMap(uint uiFrame, KernelFilter kernelFilter, HeightConversionMethod heightConversionMethod, NormalAlphaResult normalAlphaResult);
コード例 #2
0
ファイル: VtfLib.cs プロジェクト: jpiolho/sledge
 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
ファイル: Vtflib.cs プロジェクト: maesse/CubeHags
 public static unsafe extern bool vlImageGenerateAllNormalMaps(KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult);
コード例 #4
0
ファイル: Vtflib.cs プロジェクト: maesse/CubeHags
 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
ファイル: VtfLib.cs プロジェクト: BenVlodgi/BEE2
 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
ファイル: VtfLib.cs プロジェクト: BenVlodgi/BEE2
 public unsafe static bool vlImageGenerateAllNormalMaps(KernelFilter KernelFilter, HeightConversionMethod HeightConversionMethod, NormalAlphaResult NormalAlphaResult)
 {
     return IsWow64() ? x64.vlImageGenerateAllNormalMaps(KernelFilter, HeightConversionMethod, NormalAlphaResult) : x86.vlImageGenerateAllNormalMaps(KernelFilter, HeightConversionMethod, NormalAlphaResult);
 }