Package ch.bailu.gtk.gsk
Class GLShaderNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.GLShaderNode
- All Implemented Interfaces:
PointerInterface
A render node using a GL shader when drawing its children nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()
Gets args for the node.getChild
(int idx) Gets one of the children.static ClassHandler
static int
int
Returns the number of childrenstatic long
static TypeSystem.TypeSize
Gets shader code for the node.static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, ref, serialize, unref, writeToFile, writeToFile
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
GLShaderNode
-
-
Method Details
-
getClassHandler
-
getArgs
Gets args for the node.- Returns:
- A `GBytes` with the uniform arguments
-
getChild
Gets one of the children.- Parameters:
idx
- the position of the child to get- Returns:
- the @idx'th child of @node
-
getNChildren
public int getNChildren()Returns the number of children- Returns:
- The number of children
-
getShader
Gets shader code for the node.- Returns:
- the `GskGLShader` shader
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-