DxSetTextureEdge

From Multi Theft Auto: Wiki
Revision as of 14:07, 24 February 2014 by Jusonex (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New items|4.0132|1.3.5| This functions allows you to change the edge handling after creating the texture. }} ==Syntax== <syntaxhighlight lang="lua">bool dxSetTe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.3.5 :

This functions allows you to change the edge handling after creating the texture.

Syntax

bool dxSetTextureEdge ( texture theTexture, string textureEdge [, int border-color] )

Required Arguments

  • theTexture: The affected texture
  • textureEdge: The texture edge mode. Available modes are wrap, mirror, clamp, border, mirror-once

Optional Arguments

  • border-color: If textureEdge is set to border, you are able to define a border color here

Example

Todo

See Also