The Lab
GRAPHICS native

_GENERATE_SWATCH_TEXTURE_DIRECTLY

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Generates a swatch texture directly in slot.

Signature

C
void _GENERATE_SWATCH_TEXTURE_DIRECTLY(int slot, Any p1); // 0x646ED1A1D28487DF b1207

Parameters

#NameType
1slotint
2p1Any

Facts

Facts about _GENERATE_SWATCH_TEXTURE_DIRECTLY
Name
_GENERATE_SWATCH_TEXTURE_DIRECTLY
Hash
0x646ED1A1D28487DF
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x646ED1A1D28487DF, -- _GENERATE_SWATCH_TEXTURE_DIRECTLY
  0, -- int slot
  0 -- Any p1
)
JavaScript
Citizen.invokeNative("0x646ED1A1D28487DF", // _GENERATE_SWATCH_TEXTURE_DIRECTLY
  0, // int slot
  0 // Any p1
);
C#
Function.Call((Hash)0x646ED1A1D28487DF, // _GENERATE_SWATCH_TEXTURE_DIRECTLY
  0, // int slot
  0 // Any p1
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.