MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuSkinBind

Function PiuSkinBind

modules/piu/All/piuSkin.c:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282#ifdef piuGPU
283void PiuSkinBind(PiuSkin* self, PiuApplication* application, PiuView* view)
284{
285 if ((*self)->flags & piuSkinPattern) {
286 PiuTexture* texture = (*self)->data.pattern.texture;
287 if (texture)
288 PiuTextureBind(texture, application, view);
289 }
290}
291
292void PiuSkinUnbind(PiuSkin* self, PiuApplication* application, PiuView* view)
293{

Callers 2

PiuContentBindFunction · 0.85
PiuContent_set_skinFunction · 0.85

Calls 1

PiuTextureBindFunction · 0.85

Tested by

no test coverage detected