hgeResourceManager::GetTexture
Returns handle to a named texture.
HTEXTURE GetTexture(
const char *name
);
Parameters
- name
- Texture name.
Return value
If successful, returns handle to the texture. Otherwise returns 0.
Remarks
You could use the name defined in the resource script or just a plain file name,
either absolute or relative to the application folder or resource package root.
If the texture hasn't been loaded yet, it will be loaded.
Otherwise handle to the existing texture will be returned.
Requirements
Header: hgeresource.h
Import library: hgehelp.lib
|