MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / AddByteOffset

Function AddByteOffset

Source/Graphics/TextureTransform.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10template< typename T >
11T * AddByteOffset( T * p, s32 offset )
12{
13 return reinterpret_cast< T * >( reinterpret_cast< u8 * >( p ) + offset );
14}
15template< typename T >
16const T * AddByteOffset( const T * p, s32 offset )
17{

Callers 4

RecolourTextureFunction · 0.85
ClampTexelsFunction · 0.85
MirrorTexelsSTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected