| 121 | } |
| 122 | |
| 123 | void GFXVertexFormat::addElement( const String& semantic, GFXDeclType type, U32 index, U32 stream ) |
| 124 | { |
| 125 | mDirty = true; |
| 126 | mElements.increment(); |
| 127 | GFXVertexElement& lastElement = mElements.last(); |
| 128 | lastElement.mStreamIndex = stream; |
| 129 | lastElement.mSemantic = semantic.intern(); |
| 130 | lastElement.mSemanticIndex = index; |
| 131 | lastElement.mType = type; |
| 132 | } |
| 133 | |
| 134 | const String& GFXVertexFormat::getDescription() const |
| 135 | { |
no test coverage detected