NAME
DtTextureGetImageSizeByID - Get the texture image size.
SYNOPSIS
#include <Dt.h>
int DtTextureGetImageSizeByID( int id, int *width, int *height, int *components )
DESCRIPTION
DtTextureGetImageSizeByID() returns the texture images
dimensions, in the pointers width and height, along with the
number of components, in the pointer components, for the
texture name. The number of components in the texture can
be:
1 - with color indices and look up tables (lut)
3 - with RGB values
4 - with RGBA values
DIAGNOSTICS
DtTextureGetImageSizeByID() returns one on success and zero on
failure.
FILES
Link with -lDtOMio