texture: support nil data argument