Function: computeTextureModelLayout()
computeTextureModelLayout(
options?):NTCTextureModelLayout
Computes buffer layouts and offsets for GPU-based neural texture training: a genuine mip pyramid of feature grids plus a small MLP decoder, sized generically from an arbitrary hidden-layer configuration.
Mirrors createNTCGridPyramidModel (NTCGridPyramidModel.js) exactly for
inputSize - both derive it from the same resolveNTCGridPyramidOptions,
so a trainer's CPU model and its GPU buffer layout can never disagree about
the decoder's input shape.
Parameters
options?
NTCGPUModelOptions = {}