Open elliotwoods opened 11 years ago
of course, the biggest issue with this change, is that it's pretty difficult to track down changes since both function names would have the same syntax.
also currently, len isn't used inside the function. is it the length of the input array, length in rows, etc?
I'll change function names to fix all that, with few other improvements
on https://github.com/mrvux/FeralTic/blob/master/Core/DX11/Resources/Textures/2d/DX11DynamicTexture2D.cs#L55
you've got:
just a matter of opinion, but i think the syntax would be better as
where 'stride' is the stride of the input data
rowsize is a little ambiguous, and the input data might have a non 'integer * width' stride, (e.g. 'integer * width + integer').