The fsRenderGetTextureSize function gets the specified texture size.

 

Syntax
int fsRenderGetTextureSize(
    FsContext ctx,
    int image,
    int* w,
    int* h
    )

 

Members
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
imageA handle to the texture to get the size of, as returned by fsRenderCreateTexture.
wA pointer to an int receiving the texture width.
hA pointer to an int receiving the texture height.

 

Return Values

This function will return 1 if it succeeds or 0 if it fails (which can happen when the context is invalid or when the texture ID is invalid).

 

Remarks

N/A