Skip to content

TgpuFragmentFn

  • TgpuNamable

Varying extends FragmentInConstrained = FragmentInConstrained

Output extends FragmentOutConstrained = FragmentOutConstrained

readonly [$internal]: true

packages/typegpu/src/core/function/tgpuFragmentFn.ts:102


readonly outputType: IOLayoutToSchema<Output>

packages/typegpu/src/core/function/tgpuFragmentFn.ts:104


readonly shell: TgpuFragmentFnShellHeader<Varying, Output>

packages/typegpu/src/core/function/tgpuFragmentFn.ts:103

$name(label): this

string

this

TgpuNamable.$name

packages/typegpu/src/shared/meta.ts:92


$uses(dependencyMap): this

Record<string, unknown>

this

packages/typegpu/src/core/function/tgpuFragmentFn.ts:106