njGetTextureNumG | Japanese |
---|---|
<-|INDEX|-> | |
Obtains the global index number of the current texture. |
#include <Ninja.h> Uint32 njGetTextureNumG(void);
Uint32 globalIndex; /* Get the global index number for the current texture previously set */ globalIndex = njGetTextureNumG(); /* Set the global index #0 to the current texture. */ njSetTextureNumG(0); : Drawing textures... : /* Put the current texture back */ njSetTextureNumG(globalIndex);
njGetTextureNumG | <-|INDEX|-> |
---|