Documentation
¶
Index ¶
- type AnyData
- type ArraySampler2D
- func (s ArraySampler2D[T]) Sample(uv gpu.Vec3) T
- func (s ArraySampler2D[T]) SampleGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
- func (s ArraySampler2D[T]) SampleGradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s ArraySampler2D[T]) SampleLOD(uv gpu.Vec3, lod gpu.Float) T
- func (s ArraySampler2D[T]) SampleOffsetLOD(uv gpu.Vec3, offset gpu.Vec2i, lod gpu.Float) T
- func (s ArraySampler2D[T]) SampleSize(lod gpu.Int) gpu.Vec3i
- func (s ArraySampler2D[T]) SampleWithBias(uv gpu.Vec3, bias gpu.Float) T
- func (s ArraySampler2D[T]) Texel(p gpu.Vec3i, lod gpu.Int) T
- func (s ArraySampler2D[T]) TexelOffset(p gpu.Vec3i, lod gpu.Int, offset gpu.Vec2i) T
- type ArraySampler3D
- type CubeSampler
- type Sampler2D
- func (s Sampler2D[T]) Sample(uv gpu.Vec2) T
- func (s Sampler2D[T]) SampleBias(uv gpu.Vec2, bias gpu.Float) T
- func (s Sampler2D[T]) SampleGrad(uv, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) SampleGradOffset(uv, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleLOD(uv gpu.Vec2, lod gpu.Float) T
- func (s Sampler2D[T]) SampleOffset(uv gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleOffsetBias(uv gpu.Vec2, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) SampleOffsetLOD(uv gpu.Vec2, offset gpu.Vec2i, lod gpu.Float) T
- func (s Sampler2D[T]) SampleProj3(uv gpu.Vec3) T
- func (s Sampler2D[T]) SampleProj3Bias(uv gpu.Vec3, bias gpu.Float) T
- func (s Sampler2D[T]) SampleProj3Grad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) SampleProj3GradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj3LOD(uv gpu.Vec3, lod gpu.Float) T
- func (s Sampler2D[T]) SampleProj3LODOffset(uv gpu.Vec3, lod gpu.Float, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj3Offset(uv gpu.Vec3, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj3OffsetBias(uv gpu.Vec3, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) SampleProj4(uv gpu.Vec4) T
- func (s Sampler2D[T]) SampleProj4Bias(uv gpu.Vec4, bias gpu.Float) T
- func (s Sampler2D[T]) SampleProj4Grad(uv gpu.Vec4, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) SampleProj4GradOffset(uv gpu.Vec4, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj4LOD(uv gpu.Vec4, lod gpu.Float) T
- func (s Sampler2D[T]) SampleProj4LODOffset(uv gpu.Vec4, lod gpu.Float, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj4Offset(uv gpu.Vec4, offset gpu.Vec2i) T
- func (s Sampler2D[T]) SampleProj4OffsetBias(uv gpu.Vec4, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) SampleSize(lod gpu.Int) gpu.Vec2i
- func (s Sampler2D[T]) Texel(p gpu.Vec2i, lod gpu.Int) T
- func (s Sampler2D[T]) TexelOffset(p gpu.Vec2i, lod gpu.Int, offset gpu.Vec2i) T
- type Sampler3D
- func (s Sampler3D[T]) Sample(uv gpu.Vec3) T
- func (s Sampler3D[T]) SampleBias(uv gpu.Vec3, bias gpu.Float) T
- func (s Sampler3D[T]) SampleGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec3) T
- func (s Sampler3D[T]) SampleGradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) SampleLOD(uv gpu.Vec3, lod gpu.Float) T
- func (s Sampler3D[T]) SampleOffset(uv gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) SampleOffsetBias(uv gpu.Vec3, offset gpu.Vec3i, bias gpu.Float) T
- func (s Sampler3D[T]) SampleOffsetLOD(uv gpu.Vec3, offset gpu.Vec3i, lod gpu.Float) T
- func (s Sampler3D[T]) SampleProj(uv gpu.Vec4) T
- func (s Sampler3D[T]) SampleProjBias(uv gpu.Vec4, bias gpu.Float) T
- func (s Sampler3D[T]) SampleProjGrad(uv gpu.Vec4, dPdx, dPdy gpu.Vec3) T
- func (s Sampler3D[T]) SampleProjGradOffset(uv gpu.Vec4, dPdx, dPdy gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) SampleProjLOD(uv gpu.Vec4, lod gpu.Float) T
- func (s Sampler3D[T]) SampleProjLODOffset(uv gpu.Vec4, lod gpu.Float, offset gpu.Vec3i) T
- func (s Sampler3D[T]) SampleProjOffset(uv gpu.Vec4, offset gpu.Vec3i) T
- func (s Sampler3D[T]) SampleProjOffsetBias(uv gpu.Vec4, offset gpu.Vec3i, bias gpu.Float) T
- func (s Sampler3D[T]) SampleSize(lod gpu.Int) gpu.Vec3i
- func (s Sampler3D[T]) Texel(p gpu.Vec3i, lod gpu.Int) T
- func (s Sampler3D[T]) TexelOffset(p gpu.Vec3i, lod gpu.Int, offset gpu.Vec3i) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArraySampler2D ¶
type ArraySampler2D[T AnyData] struct{ gpu.ArraySampler2D[T] }
func (ArraySampler2D[T]) Sample ¶
func (s ArraySampler2D[T]) Sample(uv gpu.Vec3) T
func (ArraySampler2D[T]) SampleGrad ¶
func (s ArraySampler2D[T]) SampleGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
func (ArraySampler2D[T]) SampleGradOffset ¶
func (ArraySampler2D[T]) SampleLOD ¶
func (s ArraySampler2D[T]) SampleLOD(uv gpu.Vec3, lod gpu.Float) T
func (ArraySampler2D[T]) SampleOffsetLOD ¶
func (ArraySampler2D[T]) SampleSize ¶
func (s ArraySampler2D[T]) SampleSize(lod gpu.Int) gpu.Vec3i
func (ArraySampler2D[T]) SampleWithBias ¶
func (s ArraySampler2D[T]) SampleWithBias(uv gpu.Vec3, bias gpu.Float) T
func (ArraySampler2D[T]) TexelOffset ¶
type ArraySampler3D ¶
type ArraySampler3D[T float64 | int | uint] gpu.ArraySampler3D[T]
type CubeSampler ¶
type CubeSampler[T AnyData] struct{ gpu.CubeSampler[T] }
func (CubeSampler[T]) Sample ¶
func (s CubeSampler[T]) Sample(uv gpu.Vec3) T
func (CubeSampler[T]) SampleGrad ¶
func (s CubeSampler[T]) SampleGrad(uv, dPdx, dPdy gpu.Vec3) T
func (CubeSampler[T]) SampleSize ¶
func (s CubeSampler[T]) SampleSize(lod gpu.Int) gpu.Vec2i
func (CubeSampler[T]) SampleWithBias ¶
func (s CubeSampler[T]) SampleWithBias(uv gpu.Vec3, bias gpu.Float) T
type Sampler2D ¶
func (Sampler2D[T]) SampleGrad ¶
func (Sampler2D[T]) SampleGradOffset ¶
func (Sampler2D[T]) SampleOffset ¶
func (Sampler2D[T]) SampleOffsetBias ¶
func (Sampler2D[T]) SampleOffsetLOD ¶
func (Sampler2D[T]) SampleProj3 ¶
func (Sampler2D[T]) SampleProj3Bias ¶
func (Sampler2D[T]) SampleProj3Grad ¶
func (Sampler2D[T]) SampleProj3GradOffset ¶
func (Sampler2D[T]) SampleProj3LOD ¶
func (Sampler2D[T]) SampleProj3LODOffset ¶
func (Sampler2D[T]) SampleProj3Offset ¶
func (Sampler2D[T]) SampleProj3OffsetBias ¶
func (Sampler2D[T]) SampleProj4 ¶
func (Sampler2D[T]) SampleProj4Bias ¶
func (Sampler2D[T]) SampleProj4Grad ¶
func (Sampler2D[T]) SampleProj4GradOffset ¶
func (Sampler2D[T]) SampleProj4LOD ¶
func (Sampler2D[T]) SampleProj4LODOffset ¶
func (Sampler2D[T]) SampleProj4Offset ¶
func (Sampler2D[T]) SampleProj4OffsetBias ¶
type Sampler3D ¶
func (Sampler3D[T]) SampleGrad ¶
func (Sampler3D[T]) SampleGradOffset ¶
func (Sampler3D[T]) SampleOffset ¶
func (Sampler3D[T]) SampleOffsetBias ¶
func (Sampler3D[T]) SampleOffsetLOD ¶
func (Sampler3D[T]) SampleProj ¶
func (Sampler3D[T]) SampleProjBias ¶
func (Sampler3D[T]) SampleProjGrad ¶
func (Sampler3D[T]) SampleProjGradOffset ¶
func (Sampler3D[T]) SampleProjLOD ¶
func (Sampler3D[T]) SampleProjLODOffset ¶
func (Sampler3D[T]) SampleProjOffset ¶
func (Sampler3D[T]) SampleProjOffsetBias ¶
Click to show internal directories.
Click to hide internal directories.