package shader
import "gioui.org/shader"
Index ¶
- type BufferBinding
- type DataType
- type ImageBinding
- type InputLocation
- type Sources
- type TextureBinding
- type UniformLocation
- type UniformsReflection
Types ¶
type BufferBinding ¶
type DataType ¶
type DataType uint8
type ImageBinding ¶
type InputLocation ¶
type InputLocation struct { // For GLSL. Name string Location int // For HLSL. Semantic string SemanticIndex int Type DataType Size int }
type Sources ¶
type Sources struct { Name string SPIRV string GLSL100ES string GLSL150 string DXBC string MetalLib string Uniforms UniformsReflection Inputs []InputLocation Textures []TextureBinding StorageBuffers []BufferBinding Images []ImageBinding WorkgroupSize [3]int }
type TextureBinding ¶
type UniformLocation ¶
type UniformsReflection ¶
type UniformsReflection struct { Locations []UniformLocation Size int }
Source Files ¶
shader.go
Directories ¶
Path | Synopsis |
---|---|
cmd | |
cmd/convertshaders | |
gio | |
piet |
- Version
- v1.0.8 (latest)
- Published
- Oct 1, 2023
- Platform
- linux/amd64
- Last checked
- 13 hours ago –
Tools for package owners.