Element/Texture: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ The texture class represents a source of renderable pixels which can be used in dxDrawImage or dxDrawImageSection. The element type of this class is '''"textur...")
 
m (Добавление языков)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
The texture class represents a source of renderable pixels which can be used in [[dxDrawImage]] or [[dxDrawImageSection]].
The texture class represents a source of renderable pixels which can be used as an image with [[dxDrawImage]], [[dxDrawImageSection]] or as a value in [[dxSetShaderValue]].


The element type of this class is '''"texture"'''.
The element type of this class is '''"texture"'''.
Texture elements are created by the following functions:
* [[dxCreateTexture]]
* [[dxCreateRenderTarget]]
* [[dxCreateScreenSource]]
[[Category:Element Types]]
[[en:Element/Texture]]
[[ru:Element/Texture]]
[[hu:Element/Texture]]

Latest revision as of 22:00, 14 April 2021

The texture class represents a source of renderable pixels which can be used as an image with dxDrawImage, dxDrawImageSection or as a value in dxSetShaderValue.

The element type of this class is "texture".


Texture elements are created by the following functions: