| 21 | } |
| 22 | |
| 23 | bool TriDebugResourceHelper::OnPrepareResources() |
| 24 | { |
| 25 | { |
| 26 | Tr2VertexDefinition vd; |
| 27 | vd.Add( vd.FLOAT32_3, vd.POSITION ); |
| 28 | m_vertexPosDecl = Tr2EffectStateManager::GetVertexDeclarationHandle( vd ); |
| 29 | } |
| 30 | |
| 31 | { |
| 32 | Tr2VertexDefinition vd; |
| 33 | vd.Add( vd.FLOAT32_3, vd.POSITION ); |
| 34 | vd.Add( vd.UBYTE_4_NORM, vd.COLOR ); |
| 35 | m_vertexPosColorDecl = Tr2EffectStateManager::GetVertexDeclarationHandle( vd ); |
| 36 | } |
| 37 | |
| 38 | return true; |
| 39 | } |
| 40 | |
| 41 | void TriDebugResourceHelper::ReleaseResources( TriStorage s ) |
| 42 | { |
nothing calls this directly
no test coverage detected