Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

TgpuFragmentFn

Defined in: packages/typegpu/src/core/function/tgpuFragmentFn.ts:110

  • TgpuNamable

Varying extends FragmentInConstrained = FragmentInConstrained

Output extends FragmentOutConstrained = FragmentOutConstrained

readonly [$internal]: true

Defined in: packages/typegpu/src/core/function/tgpuFragmentFn.ts:114


readonly outputType: IOLayoutToSchema<Output>

Defined in: packages/typegpu/src/core/function/tgpuFragmentFn.ts:116


readonly shell: TgpuFragmentFnShellHeader<Varying, Output>

Defined in: packages/typegpu/src/core/function/tgpuFragmentFn.ts:115

$name(label): this

Defined in: packages/typegpu/src/shared/meta.ts:83

string

this

TgpuNamable.$name


$uses(dependencyMap): this

Defined in: packages/typegpu/src/core/function/tgpuFragmentFn.ts:118

Record<string, unknown>

this