-
Notifications
You must be signed in to change notification settings - Fork 3
rjGetSystemAttr
Shaddatic edited this page Apr 22, 2026
·
1 revision
void rjGetSystemAttr( NJS_SYS_ATTR* attr )void (*GetSystemAttr)( NJS_SYS_ATTR* attr )void njGetSystemAttr( NJS_SYS_ATTR* attr )
NJS_SYS_ATTR* attr
Opaque Ninja context structure
No return value.
Get the current Ninja context structure, as an opaque buffer. This can be used to quickly restore the context state, or store the current state for use later.
This example will first store the Ninja context, allowing changes to be made to the Ninja context temporally, before restoring it.
NJS_SYS_ATTR attr;
// get context
rjGetSystemAttr( &attr ); // <<<<<<<<
// change context parameters
// set context, undoing all changes
rjSetSystemAttr( &attr );- rjSetCurrentContext() Set Ninja context slot
- rjSetSystemAttr() Set Ninja context struct
-
1.5.0.0:
- Introduced to the 'Ninja' API module
- rjSetCurrentContext()
- rjGetSystemAttr()
- rjSetSystemAttr()
- rjSetBackColor()
- rjSetBackTexture()
- rjSpecularMode()
- rjPolygonCullingMode()
- rjZBufferMode()
- rjZWriteMode()
- rjTextureShadingMode()
- rjSuperSampleMode()
- rjMipmapAdjust()
- rjIgnoreTextureAlphaMode()
- rjTextureFilterMode()
- rjTextureClampMode()
- rjTextureFlipMode()
- rjColorClampMode()
- rjColorBlendingMode()
- rjModifierMode()
- rjSetCheapShadowMode()
- rjSetDepthQueue()
- rjSetEnvelopeWeightValue()
- rjSetTexture()
- rjSetTextureNum()
- rjSetTextureNumG()
- rjGetCurrentTexlist()
- rjDrawPolygon()
- rjDrawTexture()
- rjDrawTextureH()
- rjDrawTextureEx()
- rjDrawTextureHEx()
- rjDrawPolygon3DEx()
- rjDrawTexture3DEx()
- rjDrawTexture3DHEx()
- rjDrawLineStrip()
- rjDrawLineList()
- rjDrawLineStrip3D()
- rjDrawLineList3D()
- rjDrawSprite2D()
- rjDrawSprite3D()
- rjDrawPolygon2D()
- rjDrawQuadTexture()
- rjDrawQuadTextureEx()