Author Topic: Global/ Layout-wide mipmap application  (Read 1677 times)

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Global/ Layout-wide mipmap application
« on: January 17, 2019, 03:20:48 AM »
Is there anyway to pass a global/ layout-wide mipmap command so every snap/ video has mipmap applied to it? Currently i'm using

Code: [Select]
local flyer = fe.add_artwork( "flyer", #, #, #, # );
flyer.mipmap = true;

local snap = fe.add_artwork( "snap", #, #, #, # );
snap.mipmap = true;

local video = fe.add_artwork( "video", #, #, #, # );
video.mipmap = true;

I am hoping that I won't have to reuse the same statement time and again and can give a single instruction to apply mipmap to all artwork assets.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Global/ Layout-wide mipmap application
« Reply #1 on: January 17, 2019, 03:43:00 AM »
Illiterate through the fe table and try/catch setting mipmap?