| 330 | } |
| 331 | |
| 332 | void DrawLayer::SetTexture(int texIdx, Texture* texture) |
| 333 | { |
| 334 | if (mCurTextures[texIdx] != texture) |
| 335 | { |
| 336 | QueueRenderCmd(CreateSetTextureCmd(texIdx, texture)); |
| 337 | mCurTextures[texIdx] = texture; |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | void DrawLayer::SetShaderConstantDataTyped(int usageIdx, int slotIdx, void* constData, int size, int* typeData, int typeCount) |
| 342 | { |
no outgoing calls
no test coverage detected