Parameters & Returns
Parameters
Returns
Quick Summary
Image handle of a mesh's auto-loaded texture (0 if none).
Technical Exegesis...
Returns the image handle of the texture that b2dLoadMesh loaded alongside the mesh (the .png the converter wrote next to the .bb3d). Pass it as the image argument to b2dDrawImageQuadDepthUV when drawing the mesh's faces. Returns 0 if the mesh has no texture or the handle is invalid.
Example
Local tex:Int = b2dMeshTexture(mesh)