Пример #1
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Пример #2
0
 public PipelineTessellationStateCreateInfo()
 {
     NativePointer        = (Unmanaged.PipelineTessellationStateCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.PipelineTessellationStateCreateInfo));
     NativePointer->SType = StructureType.PipelineTessellationStateCreateInfo;
 }