GrCall

Primitive context.

final
class GrCall {}

Constructors

this
this(GrCallback callback, GrBytecode.PrimitiveReference primRef)
Undocumented in source.

Members

Aliases

getBool
alias getBool = getParameter!GrBool
Undocumented in source.
getFloat
alias getFloat = getParameter!GrFloat
Undocumented in source.
getInt
alias getInt = getParameter!GrInt
Undocumented in source.
getPtr
alias getPtr = getParameter!GrPtr
Undocumented in source.
getString
alias getString = getParameter!GrString
Undocumented in source.
setBool
alias setBool = setResult!GrBool
Undocumented in source.
setFloat
alias setFloat = setResult!GrFloat
Undocumented in source.
setInt
alias setInt = setResult!GrInt
Undocumented in source.
setPtr
alias setPtr = setResult!GrPtr
Undocumented in source.
setString
alias setString = setResult!GrString
Undocumented in source.

Functions

block
void block(GrBlocker blocker)

Pause the current context.

call
void call(GrContext context)

The actual runtime call to the primitive.

createObject
GrObject createObject(string name)

Create a new object of type typeName.

getArray
GrArray!T getArray(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getBoolVariable
GrBool getBoolVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getEnum
T getEnum(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getEnumVariable
T getEnumVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloat32
float getFloat32(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloat64
double getFloat64(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloatArray
GrFloatArray getFloatArray(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloatArrayVariable
GrFloatArray getFloatArrayVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloatChannel
GrFloatChannel getFloatChannel(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloatChannelVariable
GrFloatChannel getFloatChannelVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getFloatVariable
GrFloat getFloatVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getForeign
T getForeign(uint parameter)
Undocumented in source. Be warned that the author may not have intended to support it.
getForeignVariable
T getForeignVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getInt32
int getInt32(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getInt64
long getInt64(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntArray
GrIntArray getIntArray(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntArrayVariable
GrIntArray getIntArrayVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntChannel
GrIntChannel getIntChannel(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntChannelVariable
GrIntChannel getIntChannelVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getIntVariable
GrInt getIntVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getObject
GrObject getObject(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectArray
GrObjectArray getObjectArray(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectArrayVariable
GrObjectArray getObjectArrayVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectChannel
GrObjectChannel getObjectChannel(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectChannelVariable
GrObjectChannel getObjectChannelVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectVariable
GrObject getObjectVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getPtrVariable
GrPtr getPtrVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringArray
GrStringArray getStringArray(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringArrayVariable
GrStringArray getStringArrayVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringChannel
GrStringChannel getStringChannel(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringChannelVariable
GrStringChannel getStringChannelVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringVariable
GrString getStringVariable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
raise
void raise(string message)

Does not actually send the error to the context. Because the stacks would be in an undefined state. So we wait until the primitive is finished before calling dispatchError().

setArray
void setArray(GrArray!T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setBoolVariable
void setBoolVariable(string name, GrBool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setEnum
void setEnum(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setEnumVariable
void setEnumVariable(string name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloat32
void setFloat32(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloat64
void setFloat64(double value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatArray
void setFloatArray(GrFloatArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatArrayVariable
void setFloatArrayVariable(string name, GrFloatArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatChannel
void setFloatChannel(GrFloatChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatChannelVariable
void setFloatChannelVariable(string name, GrFloatChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setFloatVariable
void setFloatVariable(string name, GrFloat value)
Undocumented in source. Be warned that the author may not have intended to support it.
setForeign
void setForeign(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setForeignVariable
void setForeignVariable(string name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
setInt32
void setInt32(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setInt64
void setInt64(long value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntArray
void setIntArray(GrIntArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntArrayVariable
void setIntArrayVariable(string name, GrIntArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntChannel
void setIntChannel(GrIntChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntChannelVariable
void setIntChannelVariable(string name, GrIntChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setIntVariable
void setIntVariable(string name, GrInt value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObject
void setObject(GrObject value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectArray
void setObjectArray(GrObjectArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectArrayVariable
void setObjectArrayVariable(string name, GrObjectArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectChannel
void setObjectChannel(GrObjectChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectChannelVariable
void setObjectChannelVariable(string name, GrObjectChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setObjectVariable
void setObjectVariable(string name, GrObject value)
Undocumented in source. Be warned that the author may not have intended to support it.
setPtrVariable
void setPtrVariable(string name, GrPtr value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringArray
void setStringArray(GrStringArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringArrayVariable
void setStringArrayVariable(string name, GrStringArray value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringChannel
void setStringChannel(GrStringChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringChannelVariable
void setStringChannelVariable(string name, GrStringChannel value)
Undocumented in source. Be warned that the author may not have intended to support it.
setStringVariable
void setStringVariable(string name, GrString value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

context
GrContext context [@property getter]

Current task running the primitive.

meta
string meta [@property getter]

Extra type compiler information.

Meta