vram.h
来自「psp游戏机上的SDK的开发例子」· C头文件 代码 · 共 32 行
H
32 行
#ifndef common_vram_h#define common_vram_h#ifdef __cplusplusextern "C" {#endif/* The following are a few helperfunctions to help manage vram in gu-examples. Do not use for your own code, it's better you manage it in your own way.*//* make a static allocation of vram memory and return pointer relative to vram start */void* getStaticVramBuffer(unsigned int width, unsigned int height, unsigned int psm);/* make a static allocation of vram memory and return absolute pointer */void* getStaticVramTexture(unsigned int width, unsigned int height, unsigned int psm);// the following is not yet implemented/*void beginDynamicVramFrame();void endDynamicVramFrame();void* getDynamicVramBuffer(unsigned int width, unsigned int height, unsigned int psm);void* getDynamicVramTexture(unsigned int width, unsigned int height, unsigned int psm);*/#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?