color<< ( value object -- )


Vocabulary
accessors

Inputs
valuean object
objectan object


Outputs
None

Definition

GENERIC: color<< ( value object -- )


Methods

M: MaterialMap color<<
T{ struct-slot-spec
{ name "color" }
{ offset 20 }
{ class Color }
{ initial S{ Color { r 0 } { g 0 } { b 0 } { a 0 } } }
{ type Color }
} write-struct-slot ; inline










































M: papier-vertex-struct color<<
T{ struct-slot-spec
{ name "color" }
{ offset 32 }
{ class float-4 }
{ initial float-4{ 0.0 0.0 0.0 0.0 } }
{ type float-4 }
} write-struct-slot ; inline