Hi Ujjal, you can use IDirectFBSurface::TextureTriangles.

Please note that, exception to the rule, this function does not have a fall-back software implementation, you will notice that it has 'preliminary' in the documentation therefore. This means you need a supported graphics card: matrox, nvidia or radeon with a 3d enige will give you the best chance. This also means you cannot use "no-hardware" or similar options.

Greets
Niels

Ujjal Saha wrote:
Dear All,
I want to fill a triangle texture effect of any/certain pattern instead filling with some color.
Can you please help me how I can use DFB APIs for the purpose ?
Regards,
Ujjal
------------------------------------------------------------------------

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to