| 109 | } |
| 110 | |
| 111 | Pass* Pass::clone() const |
| 112 | { |
| 113 | auto pass = new Pass(); |
| 114 | pass->_renderState = _renderState; |
| 115 | |
| 116 | pass->setProgramState(_programState->clone()); |
| 117 | |
| 118 | pass->_vertexAttribBinding = _vertexAttribBinding; |
| 119 | AX_SAFE_RETAIN(pass->_vertexAttribBinding); |
| 120 | |
| 121 | pass->setTechnique(_technique); |
| 122 | |
| 123 | pass->autorelease(); |
| 124 | |
| 125 | return pass; |
| 126 | } |
| 127 | |
| 128 | backend::ProgramState* Pass::getProgramState() const |
| 129 | { |
nothing calls this directly
no test coverage detected