Documentation ¶
Overview ¶
package slbool defines a WGSL friendly int32 Bool type. The standard WGSL bool type causes obscure errors, and the int32 obeys the 4 byte basic alignment requirements.
gosl automatically converts this Go code into appropriate WGSL code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bool ¶
type Bool int32
Bool is an WGSL friendly int32 Bool type.
func (*Bool) FromString ¶
FromString sets the bool from the given string
func (Bool) MarshalText ¶
MarshalText implements the encoding/text.Marshaler interface
func (*Bool) UnmarshalText ¶
UnmarshalText implements the encoding/text.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.