NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import SurfaceBuffer from 'ngl/src/buffer/surface-buffer.js'
public class | source

SurfaceBuffer

Extends:

BufferMeshBuffer → SurfaceBuffer

Surface buffer. Like a MeshBuffer, but with .isSurface set to true.

Member Summary

Public Members
public get

Inherited Summary

From class Buffer
public get
public get
public get abstract
public get
public set
public get
public get
public get
public get
public get abstract
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
private
public
public
public

Free buffer resources

public
public
public
public
public
public
public
public
public
public
public
public
public
public

Sets buffer attributes

public
public

Set buffer parameters

public
public
public

Set buffer visibility

public
public
public
private
From class MeshBuffer
public get
public get

Public Members

public get isSurface source