I'm currently coding a for fun version of a texture transfer tool from a paper i read from SIGGRAPH'01..i' ve figured out most of the coding based on the C# i found somewhere but I'm having trouble with its conversion into VB.NET.
my line
returns an error that says Pointer is not defined (BC30002).
the original C# is
Thanks for the help!
my line
Code:
Dim ptr As Pointer(As Byte) = CType(CType(bmpData.Scan0, Pointer(Of System.Void)), Pointer(Of Byte))
the original C# is
Code:
byte* ptr = (byte*)(void*)bmpData.Scan0;