 |
GpuSamplerCreate Method |
Returns a newly created GpuSampler and a DisposeToken to dispose the sampler.
Namespace: Ab4d.SharpEngine.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic 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,
DisposeTokenGpuSampler and a DisposeToken
See Also