Vocabulary
accessors

Inputs
objectan object


Outputs
valuean object


Definition

GENERIC: texture>> ( object -- value )


Methods

M: Font texture>>
T{ struct-slot-spec
{ name "texture" }
{ offset 8 }
{ class Texture2D }
{ initial
S{ Texture2D
{ id 0 }
{ width 0 }
{ height 0 }
{ mipmaps 0 }
{ format 0 }
}
}
{ type Texture2D }
} read-struct-slot ; inline



M: MaterialMap texture>>
T{ struct-slot-spec
{ name "texture" }
{ offset 0 }
{ class Texture2D }
{ initial
S{ Texture2D
{ id 0 }
{ width 0 }
{ height 0 }
{ mipmaps 0 }
{ format 0 }
}
}
{ type Texture2D }
} read-struct-slot ; inline



M: RenderTexture2D texture>>
T{ struct-slot-spec
{ name "texture" }
{ offset 4 }
{ class Texture2D }
{ initial
S{ Texture2D
{ id 0 }
{ width 0 }
{ height 0 }
{ mipmaps 0 }
{ format 0 }
}
}
{ type Texture2D }
} read-struct-slot ; inline