s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Graphics
Texture
Find
chevron_left Graphics
class
Texture

Properties

data_objectDepthdata_objectFlagsdata_objectHasAnimatedSequencesdata_objectHeightdata_objectImageFormatdata_objectIndexdata_objectIsErrordata_objectIsLoadeddata_objectIsValiddata_objectLastUseddata_objectMipsdata_objectSequenceCountdata_objectSequenceDatadata_objectSizedata_objectUAVAccessdata_objectWidth

Methods

functionsClearfunctionsDisposelockFinalizefunctionsGetBitmapfunctionsGetBitmapAsyncfunctionsGetPixelfunctionsGetPixel3DfunctionsGetPixelsfunctionsGetPixels3DfunctionsGetPixelsAsyncfunctionsGetPixelsAsync3DfunctionsGetSequenceFrameCountfunctionsMarkUsedfunctionsSaveToVtexfunctionsSaveToVtexAsyncfunctionsUpdatefunctionsUpdate3D

Static Properties

data_objectBlackdata_objectInvaliddata_objectTransparentdata_objectWhite

Static Methods

functionsCreatefunctionsCreateArrayfunctionsCreateCubefunctionsCreateCustomfunctionsCreateFromSvgSourcefunctionsCreateRenderTargetfunctionsCreateVolumefunctionsFindremove_circleLoadremove_circleLoadAsyncfunctionsLoadAvatarfunctionsLoadFromFileSystemfunctionsLoadFromFileSystemAsync
Find
Try to get an already loaded texture.
methodstatic
static Texture Find (string filepath)

Parameters

NameTypeDescription
filepath string The filename of the texture.

Returns

TypeDescription
Texture The already loaded texture, or null if it was not yet loaded.
Declared in Sandbox.Texture ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter