Table of Contents

Class GPUSampler

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The GPUSampler interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents an object that can control how shaders transform and filter texture resource data.

[Value("GPUSampler")]
public class GPUSampler
Inheritance
GPUSampler
Inherited Members

Remarks

A GPUSampler object instance is created using the CreateSampler(GPUSamplerDescriptor) method.

-The WebGPU API

See also on MDN

Constructors

GPUSampler()

public GPUSampler()