跳转至

graphics


free_memory_for_mission_creator_photo

void native.graphics.free_memory_for_mission_creator_photo()


load_mission_creator_photo

bool native.graphics.load_mission_creator_photo(ptr int p0, int p1, int p2, int p3)


get_status_of_load_mission_creator_photo

int native.graphics.get_status_of_load_mission_creator_photo(string content_id)

contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)

begin_take_high_quality_photo

bool native.graphics.begin_take_high_quality_photo()


get_status_of_take_high_quality_photo

int native.graphics.get_status_of_take_high_quality_photo()


free_memory_for_high_quality_photo

void native.graphics.free_memory_for_high_quality_photo()


_set_photo_self_stat

void native.graphics._set_photo_self_stat(bool p0)


_set_photo_studio_stat

void native.graphics._set_photo_studio_stat(int p0)


_set_posse_id_for_photo

void native.graphics._set_posse_id_for_photo(int posse_id)


_0x9f6d859c80708b26

void native.graphics._0x9f6d859c80708b26(bool p0, bool p1)


is_photo_frame

bool native.graphics.is_photo_frame()


_set_photo_in_photomode_stat

void native.graphics._set_photo_in_photomode_stat(bool p0)


_set_photo_overlay_effect_stat

void native.graphics._set_photo_overlay_effect_stat(int p0)


_0x0d5b19c34068fee7

void native.graphics._0x0d5b19c34068fee7(int p0)

Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED

_set_player_appear_in_photo

void native.graphics._set_player_appear_in_photo(int player)


_set_region_photo_taken_stat

void native.graphics._set_region_photo_taken_stat(string p0)


_set_district_photo_taken_stat

void native.graphics._set_district_photo_taken_stat(string p0)


_set_state_photo_taken_stat

void native.graphics._set_state_photo_taken_stat(string p0)


save_high_quality_photo

bool native.graphics.save_high_quality_photo(int unused)


get_status_of_save_high_quality_photo

int native.graphics.get_status_of_save_high_quality_photo()

0 = succeeded
1 = getting status
2 = failed

begin_create_low_quality_copy_of_photo

bool native.graphics.begin_create_low_quality_copy_of_photo(int p0)

Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO

get_status_of_create_low_quality_copy_of_photo

int native.graphics.get_status_of_create_low_quality_copy_of_photo(int p0)

Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO

free_memory_for_low_quality_photo

void native.graphics.free_memory_for_low_quality_photo()


draw_low_quality_photo_to_phone

void native.graphics.draw_low_quality_photo_to_phone(bool p0, int photo_rotation)

nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)

_get_max_number_of_local_photos

int native.graphics._get_max_number_of_local_photos()

Always returns 200.

_get_current_number_of_local_photos

int native.graphics._get_current_number_of_local_photos()


queue_operation_to_create_sorted_list_of_photos

int native.graphics.queue_operation_to_create_sorted_list_of_photos()


get_status_of_sorted_list_operation

int native.graphics.get_status_of_sorted_list_operation()

0 = succeeded
1 = getting status
2 = failed

draw_light_with_range

void native.graphics.draw_light_with_range(float pos_x, float pos_y, float pos_z, int color_r, int color_g, int color_b, float range, float intensity)


update_lights_on_entity

void native.graphics.update_lights_on_entity(int entity)


_set_lights_color_for_entity

void native.graphics._set_lights_color_for_entity(int entity, int red, int green, int blue)

https://gfycat.com/meagerfaireyra

_set_lights_intensity_for_entity

void native.graphics._set_lights_intensity_for_entity(int entity, float intensity)


_set_lights_type_for_entity

void native.graphics._set_lights_type_for_entity(int entity, int type)

type must be less than or equal to 20

_draw_marker

void native.graphics._draw_marker(int type, float pos_x, float pos_y, float pos_z, float dir_x, float dir_y, float dir_z, float rot_x, float rot_y, float rot_z, float scale_x, float scale_y, float scale_z, int red, int green, int blue, int alpha, bool bob_up_and_down, bool face_camera, int p19, bool rotate, string texture_dict, string texture_name, bool draw_on_ents)

https://github.com/femga/rdr3_discoveries/blob/master/graphics/markers/marker_types.lua

create_checkpoint_with_namehash

int native.graphics.create_checkpoint_with_namehash(int type_hash, float pos_x1, float pos_y1, float pos_z1, float pos_x2, float pos_y2, float pos_z2, float radius, int red, int green, int blue, int alpha, int reserved)


_does_checkpoint_have_fx

bool native.graphics._does_checkpoint_have_fx(int checkpoint)


set_checkpoint_rgba

void native.graphics.set_checkpoint_rgba(int checkpoint, int red, int green, int blue, int alpha)

Sets the checkpoint color.

set_checkpoint_rgba2

void native.graphics.set_checkpoint_rgba2(int checkpoint, int red, int green, int blue, int alpha)

Sets the checkpoint icon color.

_0xcc3b787e73e64160

void native.graphics._0xcc3b787e73e64160(int p0, int p1, int p2, int p3, int p4)


_0x171c18e994c1a395

void native.graphics._0x171c18e994c1a395(int p0, int p1, int p2, int p3, int p4)


delete_checkpoint

void native.graphics.delete_checkpoint(int checkpoint)


draw_rect

void native.graphics.draw_rect(float x, float y, float width, float height, int red, int green, int blue, int alpha, bool p8, bool p9)

Draws a rectangle on the screen.

-x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen)

-y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen)

-width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width)

-height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height)

-R: Red part of the color. (0-255)

-G: Green part of the color. (0-255)

-B: Blue part of the color. (0-255)

-A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)

set_script_gfx_draw_behind_pausemenu

void native.graphics.set_script_gfx_draw_behind_pausemenu(bool toggle)

Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.

set_script_gfx_draw_order

void native.graphics.set_script_gfx_draw_order(int draw_order)

Sets the draw order for script draw commands.

draw_sprite

void native.graphics.draw_sprite(string texture_dict, string texture_name, float screen_x, float screen_y, float width, float height, float heading, int red, int green, int blue, int alpha, bool p11)

Draws a 2D sprite on the screen.

Parameters:
textureDict - Name of texture dictionary to load texture from

textureName - Name of texture to load from texture dictionary

screenX/Y - Screen offset (0.5 = center)
scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half)

heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees

red,green,blue - Sprite color (default = 255/255/255)

alpha - opacity level

https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures

attach_tv_audio_to_entity

void native.graphics.attach_tv_audio_to_entity(int entity)


set_tv_audio_frontend

void native.graphics.set_tv_audio_frontend(bool toggle)

Probably changes tvs from being a 3d audio to being "global" audio

get_screen_resolution

void native.graphics.get_screen_resolution(ptr int x, ptr int y)

Hardcoded to always set x to 1280 and y to 720.

_0xa04ef43030593abc

void native.graphics._0xa04ef43030593abc(int p0, int p1)


_0xa21af60c9f99ccc5

void native.graphics._0xa21af60c9f99ccc5()


_0xc28f62ac9774fc1b

int native.graphics._0xc28f62ac9774fc1b()


_0xeb48ce48eec41fd4

void native.graphics._0xeb48ce48eec41fd4(int p0)


get_screen_coord_from_world_coord

bool native.graphics.get_screen_coord_from_world_coord(float world_x, float world_y, float world_z, ptr int screen_x, ptr int screen_y)


_is_texture_in_dict

bool native.graphics._is_texture_in_dict(int txd_hash, int dict)


set_artificial_lights_state

void native.graphics.set_artificial_lights_state(bool state)

Does not affect weapons, particles, fire/explosions, flashlights or the sun.
When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off.

state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.

disable_hdtex_this_frame

void native.graphics.disable_hdtex_this_frame()


_0x1a9f09ab458d49c6

void native.graphics._0x1a9f09ab458d49c6(bool p0)

Used in shop scripts for CATALOG_BOOK
false = Normal -> [CATALOG_BOOK_SHUTDOWN]
true = Trees flickering? -> [CATALOG_BOOK_OPEN]

create_tracked_point

int native.graphics.create_tracked_point()

Creates a tracked point, useful for checking the visibility of a 3D point on screen.

set_tracked_point_info

void native.graphics.set_tracked_point_info(int point, float x, float y, float z, float radius)


is_tracked_point_visible

bool native.graphics.is_tracked_point_visible(int point)


_0xdfe332a5da6fe7c9

int native.graphics._0xdfe332a5da6fe7c9(int i_tracked_point)

Returns iNumPixels, iPixelsVisible

destroy_tracked_point

void native.graphics.destroy_tracked_point(int point)


_is_tracked_point_valid

bool native.graphics._is_tracked_point_valid(int point)


set_grass_cull_sphere

int native.graphics.set_grass_cull_sphere(float x, float y, float z, float p3, int p4)

Returns handle to be used with REMOVE_GRASS_CULL_SPHERE

remove_grass_cull_sphere

void native.graphics.remove_grass_cull_sphere(int handle)


_add_veg_modifier_zone

int native.graphics._add_veg_modifier_zone(int volume, int p1, int flags, int p3)

Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
Returns veg modifier handle

add_veg_modifier_sphere

int native.graphics.add_veg_modifier_sphere(float x, float y, float z, float radius, int mod_type, int flags, int p6)

Returns veg modifier handle

remove_veg_modifier_sphere

void native.graphics.remove_veg_modifier_sphere(int veg_modifier_handle, int p1)


_enable_static_veg_modifier

void native.graphics._enable_static_veg_modifier(int p0)


_disable_static_veg_modifier

void native.graphics._disable_static_veg_modifier(int p0)


_is_static_veg_modifier_enabled

bool native.graphics._is_static_veg_modifier_enabled(int p0)


_0xec3f7f24eeeb3ba3

void native.graphics._0xec3f7f24eeeb3ba3()


_0x9f158a49b0d84c3c

void native.graphics._0x9f158a49b0d84c3c(int p0)


_0x910e260aead855de

void native.graphics._0x910e260aead855de()


_create_swatch_texture_dict

bool native.graphics._create_swatch_texture_dict(int slots)


_destroy_swatch_texture_dict

void native.graphics._destroy_swatch_texture_dict()


_generate_swatch_texture_directly

void native.graphics._generate_swatch_texture_directly(int slot, int p1)

Example: https://pastebin.com/tTgpER9A

_generate_swatch_texture

void native.graphics._generate_swatch_texture(int slot_id, int component_hash, int metaped_type, bool p3)

Example:
local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
_GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
metapedType: see 0xEC9A1261BF0CE510

cascade_shadows_set_cascade_bounds

void native.graphics.cascade_shadows_set_cascade_bounds(int p0, bool p1, float p2, float p3, float p4, float p5, bool p6, float p7)


cascade_shadows_enable_entity_tracker

void native.graphics.cascade_shadows_enable_entity_tracker(bool toggle)

When this is set to ON, shadows only draw as you get nearer.

When OFF, they draw from a further distance.

cascade_shadows_set_shadow_sample_type

void native.graphics.cascade_shadows_set_shadow_sample_type(string type)

Possible values:
"CSM_ST_POINT"
"CSM_ST_LINEAR"
"CSM_ST_BOX3x3"
"CSM_ST_BOX4x4"
"CSM_ST_DITHER2_LINEAR"
"CSM_ST_CUBIC"
"CSM_ST_POISSON16"
"CSM_ST_SOFT8"
"CSM_ST_SOFT16"
"CSM_ST_SOFT32"
"CSM_ST_DITHER16_RPDB"
"CSM_ST_POISSON16_RPDB_GNORM"
"CSM_ST_HIGHRES_BOX4x4"
"CSM_ST_ESM"

cascade_shadows_clear_shadow_sample_type

void native.graphics.cascade_shadows_clear_shadow_sample_type()


_0x503941f65dba24ec

void native.graphics._0x503941f65dba24ec(int p0)


_0x815653a42c5abe76

void native.graphics._0x815653a42c5abe76()


_0xff8018c778349234

void native.graphics._0xff8018c778349234(int p0)


reset_adaptation

void native.graphics.reset_adaptation(int unk)

Sets an unknown value related to timecycles.

toggle_paused_renderphases

void native.graphics.toggle_paused_renderphases(bool toggle)


get_toggle_paused_renderphases_status

bool native.graphics.get_toggle_paused_renderphases_status()


reset_paused_renderphases

void native.graphics.reset_paused_renderphases()


set_hidof_override

void native.graphics.set_hidof_override(bool p0, bool p1, float p2, float p3, float p4, float p5)

Old name: _SET_HIDOF_ENV_BLUR_PARAMS

_0x21f00e08cbb5f37b

void native.graphics._0x21f00e08cbb5f37b(string component)

Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
Triggers the binocular scaleform

_0x5ac6e0fa028369de

void native.graphics._0x5ac6e0fa028369de()

Closes the the binocular scaleform

_0xec3d8c228fe553d7

bool native.graphics._0xec3d8c228fe553d7(bool p0)


_0xf5793bb386e1ff9c

void native.graphics._0xf5793bb386e1ff9c(int p0)


_0x5cd6a2cce5087161

void native.graphics._0x5cd6a2cce5087161(int p0)


_0xc8d0611d9a0cf5d3

void native.graphics._0xc8d0611d9a0cf5d3(int p0)


_get_photo_mode_exposure

float native.graphics._get_photo_mode_exposure()


_0x62b9f9a1272aed80

void native.graphics._0x62b9f9a1272aed80(int p0)


_get_photo_mode_contrast

float native.graphics._get_photo_mode_contrast()


_0x9229ed770975bd9e

void native.graphics._0x9229ed770975bd9e()


start_particle_fx_non_looped_at_coord

bool native.graphics.start_particle_fx_non_looped_at_coord(string effect_name, float x_pos, float y_pos, float z_pos, float x_rot, float y_rot, float z_rot, float scale, bool x_axis, bool y_axis, bool z_axis)

https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_non_looped.lua

start_networked_particle_fx_non_looped_at_coord

bool native.graphics.start_networked_particle_fx_non_looped_at_coord(string effect_name, float x_pos, float y_pos, float z_pos, float x_rot, float y_rot, float z_rot, float scale, bool x_axis, bool y_axis, bool z_axis)


start_particle_fx_non_looped_on_ped_bone

bool native.graphics.start_particle_fx_non_looped_on_ped_bone(string effect_name, int ped, float offset_x, float offset_y, float offset_z, float rot_x, float rot_y, float rot_z, int bone_index, float scale, bool axis_x, bool axis_y, bool axis_z)


start_particle_fx_non_looped_on_entity

bool native.graphics.start_particle_fx_non_looped_on_entity(string effect_name, int entity, float offset_x, float offset_y, float offset_z, float rot_x, float rot_y, float rot_z, float scale, bool axis_x, bool axis_y, bool axis_z)


start_networked_particle_fx_non_looped_on_entity

bool native.graphics.start_networked_particle_fx_non_looped_on_entity(string effect_name, int entity, float offset_x, float offset_y, float offset_z, float rot_x, float rot_y, float rot_z, float scale, bool axis_x, bool axis_y, bool axis_z)


_start_particle_fx_non_looped_on_ped_bone_2

bool native.graphics._start_particle_fx_non_looped_on_ped_bone_2(string effect_name, int ped, float offset_x, float offset_y, float offset_z, float rot_x, float rot_y, float rot_z, int bone_index, float scale, bool axis_x, bool axis_y, bool axis_z)


set_particle_fx_non_looped_colour

void native.graphics.set_particle_fx_non_looped_colour(float r, float g, float b)


set_particle_fx_non_looped_alpha

void native.graphics.set_particle_fx_non_looped_alpha(float alpha)


_set_particle_fx_non_looped_emitter_scale

void native.graphics._set_particle_fx_non_looped_emitter_scale(float p0, float p1, float p2)


start_particle_fx_looped_at_coord

int native.graphics.start_particle_fx_looped_at_coord(string effect_name, float x, float y, float z, float x_rot, float y_rot, float z_rot, float scale, bool x_axis, bool y_axis, bool z_axis, bool p11)

https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua

start_particle_fx_looped_on_ped_bone

int native.graphics.start_particle_fx_looped_on_ped_bone(string effect_name, int ped, float x_offset, float y_offset, float z_offset, float x_rot, float y_rot, float z_rot, int bone_index, float scale, bool x_axis, bool y_axis, bool z_axis)


start_particle_fx_looped_on_entity

int native.graphics.start_particle_fx_looped_on_entity(string effect_name, int entity, float x_offset, float y_offset, float z_offset, float x_rot, float y_rot, float z_rot, float scale, bool x_axis, bool y_axis, bool z_axis)


start_particle_fx_looped_on_entity_bone

int native.graphics.start_particle_fx_looped_on_entity_bone(string effect_name, int entity, float x_offset, float y_offset, float z_offset, float x_rot, float y_rot, float z_rot, int bone_index, float scale, bool x_axis, bool y_axis, bool z_axis)


start_networked_particle_fx_looped_on_entity

int native.graphics.start_networked_particle_fx_looped_on_entity(string effect_name, int entity, float x_offset, float y_offset, float z_offset, float x_rot, float y_rot, float z_rot, float scale, bool x_axis, bool y_axis, bool z_axis)


start_networked_particle_fx_looped_on_entity_bone

int native.graphics.start_networked_particle_fx_looped_on_entity_bone(string effect_name, int entity, float x_offset, float y_offset, float z_offset, float x_rot, float y_rot, float z_rot, int bone_index, float scale, bool x_axis, bool y_axis, bool z_axis)


stop_particle_fx_looped

void native.graphics.stop_particle_fx_looped(int ptfx_handle, bool p1)


does_particle_fx_looped_exist

bool native.graphics.does_particle_fx_looped_exist(int ptfx_handle)


set_particle_fx_looped_offsets

void native.graphics.set_particle_fx_looped_offsets(int ptfx_handle, float x, float y, float z, float rot_x, float rot_y, float rot_z)


set_particle_fx_looped_evolution

void native.graphics.set_particle_fx_looped_evolution(int ptfx_handle, string property_name, float amount, bool no_network)


set_particle_fx_looped_colour

void native.graphics.set_particle_fx_looped_colour(int ptfx_handle, float r, float g, float b, bool p4)


set_particle_fx_looped_alpha

void native.graphics.set_particle_fx_looped_alpha(int ptfx_handle, float alpha)


set_particle_fx_looped_scale

void native.graphics.set_particle_fx_looped_scale(int ptfx_handle, float scale)


set_particle_fx_looped_far_clip_dist

void native.graphics.set_particle_fx_looped_far_clip_dist(int ptfx_handle, float range)


_set_particle_fx_looped_update_distant_smoke

void native.graphics._set_particle_fx_looped_update_distant_smoke(int ptfx_handle, float scalar)

_SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*

remove_particle_fx

void native.graphics.remove_particle_fx(int ptfx_handle, bool p1)


remove_particle_fx_from_entity

void native.graphics.remove_particle_fx_from_entity(int entity)


remove_particle_fx_in_range

void native.graphics.remove_particle_fx_in_range(float x, float y, float z, float radius)


use_particle_fx_asset

void native.graphics.use_particle_fx_asset(string fx_name)

fxName: see data_0/data/effects/ptfx/fxlists/

set_particle_fx_override

void native.graphics.set_particle_fx_override(string old_asset, string new_asset)


reset_particle_fx_override

void native.graphics.reset_particle_fx_override(string name)

Resets the effect of SET_PARTICLE_FX_OVERRIDE

_0x4fb67d172c4476f3

void native.graphics._0x4fb67d172c4476f3(int entity, string p1, string p2, float p3)

p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
p2: EMIT
p3: either 0.0f or 1.0f

set_particle_fx_ambient_colour

void native.graphics.set_particle_fx_ambient_colour(int entity, string p1, float r, float g, float b)

Related to Campfires.
p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP

_0xd1472aff30c103d6

void native.graphics._0xd1472aff30c103d6(float p0)

Only used in R* Script nb_stalking_hunter

set_particle_fx_bullet_impact_scale

void native.graphics.set_particle_fx_bullet_impact_scale(float scale)


set_particle_fx_bullet_impact_lodrange_scale

void native.graphics.set_particle_fx_bullet_impact_lodrange_scale(float p0)


_set_sniper_glints_enabled

void native.graphics._set_sniper_glints_enabled(bool enabled)


set_particle_fx_foot_lodrange_scale

void native.graphics.set_particle_fx_foot_lodrange_scale(float p0)


_0x4046493d2eeaca0e

void native.graphics._0x4046493d2eeaca0e()

_DISABLE_*

set_pickup_light

void native.graphics.set_pickup_light(int object, bool toggle)

https://imgur.com/a/I2swSDJ

Old name: _SET_PICKUP_OBJECT_GLOW_ENABLED

_block_pickup_object_light

void native.graphics._block_pickup_object_light(int pickup_object, bool toggle)


block_pickup_placement_light

void native.graphics.block_pickup_placement_light(int pickup, bool toggle)


allow_pickup_light_sync

void native.graphics.allow_pickup_light_sync(int pickup_object, bool allow)


_set_pearlescent_fx_enabled

void native.graphics._set_pearlescent_fx_enabled(int object, bool toggle)

Enables/disables a kind of 'shiny' effect on metals.

remove_decals_in_range

void native.graphics.remove_decals_in_range(float x, float y, float z, float range)

Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...

remove_decals_from_object

void native.graphics.remove_decals_from_object(int obj)


add_decal

int native.graphics.add_decal(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11, int p12, int p13, int p14, int p15, int p16, int p17, int p18, int p19, int p20, int p21)


_add_blood_pool

void native.graphics._add_blood_pool(float x, float y, float z, bool unused)

https://i.imgur.com/ULQU9US.jpg
More rounded and small puddle

_add_blood_pool_2

void native.graphics._add_blood_pool_2(float x, float y, float z, float p3, float size, float p5, bool permanent, float p7, bool p8)

https://i.imgur.com/rPITUCV.jpg
More customizable and more like quadrants

_add_blood_pools_for_ped

void native.graphics._add_blood_pools_for_ped(int ped)

Creates blood pools for the given ped in some interval for a few seconds.

_add_blood_pools_for_ped_with_params

void native.graphics._add_blood_pools_for_ped_with_params(int ped, float p1, float size, float p3)


start_petrol_trail_decals

void native.graphics.start_petrol_trail_decals(int p0, int p1)


add_petrol_trail_decal_info

void native.graphics.add_petrol_trail_decal_info(float x, float y, float z, float p3)


end_petrol_trail_decals

void native.graphics.end_petrol_trail_decals()


_0xe63d68f455ca0b47

int native.graphics._0xe63d68f455ca0b47(int p0, int p1, int p2, int p3, int p4, int p5, int p6)


remove_decal

void native.graphics.remove_decal(int decal)


is_decal_alive

bool native.graphics.is_decal_alive(int decal)


set_disable_petrol_decals_igniting_this_frame

void native.graphics.set_disable_petrol_decals_igniting_this_frame()


_0xb032c085d9a03907

void native.graphics._0xb032c085d9a03907()

_SET_D* or _SET_E*

_0xfb680a9b33d0edbe

void native.graphics._0xfb680a9b33d0edbe(bool p0)

_DISABLE_*

_0x41f88a85a579a61d

void native.graphics._0x41f88a85a579a61d(float p0)

Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE

_blood_trail_for_waypoint

void native.graphics._blood_trail_for_waypoint(string waypoint_recording, float p1)

p1: 0.3f in R* Scripts

_add_blood_trail_point

void native.graphics._add_blood_trail_point(float x, float y, float z)


_0x812c1563185c6fb2

void native.graphics._0x812c1563185c6fb2()

Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
_ENABLE_*

_0x4bd66b4e3427689b

void native.graphics._0x4bd66b4e3427689b(string p0)

Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE

_add_blood_trail_splat

void native.graphics._add_blood_trail_splat(float x, float y, float z)


_0xf2f543d48f319a3a

void native.graphics._0xf2f543d48f319a3a()


_0x1460b644397453eb

void native.graphics._0x1460b644397453eb()

_RESET_*

_disable_far_artificial_lights

void native.graphics._disable_far_artificial_lights(bool disable)

Only used in guama1 R* Script
Disables lod/distant lights when BOOL is set to true

_0x453d16d41fc51d3e

void native.graphics._0x453d16d41fc51d3e(bool p0)


_0xc06f2f45a73eabcd

void native.graphics._0xc06f2f45a73eabcd(int entity)

Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY

set_timecycle_modifier

void native.graphics.set_timecycle_modifier(string modifier_name)

https://github.com/femga/rdr3_discoveries/blob/master/graphics/timecycles

set_timecycle_modifier_strength

void native.graphics.set_timecycle_modifier_strength(float strength)


set_transition_timecycle_modifier

void native.graphics.set_transition_timecycle_modifier(string modifier_name, float transition_blend)


set_transition_out_of_timecycle_modifier

void native.graphics.set_transition_out_of_timecycle_modifier(float strength)


clear_timecycle_modifier

void native.graphics.clear_timecycle_modifier()


get_timecycle_modifier_index

int native.graphics.get_timecycle_modifier_index()


get_timecycle_transition_modifier_index

int native.graphics.get_timecycle_transition_modifier_index()


_0x67b0778c62e74423

void native.graphics._0x67b0778c62e74423(int p0)


_0x6c03118e9e5c1a14

void native.graphics._0x6c03118e9e5c1a14(int p0)


_get_modified_visibility_distance

float native.graphics._get_modified_visibility_distance()

_GET_C* - _GET_E*

enable_moon_cycle_override

void native.graphics.enable_moon_cycle_override(float strength)

Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH

set_tv_channel

void native.graphics.set_tv_channel(int channel)


get_tv_channel

int native.graphics.get_tv_channel()


set_tv_volume

void native.graphics.set_tv_volume(float volume)


draw_tv_channel

void native.graphics.draw_tv_channel(float x_pos, float y_pos, float x_scale, float y_scale, float rotation, int red, int green, int blue, int alpha)


set_tv_channel_playlist

void native.graphics.set_tv_channel_playlist(int tv_channel, string playlist_name, bool restart)


is_tvshow_currently_playing

bool native.graphics.is_tvshow_currently_playing(int video_cliphash)

Old name: _IS_TV_PLAYLIST_ITEM_PLAYING

_0x5c674eb487891f6b

int native.graphics._0x5c674eb487891f6b()


enable_movie_subtitles

void native.graphics.enable_movie_subtitles(bool toggle)

nullsub, doesn't do anything

_0x32de2bffda43e62a

void native.graphics._0x32de2bffda43e62a()


_0xd543487a1f12828f

void native.graphics._0xd543487a1f12828f(int p0, int p1, int p2, int p3)


_0xd9bc98b55bcfaa9b

void native.graphics._0xd9bc98b55bcfaa9b(int p0)


_0x48fe0db54045b975

void native.graphics._0x48fe0db54045b975(int p0, int p1, int p2, int p3, int p4, int p5, int p6)


_0x735762e8d7573e42

void native.graphics._0x735762e8d7573e42(int p0, int p1, int p2)


_0x981c7d863980fa51

void native.graphics._0x981c7d863980fa51()


_animpostfx_preload_postfx

void native.graphics._animpostfx_preload_postfx(string effect_name)


_animpostfx_has_loaded

bool native.graphics._animpostfx_has_loaded(string effect_name)


_animpostfx_set_to_unload

void native.graphics._animpostfx_set_to_unload(string effect_name)


animpostfx_play

void native.graphics.animpostfx_play(string effect_name)

https://github.com/femga/rdr3_discoveries/blob/master/graphics/animpostfx

_animpostfx_play_timed

void native.graphics._animpostfx_play_timed(string effect_name, int duration)


animpostfx_stop

void native.graphics.animpostfx_stop(string effect_name)


_0x26dd2fb0a88cc412

void native.graphics._0x26dd2fb0a88cc412(string effect_name, string effect_name2, int p2, int p3)

effectName2, p2 and p3 are unused

ANIMPOSTFX_*

_animpostfx_clear_effect

void native.graphics._animpostfx_clear_effect(string effect_name)


animpostfx_is_running

bool native.graphics.animpostfx_is_running(string effect_name)


_animpostfx_is_tag_playing

bool native.graphics._animpostfx_is_tag_playing(string effect_name)


animpostfx_stop_all

void native.graphics.animpostfx_stop_all()


_animpostfx_stop_tag

void native.graphics._animpostfx_stop_tag(string effect_name)


_animpostfx_set_strength

void native.graphics._animpostfx_set_strength(string effect_name, float strength)

must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f

_animpostfx_set_potency

void native.graphics._animpostfx_set_potency(string effect_name, int p1, float potency)

Health Core Effect Filter Potency: p1 = 1
Stamina Core Effect Filter Potency: p1 = 2
Multiple Core Effect Filter Potency: p1 = 3

_animpostfx_set_postfx_color

void native.graphics._animpostfx_set_postfx_color(string effect_name, int p1, int red, int green, int blue, int alpha)


_0xb958d97a0dfaa0c2

bool native.graphics._0xb958d97a0dfaa0c2(string effect_name)

ANIMPOSTFX_*

_0xa201a3d0ac087c37

void native.graphics._0xa201a3d0ac087c37(string effect_name)

ANIMPOSTFX_*

_0xfbf161fcfec8589e

bool native.graphics._0xfbf161fcfec8589e(string effect_name, int p1, bool p2, ptr int p3)

ANIMPOSTFX_*

_animpostfx_get_stackhash

int native.graphics._animpostfx_get_stackhash(string effect_name)

Known effects: MP_Trans_SceneToPhoto
MP_Trans_WinLose
SpectateFilter
MP_CharacterCreatorPhoto
MP_Trans_PhotoToScene
InterrogationHit

_animpostfx_preload_postfx_by_stackhash

void native.graphics._animpostfx_preload_postfx_by_stackhash(int effect_name_hash)


animpostfx_is_preloading_by_stackhash

bool native.graphics.animpostfx_is_preloading_by_stackhash(int effect_name_hash)


_0x38d9d50f2085e9b3

void native.graphics._0x38d9d50f2085e9b3(int effect_name_hash)

ANIMPOSTFX_*

_animpostfx_play_tag

void native.graphics._animpostfx_play_tag(int effect_name_hash)


_0xc76fc4c2fc5f4405

void native.graphics._0xc76fc4c2fc5f4405(int effect_name_hash)

ANIMPOSTFX_*

_animpostfx_stop_stackhash_postfx

void native.graphics._animpostfx_stop_stackhash_postfx(int effect_name_hash)


_animpostfx_is_stackhash_playing

bool native.graphics._animpostfx_is_stackhash_playing(int effect_name_hash)


_0xe75cddebf618c8ff

bool native.graphics._0xe75cddebf618c8ff(int effect_name_hash)

ANIMPOSTFX_*

_0x71845905bccde781

void native.graphics._0x71845905bccde781(int effect_name_hash)

ANIMPOSTFX_*

animpostfx_has_event_triggered_by_stackhash

bool native.graphics.animpostfx_has_event_triggered_by_stackhash(int effect_name_hash, int p1, bool p2, ptr int p3)


_0xff584f097c17fa8f

bool native.graphics._0xff584f097c17fa8f()

Returns whether the 'killFX' setting is enabled.

ANIMPOSTFX_*

_0x3da7a10583a4bec0

bool native.graphics._0x3da7a10583a4bec0()

ANIMPOSTFX_*

_0xc37792a3f9c90771

int native.graphics._0xc37792a3f9c90771()

Doesn't actually return anything.

ANIMPOSTFX_*

_0xa0f4d12d6042f6d5

void native.graphics._0xa0f4d12d6042f6d5(int p0, int p1)


_0x8996fa6ad9fe4e90

void native.graphics._0x8996fa6ad9fe4e90(int p0)


_set_entity_render_guarma_ship

void native.graphics._set_entity_render_guarma_ship(int vehicle, bool toggle)

Only used in guama1 R* SP Script while spawning the ship
_SET_ENTITY_QUATERNION_* - SET_ENTITY_RENDER_*

pedshot_is_available

bool native.graphics.pedshot_is_available()


_0xfd05b1dde83749fa

bool native.graphics._0xfd05b1dde83749fa(string p0)

R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01

_pedshot_finish_cleanup_data

void native.graphics._pedshot_finish_cleanup_data()


_pedshot_previous_persona_photo_data_cleanup

void native.graphics._pedshot_previous_persona_photo_data_cleanup()


_pedshot_init_cleanup_data

void native.graphics._pedshot_init_cleanup_data()


_pedshot_generate_persona_photo

bool native.graphics._pedshot_generate_persona_photo(string texture, int ped, int player_slot)


_pedshot_set_persona_photo_type

void native.graphics._pedshot_set_persona_photo_type(int persona_photo_local_cache_type)


_0xa1a86055792fb249

void native.graphics._0xa1a86055792fb249(int persona_photo_local_cache_type)


_0x402e1a61d2587fcd

bool native.graphics._0x402e1a61d2587fcd(int p0, float x, float y, float z, float p4, float p5, float heading)

Only used in R* SP Script spd_agnesdown1

_0x5c9c3a466b3296a8

int native.graphics._0x5c9c3a466b3296a8(int p0)

Only used in R* SP Script spd_agnesdown1

_0xa15ccab8ad038291

int native.graphics._0xa15ccab8ad038291(int p0, int p1, int p2, int p3)


_0x285438c26c732f9d

int native.graphics._0x285438c26c732f9d()


_set_proxy_interior_index_artificial_lights_state

void native.graphics._set_proxy_interior_index_artificial_lights_state(int proxy_interior_index, bool state)

state: false disables artificial interior light sources for specific proxyInteriorIndex

_is_proxy_interior_index_artificial_lights_enabled

bool native.graphics._is_proxy_interior_index_artificial_lights_enabled(int proxy_interior_index)


_get_proxy_interior_index

int native.graphics._get_proxy_interior_index(int interior_id)

Returns proxyInteriorIndex

_0x9d1b0b5066205692

void native.graphics._0x9d1b0b5066205692()


_0xc489fe31ac726512

void native.graphics._0xc489fe31ac726512(int p0, int p1)


_set_cloud_layer

void native.graphics._set_cloud_layer(float x, float y, int p2)


_set_cloud_noise

void native.graphics._set_cloud_noise(float x, float y, float z)


_set_cloud_position

void native.graphics._set_cloud_position(float x, float y, float z)

Only used in finale2, smuggler2, winter4
_SET_CLOUD_A* - _SET_CLOUD_H*

_set_cloud_height

void native.graphics._set_cloud_height(float height)


_0x085c5b61a0114f32

void native.graphics._0x085c5b61a0114f32(int p0, int p1)


_0x1ff8731be1dfc0c0

void native.graphics._0x1ff8731be1dfc0c0(int p0, int p1)


_0xfc9b53c072f418e0

int native.graphics._0xfc9b53c072f418e0()


_0x94b261f1f35293e1

void native.graphics._0x94b261f1f35293e1(int p0)

nullsub, doesn't do anything

enable_entitymask

void native.graphics.enable_entitymask()


disable_entitymask

void native.graphics.disable_entitymask()


_add_entity_to_entity_mask

void native.graphics._add_entity_to_entity_mask(int entity, int mask)


_add_entity_to_entity_mask_with_intensity

void native.graphics._add_entity_to_entity_mask_with_intensity(int entity, int mask, float intensity)


_remove_entity_from_entity_mask

void native.graphics._remove_entity_from_entity_mask(int entity)


_get_entity_mask_layers

bool native.graphics._get_entity_mask_layers(int entity, ptr int layer0, ptr int layer1, ptr int layer2, ptr int layer3)


_set_entity_mask_layers

void native.graphics._set_entity_mask_layers(int entity, ptr int layer0, ptr int layer1, ptr int layer2, ptr int layer3)


_set_entity_aura

void native.graphics._set_entity_aura(float p0, float p1, float p2)

Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
Params: 0f, 2f, 2f

_reset_entity_aura

void native.graphics._reset_entity_aura()

Used for script function RPG_GLOBAL_STATS__PRIVATE__DEACTIVATE_STAT_FLAG - Inspiration Aura unequip

_set_snow_coverage_type

void native.graphics._set_snow_coverage_type(int type)

enum class eSnowCoverageType
{
    Primary,
    Secondary,
    Xmas,
    XmasSecondary // since b1232
};

_0x519928df02eb5101

void native.graphics._0x519928df02eb5101(int p0)


_0x1c6306e5bc25c29c

void native.graphics._0x1c6306e5bc25c29c()