canvas-toy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Attachment
constructor
attachment
Code
frame
Buffer
gl
Render
Buffer
target
Texture
inner
Format
For
Buffer
is
Able
type
disable
enable
set
Inner
Format
For
Buffer
set
Type
to
Texture
Hierarchy
Attachment
Index
Constructors
constructor
Properties
attachment
Code
frame
Buffer
gl
Render
Buffer
target
Texture
Accessors
inner
Format
For
Buffer
is
Able
type
Methods
disable
enable
set
Inner
Format
For
Buffer
set
Type
to
Texture
Constructors
constructor
new
Attachment
(
frameBuffer
:
FrameBuffer
, attachmentCode
:
function
)
:
Attachment
Parameters
frameBuffer:
FrameBuffer
attachmentCode:
function
(
gl
:
WebGLRenderingContext
|
WebGLDrawBuffers
)
:
number
Parameters
gl:
WebGLRenderingContext
|
WebGLDrawBuffers
Returns
number
Returns
Attachment
Properties
attachment
Code
attachment
Code
:
function
Type declaration
(
gl
:
WebGLRenderingContext
|
WebGLDrawBuffers
)
:
number
Parameters
gl:
WebGLRenderingContext
|
WebGLDrawBuffers
Returns
number
frame
Buffer
frame
Buffer
:
FrameBuffer
gl
Render
Buffer
gl
Render
Buffer
:
WebGLRenderbuffer
target
Texture
target
Texture
:
Texture
Accessors
inner
Format
For
Buffer
inner
Format
For
Buffer
:
is
Able
is
Able
:
type
type
:
Methods
disable
disable
(
)
:
this
Returns
this
enable
enable
(
)
:
this
Returns
this
set
Inner
Format
For
Buffer
set
Inner
Format
For
Buffer
(
innerFormatForBuffer
:
number
)
:
this
Parameters
innerFormatForBuffer:
number
Returns
this
set
Type
set
Type
(
gl
:
WebGLRenderingContext
, type
:
AttachmentType
)
:
this
Parameters
gl:
WebGLRenderingContext
type:
AttachmentType
Returns
this
to
Texture
to
Texture
(
gl
:
WebGLRenderingContext
)
:
Texture
Parameters
gl:
WebGLRenderingContext
Returns
Texture
Generated using
TypeDoc