OpenBarnyard
 
Loading...
Searching...
No Matches
TVertexFactoryResourceInterface.h
Go to the documentation of this file.
1#pragma once
2#include "TResource.h"
4
6
8
10{
11public:
13
14public:
16
17public:
19
20 virtual TBOOL Create( TVertexFactoryFormat* a_pVertexFormat, TUINT16 a_uiMaxStaticVertices, TUINT32 a_uiFlags );
21 virtual TVertexPoolResourceInterface* CreatePoolResource( TUINT16 a_uiMaxStaticVertices, TUINT16 a_uiFlags ) = 0;
22
25
26protected:
27 TVertexPoolResourceInterface* CreatePool( TUINT16 a_uiMaxStaticVertices, TUINT32 a_uiFlags );
28
29protected:
34};
35
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
uint16_t TUINT16
Definition Typedefs.h:15
unsigned int TUINT
Definition Typedefs.h:8
uint32_t TUINT32
Definition Typedefs.h:13
bool TBOOL
Definition Typedefs.h:6
virtual TBOOL Create()
Definition TResource.cpp:28
const TVertexFactoryFormat & GetVertexFormat() const
TDECLARE_CLASS(TVertexFactoryResourceInterface, TResource)
TVertexPoolResourceInterface * CreatePool(TUINT16 a_uiMaxStaticVertices, TUINT32 a_uiFlags)
virtual TVertexPoolResourceInterface * CreatePoolResource(TUINT16 a_uiMaxStaticVertices, TUINT16 a_uiFlags)=0