Copies all pixels of the bitmap into the texture.
no checks are done, make sure the pixel count of the bitmap and texture matches
Namespace: VVVV.Utils.SlimDXAssembly: VVVV.Utils3rdParty (in VVVV.Utils3rdParty.dll) Version: 1.0.4694.10872
Syntax
C# |
---|
public static void CopyBitmapToTexture( Bitmap bm, Texture texture ) |
Parameters
- bm
- Type: System.Drawing..::..Bitmap
[Missing <param name="bm"/> documentation for "M:VVVV.Utils.SlimDX.TextureUtils.CopyBitmapToTexture(System.Drawing.Bitmap,SlimDX.Direct3D9.Texture)"]
- texture
- Type: Texture
[Missing <param name="texture"/> documentation for "M:VVVV.Utils.SlimDX.TextureUtils.CopyBitmapToTexture(System.Drawing.Bitmap,SlimDX.Direct3D9.Texture)"]