Difference between revisions of "TEXTURE MEDIA"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 16: Line 16:
|events
|events
|history=
|history=
Introduced in {{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.9|anchor=file3}}
Introduced in {{SVN|627|rev=89264|branch=Branch_1-20-Viewer-2|ver=1.20.10|anchor=file3}}
|issues=
|issues=
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}

Revision as of 16:49, 9 June 2008

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

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";