/// <summary> /// /// </summary> internal unsafe void MarshalTo(SharpVk.Interop.SamplerCreateInfo *pointer) { pointer->SType = StructureType.SamplerCreateInfo; pointer->Next = null; if (this.Flags != null) { pointer->Flags = this.Flags.Value; } else { pointer->Flags = default(SharpVk.SamplerCreateFlags); } pointer->MagFilter = this.MagFilter; pointer->MinFilter = this.MinFilter; pointer->MipmapMode = this.MipmapMode; pointer->AddressModeU = this.AddressModeU; pointer->AddressModeV = this.AddressModeV; pointer->AddressModeW = this.AddressModeW; pointer->MipLodBias = this.MipLodBias; pointer->AnisotropyEnable = this.AnisotropyEnable; pointer->MaxAnisotropy = this.MaxAnisotropy; pointer->CompareEnable = this.CompareEnable; pointer->CompareOp = this.CompareOp; pointer->MinLod = this.MinLod; pointer->MaxLod = this.MaxLod; pointer->BorderColor = this.BorderColor; pointer->UnnormalizedCoordinates = this.UnnormalizedCoordinates; }
public static extern SharpVk.Result vkCreateSampler(SharpVk.Interop.Device device, SharpVk.Interop.SamplerCreateInfo *createInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.Sampler *sampler);