OnVertexBufferRangeInvalidated
From Multi Theft Auto: Wiki
This C++ Function is found inside of CAdditionalVertexStreamManager.
It serves as an event when vertex buffer rage is invalidated.
It can be found in Client/Client Core/Sources/CAdditionalVertexStreamManager.cpp in Visual Studio.
Required Arguments
- pStreamData1: Pointer to the IDirect3DVertexBuffer9 type.
- Offset: uint --.
- Size: uint --.
Code
void CAdditionalVertexStreamManager::OnVertexBufferRangeInvalidated ( IDirect3DVertexBuffer9* pStreamData1, uint Offset, uint Size ) { SAdditionalStreamInfo* pAdditionalInfo = GetAdditionalStreamInfo ( pStreamData1 ); if ( pAdditionalInfo ) { pAdditionalInfo->ConvertedRanges.UnsetRange ( Offset, Size ); } }