Documentation
¶
Index ¶
- type AnyData
- type ArraySampler2D
- func (s ArraySampler2D[T]) TexelFetch(p gpu.Vec3i, lod gpu.Int) T
- func (s ArraySampler2D[T]) TexelFetchOffset(p gpu.Vec3i, lod gpu.Int, offset gpu.Vec2i) T
- func (s ArraySampler2D[T]) Texture(uv gpu.Vec3) T
- func (s ArraySampler2D[T]) TextureGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
- func (s ArraySampler2D[T]) TextureGradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s ArraySampler2D[T]) TextureLOD(uv gpu.Vec3, lod gpu.Float) T
- func (s ArraySampler2D[T]) TextureOffsetLOD(uv gpu.Vec3, offset gpu.Vec2i, lod gpu.Float) T
- func (s ArraySampler2D[T]) TextureSize(lod gpu.Int) gpu.Vec3i
- func (s ArraySampler2D[T]) TextureWithBias(uv gpu.Vec3, bias gpu.Float) T
- type ArraySampler3D
- type CubeSampler
- func (s CubeSampler[T]) Texture(uv gpu.Vec3) T
- func (s CubeSampler[T]) TextureGrad(uv, dPdx, dPdy gpu.Vec3) T
- func (s CubeSampler[T]) TextureLOD(uv gpu.Vec3, lod gpu.Float) T
- func (s CubeSampler[T]) TextureSize(lod gpu.Int) gpu.Vec2i
- func (s CubeSampler[T]) TextureWithBias(uv gpu.Vec3, bias gpu.Float) T
- type Sampler2D
- func (s Sampler2D[T]) TexelFetch(p gpu.Vec2i, lod gpu.Int) T
- func (s Sampler2D[T]) TexelFetchOffset(p gpu.Vec2i, lod gpu.Int, offset gpu.Vec2i) T
- func (s Sampler2D[T]) Texture(uv gpu.Vec2) T
- func (s Sampler2D[T]) TextureBias(uv gpu.Vec2, bias gpu.Float) T
- func (s Sampler2D[T]) TextureGrad(uv, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) TextureGradOffset(uv, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureLOD(uv gpu.Vec2, lod gpu.Float) T
- func (s Sampler2D[T]) TextureOffset(uv gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureOffsetBias(uv gpu.Vec2, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) TextureOffsetLOD(uv gpu.Vec2, offset gpu.Vec2i, lod gpu.Float) T
- func (s Sampler2D[T]) TextureProj3(uv gpu.Vec3) T
- func (s Sampler2D[T]) TextureProj3Bias(uv gpu.Vec3, bias gpu.Float) T
- func (s Sampler2D[T]) TextureProj3Grad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) TextureProj3GradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj3LOD(uv gpu.Vec3, lod gpu.Float) T
- func (s Sampler2D[T]) TextureProj3LODOffset(uv gpu.Vec3, lod gpu.Float, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj3Offset(uv gpu.Vec3, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj3OffsetBias(uv gpu.Vec3, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) TextureProj4(uv gpu.Vec4) T
- func (s Sampler2D[T]) TextureProj4Bias(uv gpu.Vec4, bias gpu.Float) T
- func (s Sampler2D[T]) TextureProj4Grad(uv gpu.Vec4, dPdx, dPdy gpu.Vec2) T
- func (s Sampler2D[T]) TextureProj4GradOffset(uv gpu.Vec4, dPdx, dPdy gpu.Vec2, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj4LOD(uv gpu.Vec4, lod gpu.Float) T
- func (s Sampler2D[T]) TextureProj4LODOffset(uv gpu.Vec4, lod gpu.Float, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj4Offset(uv gpu.Vec4, offset gpu.Vec2i) T
- func (s Sampler2D[T]) TextureProj4OffsetBias(uv gpu.Vec4, offset gpu.Vec2i, bias gpu.Float) T
- func (s Sampler2D[T]) TextureSize(lod gpu.Int) gpu.Vec2i
- type Sampler3D
- func (s Sampler3D[T]) TexelFetch(p gpu.Vec3i, lod gpu.Int) T
- func (s Sampler3D[T]) TexelFetchOffset(p gpu.Vec3i, lod gpu.Int, offset gpu.Vec3i) T
- func (s Sampler3D[T]) Texture(uv gpu.Vec3) T
- func (s Sampler3D[T]) TextureBias(uv gpu.Vec3, bias gpu.Float) T
- func (s Sampler3D[T]) TextureGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec3) T
- func (s Sampler3D[T]) TextureGradOffset(uv gpu.Vec3, dPdx, dPdy gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) TextureLOD(uv gpu.Vec3, lod gpu.Float) T
- func (s Sampler3D[T]) TextureOffset(uv gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) TextureOffsetBias(uv gpu.Vec3, offset gpu.Vec3i, bias gpu.Float) T
- func (s Sampler3D[T]) TextureOffsetLOD(uv gpu.Vec3, offset gpu.Vec3i, lod gpu.Float) T
- func (s Sampler3D[T]) TextureProj(uv gpu.Vec4) T
- func (s Sampler3D[T]) TextureProjBias(uv gpu.Vec4, bias gpu.Float) T
- func (s Sampler3D[T]) TextureProjGrad(uv gpu.Vec4, dPdx, dPdy gpu.Vec3) T
- func (s Sampler3D[T]) TextureProjGradOffset(uv gpu.Vec4, dPdx, dPdy gpu.Vec3, offset gpu.Vec3i) T
- func (s Sampler3D[T]) TextureProjLOD(uv gpu.Vec4, lod gpu.Float) T
- func (s Sampler3D[T]) TextureProjLODOffset(uv gpu.Vec4, lod gpu.Float, offset gpu.Vec3i) T
- func (s Sampler3D[T]) TextureProjOffset(uv gpu.Vec4, offset gpu.Vec3i) T
- func (s Sampler3D[T]) TextureProjOffsetBias(uv gpu.Vec4, offset gpu.Vec3i, bias gpu.Float) T
- func (s Sampler3D[T]) TextureSize(lod gpu.Int) gpu.Vec3i
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArraySampler2D ¶
type ArraySampler2D[T AnyData] struct { // contains filtered or unexported fields }
func (ArraySampler2D[T]) TexelFetch ¶
func (s ArraySampler2D[T]) TexelFetch(p gpu.Vec3i, lod gpu.Int) T
func (ArraySampler2D[T]) TexelFetchOffset ¶
func (ArraySampler2D[T]) Texture ¶
func (s ArraySampler2D[T]) Texture(uv gpu.Vec3) T
func (ArraySampler2D[T]) TextureGrad ¶
func (s ArraySampler2D[T]) TextureGrad(uv gpu.Vec3, dPdx, dPdy gpu.Vec2) T
func (ArraySampler2D[T]) TextureGradOffset ¶
func (ArraySampler2D[T]) TextureLOD ¶
func (s ArraySampler2D[T]) TextureLOD(uv gpu.Vec3, lod gpu.Float) T
func (ArraySampler2D[T]) TextureOffsetLOD ¶
func (ArraySampler2D[T]) TextureSize ¶
func (s ArraySampler2D[T]) TextureSize(lod gpu.Int) gpu.Vec3i
func (ArraySampler2D[T]) TextureWithBias ¶
func (s ArraySampler2D[T]) TextureWithBias(uv gpu.Vec3, bias gpu.Float) T
type ArraySampler3D ¶
type CubeSampler ¶
type CubeSampler[T AnyData] struct { // contains filtered or unexported fields }
func (CubeSampler[T]) Texture ¶
func (s CubeSampler[T]) Texture(uv gpu.Vec3) T
func (CubeSampler[T]) TextureGrad ¶
func (s CubeSampler[T]) TextureGrad(uv, dPdx, dPdy gpu.Vec3) T
func (CubeSampler[T]) TextureLOD ¶
func (s CubeSampler[T]) TextureLOD(uv gpu.Vec3, lod gpu.Float) T
func (CubeSampler[T]) TextureSize ¶
func (s CubeSampler[T]) TextureSize(lod gpu.Int) gpu.Vec2i
func (CubeSampler[T]) TextureWithBias ¶
func (s CubeSampler[T]) TextureWithBias(uv gpu.Vec3, bias gpu.Float) T
type Sampler2D ¶
type Sampler2D[T AnyData] struct { // contains filtered or unexported fields }
func (Sampler2D[T]) TexelFetchOffset ¶
func (Sampler2D[T]) TextureGrad ¶
func (Sampler2D[T]) TextureGradOffset ¶
func (Sampler2D[T]) TextureOffset ¶
func (Sampler2D[T]) TextureOffsetBias ¶
func (Sampler2D[T]) TextureOffsetLOD ¶
func (Sampler2D[T]) TextureProj3 ¶
func (Sampler2D[T]) TextureProj3Bias ¶
func (Sampler2D[T]) TextureProj3Grad ¶
func (Sampler2D[T]) TextureProj3GradOffset ¶
func (Sampler2D[T]) TextureProj3LOD ¶
func (Sampler2D[T]) TextureProj3LODOffset ¶
func (Sampler2D[T]) TextureProj3Offset ¶
func (Sampler2D[T]) TextureProj3OffsetBias ¶
func (Sampler2D[T]) TextureProj4 ¶
func (Sampler2D[T]) TextureProj4Bias ¶
func (Sampler2D[T]) TextureProj4Grad ¶
func (Sampler2D[T]) TextureProj4GradOffset ¶
func (Sampler2D[T]) TextureProj4LOD ¶
func (Sampler2D[T]) TextureProj4LODOffset ¶
func (Sampler2D[T]) TextureProj4Offset ¶
func (Sampler2D[T]) TextureProj4OffsetBias ¶
type Sampler3D ¶
type Sampler3D[T AnyData] struct { // contains filtered or unexported fields }
func (Sampler3D[T]) TexelFetchOffset ¶
func (Sampler3D[T]) TextureGrad ¶
func (Sampler3D[T]) TextureGradOffset ¶
func (Sampler3D[T]) TextureOffset ¶
func (Sampler3D[T]) TextureOffsetBias ¶
func (Sampler3D[T]) TextureOffsetLOD ¶
func (Sampler3D[T]) TextureProj ¶
func (Sampler3D[T]) TextureProjBias ¶
func (Sampler3D[T]) TextureProjGrad ¶
func (Sampler3D[T]) TextureProjGradOffset ¶
func (Sampler3D[T]) TextureProjLOD ¶
func (Sampler3D[T]) TextureProjLODOffset ¶
func (Sampler3D[T]) TextureProjOffset ¶
func (Sampler3D[T]) TextureProjOffsetBias ¶
Click to show internal directories.
Click to hide internal directories.