⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scene.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/*****************************************************************************
 Name			: scene.h
 
 Title			: scene handling header
* Author(s)		: Imagination Technologies
* Created		: 2 March 2004
*
* Copyright		: 2004 by Imagination Technologies Limited.
*				  All rights reserved.  No part of this software, either
*				  material or conceptual may be copied or distributed,
*				  transmitted, transcribed, stored in a retrieval system
*				  or translated into any human or computer language in any
*				  form by any means, electronic, mechanical, manual or
*				  other-wise, or disclosed to third parties without the
*				  express written permission of Imagination Technologies
*				  Limited, Unit 8, HomePark Industrial Estate,
*				  King's Langley, Hertfordshire, WD4 8LZ, U.K.
*	
* Description	: scene handling header
*
* Platform		: Windows CE
*
</module>

 $Log: scene.h $
*****************************************************************************/
#if !defined(_SCENE_H_)
#define _SCENE_H_

void D3DMQueueRender(LPD3DM_CONTEXT	psContext,
					 DWORD			dwNum3DRegs,
					 PVRSRV_HWREG	*ps3DRegs);
void TAStart(LPD3DM_CONTEXT psContext);
void DoBeginScene(LPD3DM_CONTEXT psContext);
void DoMidScene(LPD3DM_CONTEXT psContext);
void DoEndScene(LPD3DM_CONTEXT psContext);
void ResubmitHWState(LPD3DM_CONTEXT psContext);
void SetViewPort(LPD3DM_CONTEXT psContext, LPD3DMRECT psRect);
void SendBackgroundObject(LPD3DM_CONTEXT psContext);
void SetupBGO(PVRSRV_BGOBJ_INFO	*psBGObjInfo, LPD3DM_SURFACE psRenderTarget);
void SetRenderTarget(LPD3DM_CONTEXT psContext, 
					 LPD3DM_SURFACE psNewRenderTarget,
					 LPD3DM_SURFACE psNewDepthBuffer,
					 IMG_BOOL		bDisallowEndScene);
IMG_VOID FlushGeometryOnSurface(LPD3DM_SURFACE psTarget);
IMG_VOID SortOutFogColour(LPD3DM_CONTEXT psContext);

#define SCENE_IS_INVALID(x)	 ((x)->sDescription.sSurface.psTARenderInfo->psSharedData->bSceneInvalidated)
#define IS_RENDER_TARGET(x)	 ((x)->dwUsage & D3DMUSAGE_RENDERTARGET)
#define SCENE_HAS_STARTED(x) ((x)->psCurrentRenderTarget->dwFlags & D3DM_SURFACE_FLAGS_SCENE_STARTED)

#endif /* #if !defined(_SCENE_H_) */
/*****************************************************************************
 End of file (scene.h)
*****************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -