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
func (*Bool) FromString ¶ added in v1.0.5
func (Bool) MarshalJSON ¶ added in v1.0.6
func (*Bool) UnmarshalJSON ¶ added in v1.0.6
Click to show internal directories.
Click to hide internal directories.