Preparing search index...
The search index is not available
@lightningjs/core
@lightningjs/core
Lightning
types
TextureManager
Class TextureManager
Index
Constructors
constructor
Properties
texture
Source
Hashmap
Accessors
used
Memory
Methods
add
To
Lookup
Map
destroy
free
Texture
Source
free
Unused
Texture
Sources
gc
get
Reusable
Texture
Source
get
Texture
Source
upload
Texture
Source
Constructors
constructor
new
TextureManager
(
stage
:
Lightning
.
Stage
)
:
TextureManager
Parameters
stage
:
Lightning
.
Stage
Returns
TextureManager
Properties
texture
Source
Hashmap
textureSourceHashmap
:
Map
<
string
,
Lightning
.
types
.
TextureSource
>
Accessors
used
Memory
get
usedMemory
()
:
number
Returns
number
Methods
add
To
Lookup
Map
addToLookupMap
(
textureSource
:
Lightning
.
types
.
TextureSource
)
:
void
Parameters
textureSource
:
Lightning
.
types
.
TextureSource
Returns
void
destroy
destroy
()
:
void
Returns
void
free
Texture
Source
freeTextureSource
(
textureSource
:
Lightning
.
types
.
TextureSource
)
:
void
Parameters
textureSource
:
Lightning
.
types
.
TextureSource
Returns
void
free
Unused
Texture
Sources
freeUnusedTextureSources
()
:
void
Returns
void
gc
gc
()
:
void
Do not call this method directly! Use
Stage.gc()
instead.
Returns
void
get
Reusable
Texture
Source
getReusableTextureSource
(
id
:
string
)
:
Lightning
.
types
.
TextureSource
Parameters
id
:
string
Returns
Lightning
.
types
.
TextureSource
get
Texture
Source
getTextureSource
(
func
:
Loader
,
id
:
string
)
:
Lightning
.
types
.
TextureSource
Parameters
func
:
Loader
id
:
string
Returns
Lightning
.
types
.
TextureSource
upload
Texture
Source
uploadTextureSource
(
textureSource
:
Lightning
.
types
.
TextureSource
,
options
:
unknown
,
)
:
void
Parameters
textureSource
:
Lightning
.
types
.
TextureSource
options
:
unknown
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
texture
Source
Hashmap
Accessors
used
Memory
Methods
add
To
Lookup
Map
destroy
free
Texture
Source
free
Unused
Texture
Sources
gc
get
Reusable
Texture
Source
get
Texture
Source
upload
Texture
Source
@lightningjs/core
Lightning
Application
EventMap
KeyMap
Options
SignalMap
TemplateSpec
TemplateSpecLoose
TypeConfig
Constructor
Component
CustomKeyHandlers
DefaultKeyHandlers
EventMap
FireAncestorsMap
SignalMap
StateMachineEvent
TemplateSpec
TemplateSpecLoose
TypeConfig
TypeConfigLoose
Constructor
ExtractTemplateSpec
ImplementTemplateSpec
KeyHandlers
NewPatchTemplate
PassSignals
Signals
Template
components
BloomComponent
TemplateSpec
BorderComponent
TemplateSpec
FastBlurComponent
TemplateSpec
ListComponent
TemplateSpec
SmoothScaleComponent
TemplateSpec
BloomComponent
BorderComponent
FastBlurComponent
ListComponent
SmoothScaleComponent
Element
EventMap
Flex
FlexItem
TemplateSpec
TemplateSpecLoose
TypeConfig
TypeConfigLoose
Constructor
ExtractTemplateSpec
NewPatchTemplate
OnAfterCalcsCallback
OnAfterUpdateCallback
OnUpdateCallback
PatchTemplate
PatchTemplateArray
ElementCore
RenderContext
EventEmitter
DefaultEventMap
Mixin
shaders
c2d
Blur
Grayscale
C2dDefaultShader
C2dInfo
WebGLShader
GLUniformFunction
BoxBlur
C2dDefaultShader
C2dShader
CircularPush
Dithering
FadeOut
Grayscale
Hole
Inversion
Light3d
LinearBlur
Magnifier
Outline
Perspective
Pixelate
RadialFilter
RadialGradient
RoundedRectangle
Spinner
Spinner2
Vignette
WebGLDefaultShader
WebGLShader
Stage
EventMap
Options
RGBA
Texture
ResizeMode
Settings
SettingsLoose
SourceLoaderCallback
textures
ImageTexture
Settings
StaticCanvasTexture
Content
Settings
Factory
FactoryCallback
TextTexture
Settings
TextAlign
TextBaseline
TextOverflow
TextVerticalAlign
HtmlTexture
ImageTexture
NoiseTexture
RectangleTexture
SourceTexture
StaticCanvasTexture
StaticTexture
TextTexture
tools
ObjectListProxy
ObjectListWrapper
ObjMerger
Tools
CornerRadius
types
Animation
EventMap
State
AnimationActionSettings
AnimationActionPoint
AnimationActionPointMap
Literal
AnimationActionValue
AnimationSettings
Literal
StopMethod
Shader
Settings
SettingsLoose
TextTextureRenderer
LineInfo
TextTextureRendererAdvanced
WordInfo
TextureSource
LoadOptions
RenderInfo
LoadCancelCallback
Loader
LoaderCallback
NativeTexture
Transition
EventMap
TransitionSettings
Literal
TimingFunction
Animation
AnimationActionSettings
AnimationManager
AnimationSettings
C2dCoreQuadList
C2dCoreQuadOperation
C2dRenderer
CoreContext
CoreQuadList
CoreQuadOperation
CoreRenderState
ElementChildList
ObjectList
Shader
TextTextureRenderer
TextTextureRendererAdvanced
TextureManager
TextureSource
Transition
TransitionManager
TransitionSettings
WebGLCoreQuadList
WebGLCoreQuadOperation
WebGLRenderer
WebPlatform
AnimatableValueTypes
Application
Base
Component
Element
ElementCore
ElementTexturizer
EventEmitter
Stage
StageUtils
Texture
Tools
Utils
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Do not call this method directly! Use
Stage.gc()
instead.