We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8532de commit a593d32Copy full SHA for a593d32
packages/typegpu/src/core/sampler/sampler.ts
@@ -4,7 +4,7 @@
4
5
import type { TgpuNamable } from '../../namable';
6
import type { LayoutMembership } from '../../tgpuBindGroupLayout';
7
-import type { ResolutionCtx } from '../../types';
+import type { ResolutionCtx, TgpuResolvable } from '../../types';
8
9
export interface SamplerProps {
10
addressModeU?: GPUAddressMode;
@@ -91,7 +91,7 @@ export interface ComparisonSamplerProps {
91
maxAnisotropy?: number;
92
}
93
94
-export interface TgpuSampler {
+export interface TgpuSampler extends TgpuResolvable {
95
readonly resourceType: 'sampler';
96
97
0 commit comments