Can someone refresh me on indexing surfaces please

Blitz3D Forums/Blitz3D Programming/Can someone refresh me on indexing surfaces please

Just keep a link between the surface, brush and texture name.
Type SurfTex
Field surf
Field texname$
;Field brush
End Type

Remember to free them when you are finished (GetBrushTexture, GetSurfaceBrush, GetEntityBrush create new copies).