MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / append

Method append

Engine/source/gfx/gfxVertexFormat.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void GFXVertexFormat::append( const GFXVertexFormat &format, U32 streamIndex )
104{
105 for ( U32 i=0; i < format.getElementCount(); i++ )
106 {
107 mElements.increment();
108 mElements.last() = format.getElement( i );
109 if ( streamIndex != -1 )
110 mElements.last().mStreamIndex = streamIndex;
111 }
112
113 mDirty = true;
114}
115
116void GFXVertexFormat::clear()
117{

Callers 9

gfxDevice.cppFile · 0.45
captureMethod · 0.45
guiControl.cppFile · 0.45
writeGuidesMethod · 0.45
setDataMethod · 0.45
onPasteMethod · 0.45
drawTextMethod · 0.45
handleCharInputMethod · 0.45
addTextMethod · 0.45

Calls 4

incrementMethod · 0.80
getElementCountMethod · 0.45
lastMethod · 0.45
getElementMethod · 0.45

Tested by

no test coverage detected