MetalShaders/MetalShaders_Old.cpp
/**
 * Marks all uniform arrays as dirty.
 */
Marks all uniform arrays as dirty.
Marks all uniform arrays as dirty .
void FMetalShaderParameterCache::MarkAllDirty()
{
	for (int32 ArrayIndex = 0; ArrayIndex < CrossCompiler::PACKED_TYPEINDEX_MAX; ++ArrayIndex)
	{
		PackedGlobalUniformDirty[ArrayIndex].LowVector = 0;
		PackedGlobalUniformDirty[ArrayIndex].HighVector = PackedGlobalUniformsSizes[ArrayIndex] / SizeOfFloat;
	}
}
void FMetalShaderParameterCache :: MarkAllDirty ( ) { for ( int32 ArrayIndex = 0 ; ArrayIndex < CrossCompiler :: PACKED_TYPEINDEX_MAX ; ++ ArrayIndex ) { PackedGlobalUniformDirty [ ArrayIndex ] . LowVector = 0 ; PackedGlobalUniformDirty [ ArrayIndex ] . HighVector = PackedGlobalUniformsSizes [ ArrayIndex ] / SizeOfFloat ; } }
Marks all uniform arrays as dirty.
Marks all uniform arrays as dirty .