# GRAPHICS::_SET_PHOTO_MODE_AO_ENHANCED

- **Hash:** `0xF5793BB386E1FF9C`
- **Namespace:** GRAPHICS
- **Runtime name (Lua/JS):** `SetPhotoModeAoEnhanced`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GRAPHICS/_SET_PHOTO_MODE_AO_ENHANCED

## Signature

```c
void _SET_PHOTO_MODE_AO_ENHANCED(BOOL bEnabled);
```

## Parameters

- `bEnabled` (`BOOL`)

## Returns

`void`

## Description

Toggles an enhanced/high-quality ambient occlusion mode used in Photo Mode.
Called with 1 when photo mode's manual exposure/contrast adjustments become active (after the PauseMenuIn post-fx transition finishes), and called with 0 when photo mode is closed/torn down.
Stores the value into a global bool that appears to gate a higher quality AO pass while composing photos.

Parameters:
- bEnabled: true to enable the enhanced AO pass, false to disable it.

## Usage

### Lua

```lua
SetPhotoModeAoEnhanced(bEnabled)

-- always available, by hash
Citizen.InvokeNative(0xF5793BB386E1FF9C, bEnabled)
```

### JavaScript

```js
SetPhotoModeAoEnhanced(bEnabled);

// by hash
Citizen.invokeNative('0xF5793BB386E1FF9C', bEnabled);
```

### C#

```csharp
Function.Call((Hash)0xF5793BB386E1FF9C, bEnabled);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
