예제 #1
0
 public DescriptorBufferInfo()
 {
     m = (Interop.DescriptorBufferInfo*) Interop.Structure.Allocate (typeof (Interop.DescriptorBufferInfo));
     Initialize ();
 }
예제 #2
0
 internal DescriptorBufferInfo(Interop.DescriptorBufferInfo* ptr)
 {
     m = ptr;
     Initialize ();
 }
예제 #3
0
 internal unsafe void MarshalTo(Interop.DescriptorBufferInfo *pointer)
 {
     this.Buffer?.MarshalTo(&pointer->Buffer);
     pointer->Offset = this.Offset;
     pointer->Range  = this.Range;
 }