예제 #1
0
 public GpuBuffer(GlTextureBuffer glTextureBuffer)
     : base()
 {
     UnsafeNativeMethods.mp_GpuBuffer__PSgtb(glTextureBuffer.sharedPtr, out var ptr).Assert();
       glTextureBuffer.Dispose(); // respect move semantics
       this.ptr = ptr;
 }
예제 #2
0
 public GpuBuffer(GlTextureBuffer glTextureBuffer) : base()
 {
     UnsafeNativeMethods.mp_GpuBuffer__PSgtb(glTextureBuffer.sharedPtr, out var ptr).Assert();
     this.ptr = ptr;
 }