本文整理汇总了C#中VTableComponent类的典型用法代码示例。如果您正苦于以下问题:C# VTableComponent类的具体用法?C# VTableComponent怎么用?C# VTableComponent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
VTableComponent类属于命名空间,在下文中一共展示了VTableComponent类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: VTableComponent
private VTableComponent(VTableComponent.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
示例2: __CreateInstance
public static VTableComponent __CreateInstance(VTableComponent.Internal native)
{
return new VTableComponent(native);
}
示例3: __CopyValue
private static VTableComponent.Internal* __CopyValue(VTableComponent.Internal native)
{
var ret = (VTableComponent.Internal*) Marshal.AllocHGlobal(16);
*ret = native;
return ret;
}
示例4: __CreateInstance
public static VTableComponent __CreateInstance(VTableComponent.Internal native, bool skipVTables = false)
{
return new VTableComponent(native, skipVTables);
}
示例5: VTableComponent
protected VTableComponent(VTableComponent.Internal* native, bool skipVTables = false)
{
if (native == null)
return;
__Instance = new global::System.IntPtr(native);
}
示例6: __CopyValue
private static void* __CopyValue(VTableComponent.__Internal native)
{
var ret = Marshal.AllocHGlobal(12);
*(VTableComponent.__Internal*) ret = native;
return ret.ToPointer();
}
示例7: VTableComponent
private VTableComponent(VTableComponent.__Internal native, bool skipVTables = false)
: this(__CopyValue(native), skipVTables)
{
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
}
示例8: VTableComponent
internal VTableComponent(VTableComponent.Internal native)
: this(&native)
{
}
示例9: VTableComponent
private VTableComponent(VTableComponent.Internal native)
: this(__CopyValue(native))
{
__ownsNativeInstance = true;
}
示例10: VTableComponent
internal VTableComponent(VTableComponent.Internal native)
: this(__CopyValue(native))
{
}
示例11: __CopyValue
private static global::System.IntPtr __CopyValue(VTableComponent.Internal native)
{
global::System.IntPtr ret = Marshal.AllocHGlobal(12);
*(VTableComponent.Internal*) ret = native;
return ret;
}