dxSetTexturePixels | Multi Theft Auto: Wiki Skip to content

dxSetTexturePixels

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function sets the pixels of a texture element. It can be used with a standard texture, render target or screen source. Only 'plain' format pixels please.

Note

This function is slow and not something you want to be doing once a frame. It is very slow when setting pixels to a render target or screen source. And is very slow indeed if the texture format is not "argb" .

Syntax

dxSetTexturePixels ( )

Code Examples

client
TODO