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