Difference between revisions of "TEXTURE MEDIA"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Constant/string}}{{LSL Constant
{{LSL_Constant/string}}{{LSL Constant
|inject-2={{Issues/VWR-7315}}
|name=TEXTURE_MEDIA
|name=TEXTURE_MEDIA
|type=string
|type=string
Line 17: Line 18:
|history=
|history=
Introduced in {{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.10|anchor=file3}}
Introduced in {{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.10|anchor=file3}}
|issues=
{{Issue|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|resolution=fixed}}
|cat1=Key
|cat1=Key
|cat2=Texture
|cat2=Texture

Revision as of 13:53, 26 September 2013

Description

Constant: string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";

The string constant TEXTURE_MEDIA has the value "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"

UUID for the "Default Media" texture

Caveats


Related Articles

Notes

Like any LSO string constants longer then 3 characters and used in multiple places in the code, they should be stored in a global variable. The result will be a considerable memory savings. This does not apply to scripts compiled with Mono. See LSL Constants vs Globals for more information about this and examples.

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   TEXTURE_DEFAULT is a bad constant name

Signature

string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";