vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
int | sceDisplaySetFrameBuf (const SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync) |
Set/Update framebuffer parameters. More... | |
int | sceDisplayGetFrameBuf (SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync) |
Get current framebuffer parameters. More... | |
int | sceDisplayGetPrimaryHead (void) |
Primary display index. More... | |
int | sceDisplayGetRefreshRate (float *pFps) |
Get current number of fps for the current screen mode. More... | |
int | sceDisplayGetMaximumFrameBufResolution (int *width, int *height) |
Get maximum framebuffer resolution. More... | |
int | sceDisplayGetVcount (void) |
Number of vertical blank pulses up to now. More... | |
int | sceDisplayGetVcountInternal (int display) |
Number of vertical blank pulses up to now for a display. More... | |
int | sceDisplayWaitVblankStart (void) |
Wait for vertical blank start. More... | |
int | sceDisplayWaitVblankStartCB (void) |
Wait for vertical blank start with callback. More... | |
int | sceDisplayWaitVblankStartMulti (unsigned int vcount) |
Wait for vertical blank start after specified number of vertical periods. More... | |
int | sceDisplayWaitVblankStartMultiCB (unsigned int vcount) |
Wait for vertical blank start with callback after specified number of vertical periods. More... | |
int | sceDisplayWaitSetFrameBuf (void) |
Wait for vertical blank start since last update of framebuffer. More... | |
int | sceDisplayWaitSetFrameBufCB (void) |
Wait for vertical blank start with callback since last update of framebuffer. More... | |
int | sceDisplayWaitSetFrameBufMulti (unsigned int vcount) |
Wait for vertical blank start after specified number of vertical periods since last update of framebuffer. More... | |
int | sceDisplayWaitSetFrameBufMultiCB (unsigned int vcount) |
Wait for vertical blank start with callback after specified number of vertical periods since last update of framebuffer. More... | |
int | sceDisplayRegisterVblankStartCallback (SceUID uid) |
Register callback to be used at each vertical blank start. More... | |
int | sceDisplayUnregisterVblankStartCallback (SceUID uid) |
Unregister callback used at each vertical blank start. More... | |
int sceDisplaySetFrameBuf | ( | const SceDisplayFrameBuf * | pParam, |
SceDisplaySetBufSync | sync | ||
) |
Set/Update framebuffer parameters.
[in] | pParam | - Pointer to a SceDisplayFrameBuf structure. |
[in] | sync | - One of SceDisplaySetBufSync |
int sceDisplayGetFrameBuf | ( | SceDisplayFrameBuf * | pParam, |
SceDisplaySetBufSync | sync | ||
) |
Get current framebuffer parameters.
[out] | pParam | - Pointer to a SceDisplayFrameBuf structure which will receive framebuffer parameters. |
[in] | sync | - One of SceDisplaySetBufSync |
int sceDisplayGetPrimaryHead | ( | void | ) |
Primary display index.
int sceDisplayGetRefreshRate | ( | float * | pFps | ) |
Get current number of fps for the current screen mode.
[out] | pFps | - Pointer to a float variable to store current number of fps. |
int sceDisplayGetMaximumFrameBufResolution | ( | int * | width, |
int * | height | ||
) |
Get maximum framebuffer resolution.
[out] | width | - Maximum width |
[out] | height | - Maximum height |
int sceDisplayGetVcount | ( | void | ) |
Number of vertical blank pulses up to now.
int sceDisplayGetVcountInternal | ( | int | display | ) |
Number of vertical blank pulses up to now for a display.
[in] | display | - Display index |
int sceDisplayWaitVblankStart | ( | void | ) |
Wait for vertical blank start.
int sceDisplayWaitVblankStartCB | ( | void | ) |
Wait for vertical blank start with callback.
int sceDisplayWaitVblankStartMulti | ( | unsigned int | vcount | ) |
Wait for vertical blank start after specified number of vertical periods.
[in] | vcount | - Number of vertical periods before waiting for vertical blank start |
int sceDisplayWaitVblankStartMultiCB | ( | unsigned int | vcount | ) |
Wait for vertical blank start with callback after specified number of vertical periods.
[in] | vcount | - Number of vertical periods before waiting for vertical blank start |
int sceDisplayWaitSetFrameBuf | ( | void | ) |
Wait for vertical blank start since last update of framebuffer.
int sceDisplayWaitSetFrameBufCB | ( | void | ) |
Wait for vertical blank start with callback since last update of framebuffer.
int sceDisplayWaitSetFrameBufMulti | ( | unsigned int | vcount | ) |
Wait for vertical blank start after specified number of vertical periods since last update of framebuffer.
[in] | vcount | - Number of vertical periods before waiting for vertical blank start |
int sceDisplayWaitSetFrameBufMultiCB | ( | unsigned int | vcount | ) |
Wait for vertical blank start with callback after specified number of vertical periods since last update of framebuffer.
[in] | vcount | - Number of vertical periods before waiting for vertical blank start |
int sceDisplayRegisterVblankStartCallback | ( | SceUID | uid | ) |
Register callback to be used at each vertical blank start.
[in] | uid | - Callback UID |
int sceDisplayUnregisterVblankStartCallback | ( | SceUID | uid | ) |
Unregister callback used at each vertical blank start.
[in] | uid | - Callback UID |