Post

 Resources 

Console


RE: D3D speed question NetArc (0 replies, 0 views) (2000-Jul-3)
-
what about everytime u set the texture u set a variable along with it like this: TexName = "TreeFace" Device.SetTexture DirectDrawSurface7 and then u add someway so it avoids it if the texture has remained the same this is a way that i have it in a old engine Sub SetTexture ( NewTexName as Sring, DSurf as DirectDrawSurface7 ) If NewTexName = TexName then Exit Sub ' set our new texture name TexName = NewTexName ' set our texture Device,SetTexture DSurf End Sub just a sample, i hope it helps you... good luck


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 220 visitors within the last 20 minutes
RSS News Feed