libnx  v4.2.0
gpu.h
1 #pragma once
2 #include "types.h"
3 #include "ioctl.h"
4 
5 Result nvGpuInit(void);
6 void nvGpuExit(void);
7 
8 const nvioctl_gpu_characteristics* nvGpuGetCharacteristics(void);
9 u32 nvGpuGetZcullCtxSize(void);
10 const nvioctl_zcull_info* nvGpuGetZcullInfo(void);
11 const u32* nvGpuGetTpcMasks(u32 *num_masks_out);
12 
13 Result nvGpuZbcGetActiveSlotMask(u32 *out_slot, u32 *out_mask);
14 Result nvGpuZbcAddColor(const u32 color_l2[4], const u32 color_ds[4], u32 format);
15 Result nvGpuZbcAddDepth(float depth);
nvioctl_zcull_info
Definition: ioctl.h:47
u32
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21
Result
u32 Result
Function error code result type.
Definition: types.h:44
types.h
nvioctl_gpu_characteristics
Definition: ioctl.h:70