Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public GpuBuffer(GlTextureBuffer glTextureBuffer) : base()
 {
     UnsafeNativeMethods.mp_GpuBuffer__PSgtb(glTextureBuffer.sharedPtr, out var ptr).Assert();
     this.ptr = ptr;
 }