| 71 | } |
| 72 | |
| 73 | uint32_t EveSwarmRenderable::GetPerObjectDataSize( Tr2RenderContextEnum::ShaderType shaderType ) const |
| 74 | { |
| 75 | if( shaderType == Tr2RenderContextEnum::PIXEL_SHADER ) |
| 76 | { |
| 77 | return sizeof( m_psData ); |
| 78 | } |
| 79 | else |
| 80 | { |
| 81 | return sizeof( m_vsData ); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | void EveSwarmRenderable::UpdatePerObjectBuffer( Tr2RenderContextEnum::ShaderType shaderType, uint32_t size, void* data ) |
| 86 | { |
no outgoing calls
no test coverage detected