Documentation ¶
Overview ¶
package slbool defines a HLSL friendly int32 Bool type. The standard HLSL bool type causes obscure errors, and the int32 obeys the 4 byte basic alignment requirements.
gosl automatically converts this Go code into appropriate HLSL code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bool ¶
type Bool int32
Bool is an HLSL 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.