@lightningjs/renderer
Preparing search index...
Renderer
WebGlShaderProgram
Class WebGlShaderProgram
Implements
CoreShaderProgram
Index
Constructors
constructor
Properties
attribute
Locations
glw
is
Destroyed
lifecycle
program
renderer
supports
Indexed
Textures
uniform
Locations
use
System
Alpha
use
System
Dimensions
use
Time
Value
vao
Methods
attach
bind
Buffer
Collection
bind
Render
Op
bind
Textures
destroy
detach
disable
Attribute
disable
Attributes
reuse
Render
Op
Constructors
constructor
new
WebGlShaderProgram
(
renderer
:
WebGlCoreRenderer
,
config
:
WebGlShaderType
,
resolvedProps
:
Record
<
string
,
any
>
,
)
:
WebGlShaderProgram
Parameters
renderer
:
WebGlCoreRenderer
config
:
WebGlShaderType
resolvedProps
:
Record
<
string
,
any
>
Returns
WebGlShaderProgram
Properties
Protected
attribute
Locations
attributeLocations
:
string
[]
Protected
glw
glw
:
GlContextWrapper
is
Destroyed
isDestroyed
:
boolean
= false
Protected
lifecycle
lifecycle
:
Pick
<
WebGlShaderType
,
"update"
|
"canBatch"
>
Protected
program
program
:
null
|
WebGLProgram
Protected
renderer
renderer
:
WebGlCoreRenderer
supports
Indexed
Textures
supportsIndexedTextures
:
boolean
= false
Protected
uniform
Locations
uniformLocations
:
null
|
Record
<
string
,
WebGLUniformLocation
>
Protected
use
System
Alpha
useSystemAlpha
:
boolean
= false
Protected
use
System
Dimensions
useSystemDimensions
:
boolean
= false
Protected
use
Time
Value
useTimeValue
:
boolean
= false
Protected
vao
vao
:
undefined
|
WebGLVertexArrayObject
Vertex Array Object
Remarks
Used by WebGL2 Only
Methods
attach
attach
()
:
void
Returns
void
bind
Buffer
Collection
bindBufferCollection
(
buffer
:
BufferCollection
)
:
void
Parameters
buffer
:
BufferCollection
Returns
void
bind
Render
Op
bindRenderOp
(
renderOp
:
WebGlRenderOp
)
:
void
Parameters
renderOp
:
WebGlRenderOp
Returns
void
bind
Textures
bindTextures
(
textures
:
WebGlCoreCtxTexture
[]
)
:
void
Parameters
textures
:
WebGlCoreCtxTexture
[]
Returns
void
destroy
destroy
()
:
void
Returns
void
detach
detach
()
:
void
Returns
void
disable
Attribute
disableAttribute
(
location
:
number
)
:
void
Parameters
location
:
number
Returns
void
disable
Attributes
disableAttributes
()
:
void
Returns
void
reuse
Render
Op
reuseRenderOp
(
node
:
CoreNode
,
currentRenderOp
:
WebGlRenderOp
)
:
boolean
Parameters
node
:
CoreNode
currentRenderOp
:
WebGlRenderOp
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
attribute
Locations
glw
is
Destroyed
lifecycle
program
renderer
supports
Indexed
Textures
uniform
Locations
use
System
Alpha
use
System
Dimensions
use
Time
Value
vao
Methods
attach
bind
Buffer
Collection
bind
Render
Op
bind
Textures
destroy
detach
disable
Attribute
disable
Attributes
reuse
Render
Op
@lightningjs/renderer
Loading...
Vertex Array Object