internal unsafe void MarshalTo(Interop.PipelineShaderStageCreateInfo *pointer) { pointer->SType = StructureType.PipelineShaderStageCreateInfo; pointer->Next = null; this.Module?.MarshalTo(&pointer->Module); pointer->Name = Interop.HeapUtil.MarshalTo(this.Name); pointer->SpecializationInfo = this.SpecializationInfo == null ? null : this.SpecializationInfo.Value.MarshalTo(); pointer->Flags = this.Flags; pointer->Stage = this.Stage; }
internal PipelineShaderStageCreateInfo(Interop.PipelineShaderStageCreateInfo* ptr) { m = ptr; Initialize (); }
public PipelineShaderStageCreateInfo() { m = (Interop.PipelineShaderStageCreateInfo*) Interop.Structure.Allocate (typeof (Interop.PipelineShaderStageCreateInfo)); Initialize (); }