| 83 | } |
| 84 | |
| 85 | void EveSwarmRenderable::UpdatePerObjectBuffer( Tr2RenderContextEnum::ShaderType shaderType, uint32_t size, void* data ) |
| 86 | { |
| 87 | if( shaderType == Tr2RenderContextEnum::PIXEL_SHADER ) |
| 88 | { |
| 89 | uint8_t* perObjectPS = (uint8_t*)data; |
| 90 | memcpy( perObjectPS, &m_psData, sizeof( m_psData ) ); |
| 91 | } |
| 92 | else |
| 93 | { |
| 94 | uint8_t* perObjectVS = (uint8_t*)data; |
| 95 | memcpy( perObjectVS, &m_vsData, sizeof( m_vsData ) ); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | bool EveSwarmRenderable::HasTransparentBatches() |
| 100 | { |
no outgoing calls
no test coverage detected