Lines Matching refs:im

170 void TCSetImageIndex ( TCImage* im, u32 index )  in TCSetImageIndex()  argument
174 TCAssertMsg( (im != NULL), "TCSetImageIndex: NULL image ptr for image %d\n", index ); in TCSetImageIndex()
176 im->index = index; in TCSetImageIndex()
180 void TCSetImageLayerAtt ( TCImage* im, u32 colorLayer, u32 alphaLayer ) in TCSetImageLayerAtt() argument
183 TCAssertMsg( (im != NULL), "TCSetImageLayerAtt: NULL image ptr\n" ); in TCSetImageLayerAtt()
190 …= TC_UNUSED), "TCSetImageLayerAtt: invalid color layer %d for image %d\n", colorLayer, im->index ); in TCSetImageLayerAtt()
192 im->colorSrcImage = colorLayer; in TCSetImageLayerAtt()
193 im->alphaSrcImage = alphaLayer; in TCSetImageLayerAtt()
197 void TCSetImageWrap ( TCImage* im, u32 wrapS, u32 wrapT ) in TCSetImageWrap() argument
200 TCAssertMsg( (im != NULL), "TCSetImageWrap: NULL image ptr\n" ); in TCSetImageWrap()
203 im->wrapS = wrapS; in TCSetImageWrap()
204 im->wrapT = wrapT; in TCSetImageWrap()
208 void TCSetImageTexelFormat ( TCImage* im, u32 texelFmt ) in TCSetImageTexelFormat() argument
211 TCAssertMsg( (im != NULL), "TCSetImageTexelFormat: NULL image ptr\n" ); in TCSetImageTexelFormat()
231 im->texelFormat = texelFmt; in TCSetImageTexelFormat()
236 …TCErrorMsg( "TCSetImageTexelFormat: invalid texel format %d for image %d\n", texelFmt, im->index ); in TCSetImageTexelFormat()
246 void TCSetImageMipMap ( TCImage* im, u32 minLOD, u32 maxLOD, u32 baseLOD ) in TCSetImageMipMap() argument
251 TCAssertMsg( (im != NULL), "TCSetImageMipMap: NULL image ptr\n" ); in TCSetImageMipMap()
256 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
261 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
267 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
271 im->minLOD = minLOD; in TCSetImageMipMap()
272 im->maxLOD = maxLOD; in TCSetImageMipMap()
273 im->remapMinLOD = baseLOD; in TCSetImageMipMap()
380 u32 TCFindImagePos( TCImage* im ) in TCFindImagePos() argument
386 TCAssertMsg( (im != NULL), "TCFindImagePos: NULL image ptr\n" ); in TCFindImagePos()
393 if( im == imPtr ) in TCFindImagePos()
402 TCErrorMsg( "TCFindImagePos: image %d is not part of image list\n", im->index ); in TCFindImagePos()