| 125 | } |
| 126 | |
| 127 | void Tr2IndirectDrawBufferWriter::Next() |
| 128 | { |
| 129 | #if TRINITY_PLATFORM == TRINITY_DIRECTX12 |
| 130 | m_buffer += m_layout.m_stride; |
| 131 | ++m_commandCount; |
| 132 | #elif TRINITY_PLATFORM == TRINITY_METAL |
| 133 | m_buffer++; |
| 134 | ++m_commandCount; |
| 135 | #endif |
| 136 | } |
| 137 | |
| 138 | bool Tr2IndirectDrawBufferWriter::HasMaterialConstants( Tr2RenderContextEnum::ShaderType stage ) const |
| 139 | { |