Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

indexed_renderer.h

Go to the documentation of this file.
00001 /*        Copyright (C) 2000,2001,2002  Sony Computer Entertainment America
00002           
00003           This file is subject to the terms and conditions of the GNU Lesser
00004           General Public License Version 2.1. See the file "COPYING" in the
00005           main directory of this archive for more details.                             */
00006 
00007 #ifndef ps2gl_indexed_renderer_h
00008 #define ps2gl_indexed_renderer_h
00009 
00010 #include "ps2gl/base_renderer.h"
00011 
00012 class CIndexedRenderer : public CBaseRenderer {
00013    protected:
00014       cpu_vec_4         ConstantVertColor;
00015 
00016    public:
00017       CIndexedRenderer( void *packet, CRendererProps caps, CRendererProps reqs,
00018                         int inQuadsPerVert, int outQuadsPerVert,
00019                         const char *name);
00020 
00021       virtual void InitContext( GLenum primType, tU32 rcChanges, bool userRcChanged );
00022       virtual void DrawIndexedArrays( CGeometryBlock &block );
00023       virtual int GetPacketQwordSize( const CGeometryBlock &geometry );
00024       virtual CRendererProps GetRenderContextDeps();
00025       virtual bool GetCachePackets( const CGeometryBlock &geometry );
00026 };
00027 
00028 #endif // ps2gl_indexed_renderer_h

ps2gl version cvs