type gfxlightimage [display="GFX Light Image"] { i32 image_ptr [ui, readonly, display="Image Ptr"]; u8 sampler_state [ui, readonly, display="Sampler State"]; skip(3); // padding if (image_ptr == -1) { image = parse_here("image"); } }