Esempio n. 1
0
 internal unsafe void MarshalTo(Interop.CopyDescriptorSet *pointer)
 {
     pointer->SType = StructureType.CopyDescriptorSet;
     pointer->Next  = null;
     this.SourceSet?.MarshalTo(&pointer->SourceSet);
     this.DestinationSet?.MarshalTo(&pointer->DestinationSet);
     pointer->SourceBinding           = this.SourceBinding;
     pointer->SourceArrayElement      = this.SourceArrayElement;
     pointer->DestinationBinding      = this.DestinationBinding;
     pointer->DestinationArrayElement = this.DestinationArrayElement;
     pointer->DescriptorCount         = this.DescriptorCount;
 }
Esempio n. 2
0
 internal CopyDescriptorSet(Interop.CopyDescriptorSet* ptr)
 {
     m = ptr;
     Initialize ();
 }
Esempio n. 3
0
 public CopyDescriptorSet()
 {
     m = (Interop.CopyDescriptorSet*) Interop.Structure.Allocate (typeof (Interop.CopyDescriptorSet));
     Initialize ();
 }