Click or drag to resize
Ab4d.SharpEngine logo

GpuSamplerCreate Method

Returns a newly created GpuSampler and a DisposeToken to dispose the sampler.

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static (GpuSampler gpuSampler, DisposeToken disposeToken) Create(
	VulkanDevice vulkanDevice,
	Sampler sampler,
	string? name = null
)

Parameters

vulkanDevice  VulkanDevice
vulkanDevice
sampler  Sampler
Vulkan sampler
name  String  (Optional)
optional name

Return Value

ValueTupleGpuSampler, DisposeToken
GpuSampler and a DisposeToken
See Also