MaterialProvider_createMaterialInstanceRenderThread function

  1. @Native<Void Function(Pointer<TMaterialProvider>, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Int, Bool, Bool, Uint8, Bool, Uint8, Uint8, Bool, Uint8, Bool, Uint8, Bool, Uint8, Bool, Bool, Bool, Uint8, Uint8, Uint8, Bool, Uint8, Bool, Uint8, Bool, Uint8, Bool, Uint8, Bool, Bool, Bool, Pointer<NativeFunction<Void Function(Pointer<TMaterialInstance>)>>)>(ffi.Pointer<TMaterialProvider>, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Int, ffi.Bool, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Uint8, ffi.Uint8, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Uint8, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TMaterialInstance>)>>)>(isLeaf: true)
void MaterialProvider_createMaterialInstanceRenderThread(
  1. Pointer<TMaterialProvider> tMaterialProvider,
  2. bool doubleSided,
  3. bool unlit,
  4. bool hasVertexColors,
  5. bool hasBaseColorTexture,
  6. bool hasNormalTexture,
  7. bool hasOcclusionTexture,
  8. bool hasEmissiveTexture,
  9. bool useSpecularGlossiness,
  10. int alphaMode,
  11. bool enableDiagnostics,
  12. bool hasMetallicRoughnessTexture,
  13. int metallicRoughnessUV,
  14. bool hasSpecularGlossinessTexture,
  15. int specularGlossinessUV,
  16. int baseColorUV,
  17. bool hasClearCoatTexture,
  18. int clearCoatUV,
  19. bool hasClearCoatRoughnessTexture,
  20. int clearCoatRoughnessUV,
  21. bool hasClearCoatNormalTexture,
  22. int clearCoatNormalUV,
  23. bool hasClearCoat,
  24. bool hasTransmission,
  25. bool hasTextureTransforms,
  26. int emissiveUV,
  27. int aoUV,
  28. int normalUV,
  29. bool hasTransmissionTexture,
  30. int transmissionUV,
  31. bool hasSheenColorTexture,
  32. int sheenColorUV,
  33. bool hasSheenRoughnessTexture,
  34. int sheenRoughnessUV,
  35. bool hasVolumeThicknessTexture,
  36. int volumeThicknessUV,
  37. bool hasSheen,
  38. bool hasIOR,
  39. bool hasVolume,
  40. Pointer<NativeFunction<Void Function(Pointer<TMaterialInstance>)>> callback,
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<TMaterialProvider>,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Int,
        ffi.Bool,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Uint8,
        ffi.Uint8,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Uint8,
        ffi.Bool,
        ffi.Bool,
        ffi.Bool,
        ffi.Pointer<
            ffi.NativeFunction<
                ffi.Void Function(
                    ffi.Pointer<TMaterialInstance>)>>)>(isLeaf: true)
external void MaterialProvider_createMaterialInstanceRenderThread(
  ffi.Pointer<TMaterialProvider> tMaterialProvider,
  bool doubleSided,
  bool unlit,
  bool hasVertexColors,
  bool hasBaseColorTexture,
  bool hasNormalTexture,
  bool hasOcclusionTexture,
  bool hasEmissiveTexture,
  bool useSpecularGlossiness,
  int alphaMode,
  bool enableDiagnostics,
  bool hasMetallicRoughnessTexture,
  int metallicRoughnessUV,
  bool hasSpecularGlossinessTexture,
  int specularGlossinessUV,
  int baseColorUV,
  bool hasClearCoatTexture,
  int clearCoatUV,
  bool hasClearCoatRoughnessTexture,
  int clearCoatRoughnessUV,
  bool hasClearCoatNormalTexture,
  int clearCoatNormalUV,
  bool hasClearCoat,
  bool hasTransmission,
  bool hasTextureTransforms,
  int emissiveUV,
  int aoUV,
  int normalUV,
  bool hasTransmissionTexture,
  int transmissionUV,
  bool hasSheenColorTexture,
  int sheenColorUV,
  bool hasSheenRoughnessTexture,
  int sheenRoughnessUV,
  bool hasVolumeThicknessTexture,
  int volumeThicknessUV,
  bool hasSheen,
  bool hasIOR,
  bool hasVolume,
  ffi.Pointer<
          ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TMaterialInstance>)>>
      callback,
);