MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / SetIndexArray

Method SetIndexArray

samples/hmd_opencv_sandbox/geometry_object.cpp:226–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void GeometryObject::SetIndexArray( int index, std::vector<unsigned int> & intarray, unsigned int render_type )
227{
228 if ( (int)m_ia.size() <= index ) m_ia.resize( index + 1 );
229 m_ia[index] = intarray;
230 SetRenderType( index, render_type );
231 m_bTaintIAFlags |= 1<<index;
232}
233
234void GeometryObject::SetArrayProps( int index, bool dynamic, int stride )
235{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected