| 659 | } |
| 660 | |
| 661 | bool InsertCommand(RenderScriptInstance* i, const Command& command) |
| 662 | { |
| 663 | if (i->m_CommandBuffer.Full()) |
| 664 | return false; |
| 665 | else |
| 666 | i->m_CommandBuffer.Push(command); |
| 667 | return true; |
| 668 | } |
| 669 | |
| 670 | /*# enables a render state |
| 671 | * |
no test coverage detected