fsRenderGetTextureSize
The fsRenderGetTextureSize function gets the specified texture size.
Syntax
int fsRenderGetTextureSize(
FsContext ctx,
int image,
int* w,
int* h
)
Members
Parameters | Description |
---|---|
ctx |
A value of type FsContext provided as an argument of the gauge callback. |
image |
A handle to the texture to get the size of, as returned by fsRenderCreateTexture . |
w |
A pointer to an int receiving the texture width. |
h |
A 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
See Also