So it would be faster to have a type like:

Ground = record
GroundID : Integer;
TextureID : Integer;
end;


?