Mask

Dynamic Mask Part

Constructors

this
this(MeshData data, Node parent)

Constructs a new mask

this
this(MeshData data, uint uuid, Node parent)

Constructs a new mask

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
drawOne
void drawOne()
Undocumented in source. Be warned that the author may not have intended to support it.
drawOneDirect
void drawOneDirect(bool forMasking)
Undocumented in source. Be warned that the author may not have intended to support it.
rebuffer
void rebuffer(MeshData data)
Undocumented in source. Be warned that the author may not have intended to support it.
renderMask
void renderMask(bool dodge)
Undocumented in source. Be warned that the author may not have intended to support it.
typeId
string typeId()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Drawable

ibo
GLuint ibo;

OpenGL Index Buffer Object

vbo
GLuint vbo;

OpenGL Vertex Buffer Object

dbo
GLuint dbo;

OpenGL Vertex Buffer Object for deformation

data
MeshData data;

The mesh data of this part

bindIndex
void bindIndex()

Binds Index Buffer for rendering

renderMask
void renderMask(bool dodge)
Undocumented in source.
serializeSelf
void serializeSelf(InochiSerializer serializer)

Allows serializing self data (with pretty serializer)

serializeSelf
void serializeSelf(InochiSerializerCompact serializer)

Allows serializing self data (with compact serializer)

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
vertices
vec2[] vertices()
Undocumented in source. Be warned that the author may not have intended to support it.
deformation
vec2[] deformation;

Deformation offset to apply

bounds
vec4 bounds;

The bounds of this drawable

deformStack
DeformationStack deformStack;

Deformation stack

refresh
void refresh()

Refreshes the drawable, updating its vertices

refreshDeform
void refreshDeform()

Refreshes the drawable, updating its deformation deltas

beginUpdate
void beginUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()

Updates the drawable

drawOne
void drawOne()

Draws the drawable

drawOneDirect
void drawOneDirect(bool forMasking)

Draws the drawable without any processing

typeId
string typeId()
Undocumented in source. Be warned that the author may not have intended to support it.
updateBounds
void updateBounds()

Updates the drawable's bounds

drawBounds
void drawBounds()

Draws bounds

drawMeshLines
void drawMeshLines()

Draws line of mesh

drawMeshPoints
void drawMeshPoints()

Draws the points of the mesh

getMesh
MeshData getMesh()

Returns the mesh data for this Part.

rebuffer
void rebuffer(MeshData data)

Changes this mesh's data

reset
void reset()

Resets the vertices of this drawable

Meta