Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK.NET - Texture loading

Author
Message
Scab
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location:
Posted: 22nd Jan 2009 23:04
I can not get the image to load as a texture

iPlanetTexture = new DarkGDK.Basic2D.Image("Stars2.png);
- works but the texture is really small and repeated.

iPlanetTexture = new DarkGDK.Basic2D.Image("Stars2.png",true);
- works but same as above

iPlanetTexture = new DarkGDK.Basic2D.Image("Stars2.png",true,true,0,DarkGDK.Basic2D.TextureFlag.Stretching_NoFilter_NoColorKey)

it says it has some invalid arguments.
The intelisense changes to (int,int,int,int,Textureflag)

How do I load an image as a texture?

Thanks.

Login to post a reply

Server time is: 2024-11-25 11:19:25
Your offset time is: 2024-11-25 11:19:25