Search
Preparing search index...
The search index is not available
RPGMakerMV Library
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PIXI
glCore
GLTexture
Class GLTexture
Hierarchy
GLTexture
Index
Constructors
constructor
Properties
format
gl
height
mipmap
premultiply
Alpha
texture
type
width
Methods
bind
destroy
enable
Linear
Scaling
enable
Mipmap
enable
Nearest
Scaling
enable
Wrap
Clamp
enable
Wrap
Mirror
Repeat
enable
Wrap
Repeat
mag
Filter
min
Filter
unbind
upload
upload
Data
from
Data
from
Source
Constructors
constructor
new GLTexture
(
gl
:
WebGLRenderingContext
, width
?:
number
, height
?:
number
, format
?:
number
, type
?:
number
)
:
GLTexture
Parameters
gl:
WebGLRenderingContext
Optional
width:
number
Optional
height:
number
Optional
format:
number
Optional
type:
number
Returns
GLTexture
Properties
format
format
:
number
gl
gl
:
WebGLRenderingContext
height
height
:
number
mipmap
mipmap
:
boolean
premultiply
Alpha
premultiply
Alpha
:
boolean
texture
texture
:
WebGLTexture
type
type
:
number
width
width
:
number
Methods
bind
bind
(
location
?:
number
)
:
void
Parameters
Optional
location:
number
Returns
void
destroy
destroy
(
)
:
void
Returns
void
enable
Linear
Scaling
enable
Linear
Scaling
(
)
:
void
Returns
void
enable
Mipmap
enable
Mipmap
(
)
:
void
Returns
void
enable
Nearest
Scaling
enable
Nearest
Scaling
(
)
:
void
Returns
void
enable
Wrap
Clamp
enable
Wrap
Clamp
(
)
:
void
Returns
void
enable
Wrap
Mirror
Repeat
enable
Wrap
Mirror
Repeat
(
)
:
void
Returns
void
enable
Wrap
Repeat
enable
Wrap
Repeat
(
)
:
void
Returns
void
mag
Filter
mag
Filter
(
linear
:
boolean
)
:
void
Parameters
linear:
boolean
Returns
void
min
Filter
min
Filter
(
linear
:
boolean
)
:
void
Parameters
linear:
boolean
Returns
void
unbind
unbind
(
)
:
void
Returns
void
upload
upload
(
source
:
HTMLImageElement
|
ImageData
|
HTMLVideoElement
|
HTMLCanvasElement
)
:
void
Parameters
source:
HTMLImageElement
|
ImageData
|
HTMLVideoElement
|
HTMLCanvasElement
Returns
void
upload
Data
upload
Data
(
data
:
ArrayBuffer
|
ArrayBufferView
, width
:
number
, height
:
number
)
:
void
Parameters
data:
ArrayBuffer
|
ArrayBufferView
width:
number
height:
number
Returns
void
Static
from
Data
from
Data
(
gl
:
WebGLRenderingContext
, data
:
number
[]
, width
:
number
, height
:
number
)
:
GLTexture
Parameters
gl:
WebGLRenderingContext
data:
number
[]
width:
number
height:
number
Returns
GLTexture
Static
from
Source
from
Source
(
gl
:
WebGLRenderingContext
, source
:
HTMLImageElement
|
ImageData
|
HTMLVideoElement
|
HTMLCanvasElement
, premultipleAlpha
?:
boolean
)
:
GLTexture
Parameters
gl:
WebGLRenderingContext
source:
HTMLImageElement
|
ImageData
|
HTMLVideoElement
|
HTMLCanvasElement
Optional
premultipleAlpha:
boolean
Returns
GLTexture
Globals
Internals
MV
RPG
Externals
"pixi.js"
PIXI
CONST
Canvas
Tinter
Group
D8
accessibility
core
extract
extras
filters
gl
Core
interaction
loaders
mesh
particles
prepare
settings
ticker
utils
pixi
GLBuffer
GLFramebuffer
GLShader
GLTexture
constructor
format
gl
height
mipmap
premultiply
Alpha
texture
type
width
bind
destroy
enable
Linear
Scaling
enable
Mipmap
enable
Nearest
Scaling
enable
Wrap
Clamp
enable
Wrap
Mirror
Repeat
enable
Wrap
Repeat
mag
Filter
min
Filter
unbind
upload
upload
Data
from
Data
from
Source
Vertex
Array
Object
Attrib
Attrib
State
Context
Options
WebGLRendering
Context
Attribute
create
Context
set
Vertex
Attrib
Arrays
Generated using
TypeDoc