Cerberus X Documentation

Index

a b c d e f g h i j k l m n o p q r s t u v w x y z
NameDescription
3rd Party Docs
 
All 3rd Party Docs
Abs
in cerberus.math.
Returns the absolute value of x, that is, +x if x>=0 and -x if x<0.
Abs
in cerberus.math.
Returns the absolute value of x, that is, +x if x>=0 and -x if x<0.
Abstract
in Programming/Keywords/
Declares method as Abstract.
AccelX
in mojo.input.
Returns the x compononent of the acceleration applied to the device, as measured by the device's accelerometer if present.
AccelY
in mojo.input.
Returns the y compononent of the acceleration applied to the device, as measured by the device's accelerometer if present.
AccelZ
in mojo.input.
Returns the z compononent of the acceleration applied to the device, as measured by the device's accelerometer if present.
Accept
in brl.socket.Socket.
Accepts a new connection from a remote host.
AcceptAsync
in brl.socket.Socket.
Accepts a new connection from a remote host asynchronously.
ACos
in cerberus.math.
Returns the arc cosine of x, in degrees.
ACosr
in cerberus.math.
Returns the arc cosine of x, in radians.
Add
in cerberus.map.Map.
Adds a key/value pair to the map.
AddAsyncEventSource
in brl.asyncevent.
Adds source to the global list of event sources to be processed by UpdateAsyncEvents.
AddFirst
in cerberus.list.List.
Adds a value at the start of the list.
AdditiveBlend
in mojo.graphics.
AddLast
in cerberus.list.List.
Adds a value at the end of the list.
AddProducts
in brl.cerberusstore.CerberusStore.
Adds multiple new products to the store.
AddShadowCaster
in mojo2.graphics.DrawList.
Add a shadow caster to the drawlist.
Admob
in brl.admob.
The admob class provides simple support for the Google Admob advertising system, which allows you to add advertising to your games.
AdmobInterstitial
in brl.admob.
The AdmobInterstitial class provides simple support for Interstitial advertising with the Google Admob advertising system.
AdViewHeight
in brl.admob.Admob.
Returns the height of the ad view, or 0 if the ad view is hidden.
AdViewWidth
in brl.admob.Admob.
Returns the width of the ad view, or 0 if the ad view is hidden.
Alias
in Programming/Keywords/
The Alias directive allows you to assign a local name to a constant, global, function or class declared in another module.
Allocate
in brl.pool.Pool.
Allocates an object from the pool and calls IOnPoolAllocate.OnPoolAllocate if the object implements IOnPoolAllocate.
Alpha
in mojo2.graphics.DrawList.
Return current alpha.
AlphaBlend
in mojo.graphics.
AmbientLight
in mojo2.graphics.Canvas.
Get ambient light color.
And
in Programming/Keywords/
The logical And operator.
API Reference
 
These are the modules Cerberus X is shipped with.
App config settings
in Programming/
App config settings are settings that affect how a project is built.
AppArgs
in brl.process.
Returns the application startup parameters.
AppArgs
in os.
Returns the application startup parameters.
App
in mojo.app.
This is the main application class.
AppPath
in brl.process.
Returns the file system path of the currently running application.
AppPath
in os.
Returns the file system path of the currently running application.
ArrayBoxer
in reflection.
The ArrayBoxer class is a utility class that allows you to box and unbox arrays for use with reflection.
Array
in cerberus.lang.
The Array type is a fundamental cerberus type used to represent array values.
ArrayClass
in reflection.
Returns the class of an array.
ArrayLength
in reflection.ClassInfo.
Get length of an array.
ArrayObject
in cerberus.boxes.
The ArrayObject box class is a generic class that can be used to encapsulate an array inside an object.
ASCII table
in Programming/
ASCII codes 0-127.
ASin
in cerberus.math.
Returns the arc sine of x, in degrees.
ASinr
in cerberus.math.
Returns the arc sine of x, in radians.
Asset import
in Programming/
The Import keyword can be used to provide assets to the current project which are not stored in the project data directory.
AsyncActive
in brl.asyncevent.
Returns True if the async event is currently active.
ATan
in cerberus.math.
Returns the arc tangent of x, in degrees.
ATan2
in cerberus.math.
Returns the arc tangent of x / y, in degrees ranging from -180 to +180.
ATan2r
in cerberus.math.
Returns the arc tangent of x / y, in radians ranging from -PI to +PI.
ATanr
in cerberus.math.
Returns the arc tangent of x, in radians.
ATTRIBUTE_ABSTRACT
in reflection.
ATTRIBUTE_EXTERN
in reflection.
ATTRIBUTE_FINAL
in reflection.
ATTRIBUTE_INTERFACE
in reflection.
ATTRIBUTE_PRIVATE
in reflection.
Attributes
in reflection.ClassInfo.
Get class attributes.
Attributes
in reflection.ConstInfo.
Get const attributes.
Attributes
in reflection.FieldInfo.
Get field attributes.
Attributes
in reflection.FunctionInfo.
Get function attributes.
Attributes
in reflection.GlobalInfo.
Get global attributes.
Attributes
in reflection.MethodInfo.
Get method attributes.
Backwards
in cerberus.list.List.
Returns an object that may be used to iterate backwards through the list with a For EachIn loop.
Backwards
in cerberus.stack.Stack.
Returns an object that may be used to iterate backwards through the stack with a For EachIn loop.
BeginPrettyBlock
in brl.markdown.IPrettifier.
This method is called when a Markdown objects encounters a <pre> tag, and should return an appropriate html block start tag, eg: <div>.
Bind
in brl.socket.Socket.
Binds the socket to a local host and port.
BindAsync
in brl.socket.Socket.
Binds the socket to a local host and port asynchronously.
BlackTexture
in mojo2.graphics.Texture.
Return a stock single texel black texture.
BlendMode
in mojo2.graphics.DrawList.
Get blend mode.
BoolClass
in reflection.
Returns the class of a 'bool'.
BoolObject
in cerberus.boxes.
The BoolObject box class can be used to encapsulate an bool value inside an object.
Bool
in Programming/Keywords/
The built-in boolean type.
BoolValue
in brl.json.JsonBool.
Returns boolen value.
BoolValue
in brl.json.JsonValue.
For a JsonBool, this will return its boolean value.
Box
in reflection.ArrayBoxer.
Box an array.
BoxBool
in reflection.
Creates a box object with the given value.
BoxFloat
in reflection.
Creates a box object with the given value.
BoxInt
in reflection.
Creates a box object with the given value.
BoxString
in reflection.
Creates a box object with the given value.
brl
 
The brl module is a set of utility classes and functions.
brl.admob
 
The admob module provides simple support for the Google Admob advertising system including interstitial ads, which allows you to add advertising to your games.
brl.asyncevent
 
The asyncevent module provides core functionality for handling asynchronous (async) events.
brl.cerberusstore
 
The CerberusStore module allows apps to perform 'in app purchases' (IAP) on the android, ios and winrt/windows8.1 targets.
brl.databuffer
 
Databuffer objects provide storage for arbitrary data.
brl.datastream
 
A datastream allows you to read and write data to and from a databuffer in a stream-like way.
brl.filepath
 
The filepath module contains functions for manipulating file paths.
brl.filestream
 
A filestream allows you to read/write data from/to a file.
brl.filesystem
 
The filesystem module allows you to inspect and modify files on the filesystem.
brl.gamecenter
 
The gamecenter module provides simple support for the iOS Game Center framework.
brl.httprequest
 
The httprequest module allows you to perform http requests such as GET and POST.
brl.json
 
Minimalistic JSON module.
brl.markdown
 
The markdown module converts easy to read/write plain text (known as markdown) to html, using a simple text formatting syntax.
brl.pool
 
brl.process
 
brl.requesters
 
The requesters module allows you to use simple modal requesters with the glfw3 target on Mac and Windows only!
brl.ringbuffer
 
A ringbuffer is a circular FIFO buffer that wraps a DataBuffer.
brl.socket
 
brl.stream
 
Streams are used to read or write data in a sequential manner.
brl.tcpstream
 
A tcp stream represents a synchronous tcp connection to a host on the internet.
brl.url
 
A url, or web address, is a character string that specifies the location of a resource.
Build
in mojo2.graphics.Shader.
Compiles and links the shader.
BumpShader
in mojo2.graphics.Shader.
Returns a stock bump shader for drawing lit sprites with specular and normal maps.
BuyProductAsync
in brl.cerberusstore.CerberusStore.
Starts an async operation to buy a product.
BytesReceived
in brl.httprequest.HttpRequest.
Returns the total number of bytes received.
CanGet
in brl.ringbuffer.RingBuffer.
Returns the number of bytes that can be read from the buffer using Get.
CanPut
in brl.ringbuffer.RingBuffer.
Returns the number of bytes that can be written to the buffer using Put.
Canvas
in mojo2.graphics.
Canvas objects are used to perform rendering to either the app window or an 'off screen' image.
Capacity
in brl.ringbuffer.RingBuffer.
Returns the size of the buffer in bytes, ie: CanGet+CanPut.
Case
in Programming/Keywords/
Case is part of the conditional Select block.
Catch
in Programming/Keywords/
The Catch keyword is part of the Try/Catch exception-handling construct.
Ceil
in cerberus.math.
Returns the smallest integral value that is not less than x.
cerberus
 
The cerberus modules provide 'built-in' functionality that is available to every cerberus program.
Cerberus X
in Tools/
The Cerberus X app appears in the main directory of your Cerberus X installation
cerberus.boxes
 
The boxes module provides a set of classes that allow you to use 'box' objects.
cerberus.deque
 
A deque is a 'double ended queue'.
cerberus.lang
 
The lang module contains classes and functions built-in to the cerberus language.
cerberus.list
 
The list module provides support for doubly linked lists.
cerberus.map
 
The map module provides support for associative maps.
cerberus.math
 
The math module provides math related constants and functions.
cerberus.random
 
The random module provides functions to generate random numbers.
cerberus.set
 
The set module provides support for sets, collections of ordered objects.
cerberus.stack
 
The stack module provides support for stacks.
CerberusStore
in brl.cerberusstore.
The CerberusStore and Product classes allow apps to perform 'in app purchases' (IAP) on the ios, android and winrt(windows8.1) targets.
ChangeDir
in brl.process.
Changes the current directory of the running application.
ChangeDir
in os.
Changes the current directory of the running application.
ChannelState
in mojo.audio.
Returns the state of the specified audio channel: 0 if the channel is currently stopped, 1 if the channel is currently playing, 2 if the channel is currently paused or -1 if the channel state cannot be determined.
Clamp
in cerberus.math.
Clamps x to the range min through max inclusive.
Clamp
in cerberus.math.
Clamps x to the range min through max inclusive.
Classes
 
All documented classes
ClassInfo
in reflection.
ClassInfo objects describe classes declared by your program and in modules.
Class
in Programming/Keywords/
Declares the beginning of an object class.
Clear
in brl.ringbuffer.RingBuffer.
Empties the buffer.
Clear
in cerberus.deque.Deque.
Removes all items from the deque.
Clear
in cerberus.list.List.
Removes all the elements from the list.
Clear
in cerberus.map.Map.
Removes all keys and values from the map.
Clear
in cerberus.set.Set.
Removes all items from the set.
Clear
in cerberus.stack.Stack.
Removes all items from the stack.
Clear
in mojo2.graphics.Canvas.
Clear canvas to the specified color.
Close
in brl.stream.Stream.
Closes the stream and released any OS resources in use.
Cls
in mojo.graphics.
Clears the graphics device to the specified color.
Color
in mojo2.graphics.DrawList.
Returns a 4 component float array containing current color and alpha.
ColorMask
in mojo2.graphics.Canvas.
Get color mask.
Compare
in cerberus.list.FloatList.
Implements the List.Compare method, which allows FloatLists to be sorted using the Sort method.
Compare
in cerberus.map.FloatMap.
Implements the Map.Compare method.
Compare
in cerberus.stack.FloatStack.
Implements the Stack.Compare method, which allows FloatStacks to be sorted using the Sort method.
Compare
in cerberus.boxes.FloatObject.
Compares FloatObjects.
Compare
in cerberus.list.IntList.
Implements the List.Compare method, which allows IntLists to be sorted using the Sort method.
Compare
in cerberus.map.IntMap.
Implements the Map.Compare method.
Compare
in cerberus.stack.IntStack.
Implements the Stack.Compare method, which allows IntStacks to be sorted using the Sort method.
Compare
in cerberus.boxes.IntObject.
Compares IntObjects.
Compare
in cerberus.map.Map.
The compare method must return a negative value if lhs < rhs, a positive value if lhs > rhs, or 0 if lhs = rhs.
Compare
in cerberus.lang.String.
Compares two strings.
Compare
in cerberus.list.StringList.
Implements the List.Compare method, which allows StringLists to be sorted using the Sort method.
Compare
in cerberus.map.StringMap.
Implements the Map.Compare method.
Compare
in cerberus.stack.StringStack.
Implements the Stack.Compare method, which allows StringStacks to be sorted using the Sort method.
Compare
in cerberus.boxes.StringObject.
Compares StringObjects.
Compare
in cerberus.list.List.
This method is used by the Sort method to compare elements.
Compare
in cerberus.stack.Stack.
This method is used by the Sort method to compare elements.
Confirm
in brl.requesters.
Confirm activates a simple modal dialog requesting the user to select between YES and NO options.
Connect
in brl.socket.Socket.
Connects the socket to a remote host.
Connect
in brl.tcpstream.TcpStream.
Attempts to connect to the specified host and returns true if successful.
ConnectAsync
in brl.socket.Socket.
Connects a socket to a remote host asynchronously.
ConstInfo
in reflection.
ConstInfo objects describe constant values declared by your program.
Const
in Programming/Keywords/
Declares a constant value.
Contains
in cerberus.map.Map.
Return true if the specified key is contained in the map.
Contains
in brl.json.JsonObject.
Returns true if the json object contains key.
Contains
in cerberus.lang.String.
Returns true if the string contains str, else false.
Contains
in cerberus.list.List.
Returns true if list contains value.
Contains
in cerberus.set.Set.
Return True if the specified value is contained in the set, else False.
Contains
in cerberus.stack.Stack.
Returns true if value is contained in the stack.
Continue
in Programming/Keywords/
The Continue keyword causes program flow to jump immediately to the start of the next iteration of an enclosing For, While or Repeat loop.
CopyBytes
in brl.databuffer.DataBuffer.
Copies count bytes starting at srcAddress from this buffer to dst.
CopyDir
in brl.filesystem.
Copies the directory at srcpath to dstpath, creating dstpath if necessary.
CopyDir
in os.
Copies the directory at srcpath to dstpath, creating dstpath if necessary.
CopyFile
in brl.filesystem.
Copies a file from srcpath to dstpath.
CopyFile
in os.
Copies a file from srcpath to dstpath.
Cos
in cerberus.math.
Returns the cosine of x degrees.
Cosr
in cerberus.math.
Returns the cosine of x radians.
Count
in cerberus.list.List.
Returns the number of elements in the list.
Count
in cerberus.map.Map.
Returns the number of key/value pairs in the map.
Count
in cerberus.set.Set.
Counts and returns the number of objects in the set.
CountJoysticks
in mojo.input.
Returns the number of connected joysticks.
CreateDir
in brl.filesystem.
Create a new directory at path.
CreateDir
in os.
Create a new directory at path.
CreateFile
in brl.filesystem.
Creates a new file at path.
CreateImage
in mojo.graphics.
Creates an empty image for use with Image.WritePixels.
Credits
 
Language design and programming - Mark Sibly
CServer
in Tools/
CServer is a simple, lightweight web server for testing HTML5 apps, and is located in the Cerberus X 'bin' directory.
CurrentDir
in brl.process.
Returns the current directory of the currently running application.
CurrentDir
in os.
Returns the current directory of the currently running application.
Data
in brl.datastream.DataStream.
Returns the databuffer object wrapped by this datastream.
Data
in cerberus.stack.Stack.
Provides access to the underlying array used to store stack data.
DataBuffer
in brl.databuffer.
Databuffer objects provide storage for arbitrary data.
DataStream
in brl.datastream.
A datastream allows you to read and write data to and from a databuffer in a stream-like way.
DebugLog
in cerberus.lang.
Writes message to the current debug channel.
DebugStop
in cerberus.lang.
Stops program execution.
DefaultFlags
in mojo.graphics.Image.
The image flags used by default when an image is loaded or grabbed.
DefaultMaterial
in mojo2.graphics.DrawList.
Return the current default material.
Default
in Programming/Keywords/
Default is part of the conditional Select block.
DefaultShader
in mojo2.graphics.Shader.
Returns the default shader used when a material is created with a 'Null' shader.
DeleteDir
in os.
Deletes the directory at path.
DeleteDir
in brl.filesystem.
Deletes the directory at path.
DeleteDir
in os.
Deletes the directory at path.
DeleteFile
in brl.filesystem.
Deletes the specified file.
DeleteFile
in os.
Deletes the specified file.
Deque
in cerberus.deque.
A deque is a 'double ended queue'.
Description
in brl.cerberusstore.Product.
The product description.
DesktopMode
in mojo.app.
Gets the display mode used by the desktop.
DeviceHeight
in mojo.app.
Returns the height of the application's device window, in pixels.
DeviceHeight
in mojo.graphics.
***** Moved to mojo.app.DeviceHeight *****
DeviceWidth
in mojo.app.
Returns the width of the application's device window, in pixels.
DeviceWidth
in mojo.graphics.
***** Moved to mojo.app.DeviceWidth *****
DisableKeyboard
in mojo.input.
On the android and ios targets, this function disables the native virtual keyboard.
Discard
in brl.databuffer.DataBuffer.
Releases any resources used by the data buffer.
Discard
in mojo.audio.Sound.
The Discard method frees up any low level resources being used by the sound.
Discard
in mojo.graphics.Image.
Discard any underlying resources associated with the image.
Discard
in mojo2.graphics.Image.
Discard any internal resources such as videomem used by the image.
DisplayMode
in mojo.app.
A simple structure that contains info on the various fullscreen display modes available when using the desktop target.
DisplayModes
in mojo.app.
Gets an array of valid fullscreen display modes for use with SetDeviceWindow.
Domain
in brl.url.Url.
Returns the domain part of the url.
DrawCircle
in mojo.graphics.
Draws a circle of the given radius at coordinates x, y.
DrawCircle
in mojo2.graphics.DrawList.
Draw a circle at x, y with radius radius.
DrawEllipse
in mojo.graphics.
Draws an ellipse of radii xRadius, yRadius at coordinates x, y.
DrawEllipse
in mojo2.graphics.DrawList.
Draw an ellipse at x, y with radii xRadius, yRadius.
DrawImage
in mojo2.graphics.DrawList.
Draw an image at tx,ty.
DrawImage
in mojo.graphics.
Draws an image at coordinates x, y, offset by the image's handle.
DrawImage
in mojo2.graphics.DrawList.
Draw an image at tx,ty rotated by rz.
DrawImage
in mojo2.graphics.DrawList.
Draw an image at tx,ty rotated by rz and scaled by sx,sy.
DrawImage
in mojo.graphics.
Draws an image at coordinates x, y, offset by the image's handle.
DrawImage9P
in mojo2.graphics.DrawList.
Draws an 9-Patch image at coordinates tx, ty.
DrawImage9P
in mojo.graphics.
Draws an 9-Patch image at coordinates x, y, offset by the image's handle.
DrawImageRect
in mojo.graphics.
Draws a sub-rectangle of an image at coordinates x, y, offset by the image's handle.
DrawImageRect
in mojo.graphics.
Draws a sub-rectangle of an image at coordinates x, y, offset by the image's handle.
DrawIndexedPrimitives
in mojo2.graphics.DrawList.
Draw a batch of indexed primtives.
DrawIndexedPrimitives
in mojo2.graphics.DrawList.
Draw a batch of indexed primtives.
DrawIndexedPrimitives
in mojo2.graphics.DrawList.
Draw a batch of indexed primtives.
Drawing with images
in Tutorials/
In this tutorial we load some images from our apps data folder and learn more about mojo.graphics.
DrawLine
in mojo.graphics.
Draws a line from x1, y1 to x2, y2.
DrawLine
in mojo2.graphics.DrawList.
Draw a line from x0,y0 to x1,y1.
DrawList
in mojo2.graphics.
A drawlist contains drawing state and a sequence of 2d drawing operations.
DrawOval
in mojo.graphics.
Draws an oval of size width, height at coordinates x, y.
DrawOval
in mojo2.graphics.DrawList.
Draw an oval in the given rectangle.
DrawPoint
in mojo.graphics.
Draws a point at the coordinates x, y.
DrawPoint
in mojo2.graphics.DrawList.
Draw a point at x0,y0.
DrawPoly
in mojo.graphics.
Draw a convex polygon using the provided vertices.
DrawPrimitives
in mojo2.graphics.DrawList.
Draw a batch of primtives.
DrawPrimitives
in mojo2.graphics.DrawList.
Draw a batch of primtives.
DrawPrimitives
in mojo2.graphics.DrawList.
Draw a batch of primtives.
DrawQuad
in mojo2.graphics.DrawList.
Draw a quad.
DrawRect
in mojo.graphics.
Draws a rectangle of size width, height at the coordinates x, y.
DrawRect
in mojo2.graphics.DrawList.
Draw a rect from x,y to x+width,y+height.
DrawRect
in mojo2.graphics.DrawList.
Draw a rect from x,y to x+width,y+height filled with image.
DrawRect
in mojo2.graphics.DrawList.
Draw a rect from x,y to x+width,y+height filled with the given subrect of image.
DrawRect
in mojo2.graphics.DrawList.
Draw a rect at x,y filled with the given subrect of image.
DrawShadow
in mojo2.graphics.DrawList.
Draw a shadow volume.
DrawShadows
in mojo2.graphics.DrawList.
Draw multiple shadow volumes.
DrawText
in mojo2.graphics.DrawList.
Draw text at x,y in the current font.
DrawText
in mojo.graphics.
Draws text at coordinates x, y in the current font.
DrawText
in mojo.graphics.
Draws a multiline text beginning at coordinates x, y in the current font.
DrawTriangle
in mojo2.graphics.DrawList.
Draw a triangle.
Eachin
in Programming/Keywords/
Defines the set of objects or values to be assigned to the index variable in a For/Next loop.
ElementType
in reflection.ClassInfo.
Get array element type.
Elseif
in Programming/Keywords/
Where the initial expression in a conditional block proves False, ElseIf allows for the testing of another expression, executing an alternative section of code should that expression prove True.
Else
in Programming/Keywords/
Marks the start of alternative program flow should a conditional expression prove False.
EnableKeyboard
in mojo.input.
On the android and ios targets, this function enables the native virtual keyboard.
EndApp
in mojo.app.
Ends the current application.
Endif
in Programming/Keywords/
Marks the end of a conditional block.
EndPrettyBlock
in brl.markdown.IPrettifier.
This method is called when a Markdown object encounters a </pre> tag, and should return an appropriate html block end tag, eg: </div>.
End
in Programming/Keywords/
Declares the end of a class, function, method or similar block-style definition, or of certain loop or conditional blocks.
EndsWith
in cerberus.lang.String.
Returns true if this string ends with str, else false.
Enumerate
in Programming/Keywords/
Declares an enumeration of constant integer values.
EnumLayerLights
in mojo2.renderer.ILayer.
Get lights to be rendered for layer.
Eof
in brl.stream.Stream.
Returns 1 if end-of-file has been reached, -1 if an IO error has occurred or 0 if the stream can be read.
Equals
in cerberus.boxes.BoolObject.
Returns 'true' if the value contained in the BoolObject equals the value contained in box.
Equals
in cerberus.boxes.FloatObject.
Tests FloatObjects for equality.
Equals
in cerberus.boxes.IntObject.
Tests IntObjects for equality.
Equals
in cerberus.boxes.StringObject.
Tests StringObjects for equality.
Equals
in cerberus.list.List.
This method is used by the Contains, RemoveFirst, RemoveLast and RemoveEach methods to determine element equality.
Equals
in cerberus.stack.Stack.
This method is used by the Contains and RemoveEach methods to determine element equality.
Error
in cerberus.lang.
Generates a runtime error message and ends program execution.
Execute
in brl.process.
Executes a shell command and returns the result.
Execute
in brl.process.Process.
Runs a process, waits for it to finish, and returns the process stdout output.
Execute
in os.
Executes a shell command and returns the result.
ExitApp
in brl.process.
Exits the application with the given return code.
ExitApp
in os.
Exits the application with the given return code.
Exit
in Programming/Keywords/
Allows program flow to 'jump out' of loops, continuing execution after the relevant closing keyword.
Exp
in cerberus.math.
Returns the base-e exponential function of x, which is the e number raised to the power x.
ExtendsClass
in reflection.ClassInfo.
Check if class extends another class, or implements an interface.
Extends
in Programming/Keywords/
Declares that class definition inherits a parent class.
Extern
in Programming/Keywords/
External code directive.
ExtractDir
in brl.filepath.
Returns the directory part of a file path.
ExtractDir
in os.
Extracts and returns the directory of a file system path.
ExtractExt
in brl.filepath.
Returns the file type extension part of a file system path.
ExtractExt
in os.
Extracts and returns the file type extension of a file system path.
False
in Programming/Keywords/
Represents boolean true value.
FastShader
in mojo2.graphics.Shader.
Returns a stock 'fast shader' for drawing unlit sprites efficiently.
FieldInfo
in reflection.
FieldInfo objects describe fields declared within a class.
Field
in Programming/Keywords/
Declares a class field variable.
File formats
in Programming/
This table lists the file formats supported by Cerberus X targets.
FileSize
in brl.filesystem.
Return the length of a file, in bytes, or 0 if the file does not exist.
FileSize
in os.
Return the length of a file, in bytes.
FileStream
in brl.filestream.
A filestream allows you to read/write data from/to a file.
FileTime
in brl.filesystem.
Return the time the file was last modified, or 0 if the file does not exist.
FileTime
in os.
Returns the time the file at path was last modified.
FileType
in brl.filesystem.
Returns an integer representing the type of a file, one of: FILETYPE_NONE for no file, FILETYPE_FILE for a normal file, FILETYPE_DIR for a directory.
FileType
in os.
Returns an integer representing the type of a file, one of: 0 for no file, 1 for a normal file, 2 for a directory.
FILETYPE_DIR
in brl.filesystem.
FILETYPE_DIR
in os.
FILETYPE_FILE
in brl.filesystem.
FILETYPE_FILE
in os.
FILETYPE_NONE
in brl.filesystem.
FILETYPE_NONE
in os.
Final
in Programming/Keywords/
Declares that a class may not be extended or that a method may not be overridden.
Find
in cerberus.lang.String.
Returns the offset of the first occurrence of str within this string, starting at the specified start offset.
Find
in cerberus.list.List.
Finds the node containing the first element in the list equal to value.
Find
in cerberus.stack.Stack.
Finds the index of the first element in the statch equal to value.
FindLast
in cerberus.lang.String.
Returns the offset of the last occurrence of str within this string.
FindLast
in cerberus.lang.String.
Returns the offset of the last occurrence of str within this string, starting at the optional offset specified by start.
FindLast
in cerberus.list.List.
Finds the node containing the last element in the list equal to value.
FindLast
in cerberus.stack.Stack.
Finds the index of the last element in the statch equal to value.
FindLast
in cerberus.stack.Stack.
Finds the index of the last element in the statch equal to value.
First cerberus steps
in Tutorials/
Skid spills some source...
First
in cerberus.list.List.
Returns the first element in the list.
FirstNode
in cerberus.list.List.
Return the first node in the list, or Null if the list is empty.
FirstNode
in cerberus.map.Map.
Returns the first node in the map.
Flags
in mojo.graphics.Image.
Returns the flags used to create the image.
Flags
in mojo2.graphics.Texture.
Get texture flags.
FlagsMask
in mojo2.graphics.Image.
Returns the current flags mask.
FlatTexture
in mojo2.graphics.Texture.
Return a stock single texel 'flat' texture for normal mapping.
FloatClass
in reflection.
Returns the class of a 'float'.
FloatDeque
in cerberus.deque.
FloatDeque is a convenience class for handling deques of floating point values.
FloatList
in cerberus.list.
FloatList is a convenience class for handling lists of floating point values.
FloatMap
in cerberus.map.
A FloatMap is a convenience class for mapping floats to values.
FloatObject
in cerberus.boxes.
The FloatObject box class can be used to encapsulate a float value inside an object.
Float
in Programming/Keywords/
The built-in float type.
FloatSet
in cerberus.set.
FloatSet is a convenience class for managing sets of floats.
FloatStack
in cerberus.stack.
A FloatStack is a convenience class for dealing with stacks of floats.
FloatValue
in brl.json.JsonNumber.
Returns float value.
FloatValue
in brl.json.JsonValue.
For a JsonNumber, this will return its numerical value as float.
Floor
in cerberus.math.
Returns the largest integral value that is not greater than x.
Flush
in mojo2.graphics.Canvas.
Flush rendering operations.
FogColor
in mojo2.graphics.Canvas.
Get fog color.
Font
in mojo2.graphics.DrawList.
Get font.
FontHeight
in mojo.graphics.
Returns the height of the current font.
Font
in mojo.graphics.
The mojo Font class provides support for bitmap fonts.
Font
in mojo2.graphics.
The mojo2 Font class provides support for bitmap fonts.
Forever
in Programming/Keywords/
Marks the end of a Repeat/Forever loop.
Format
in mojo2.graphics.Texture.
Get texture format.
For
in Programming/Keywords/
Declares the start of a For/Next loop.
Fragment
in brl.url.Url.
Returns the anchor part of the url.
Frames
in mojo.graphics.Image.
Returns the number of frames in the image.
Free
in brl.pool.Pool.
Adds an object to the pool and calls IOnPoolFree.OnPoolFree if the object implements IOnPoolFree.
FromChar
in cerberus.lang.String.
Creates and returns a string of length 1 containing the character code specified by charCode.
FromChars
in cerberus.lang.String.
Creates and returns a string containing the character codes in the specified charCode array.
FullPath
in brl.url.Url.
Returns the path, query and fragment parts of the url, combined with appropriate separators.
FunctionInfo
in reflection.
FunctionInfo objects describe functions declared by your program.
Function
in Programming/Keywords/
Declares the beginning of a function.
Functions
 
All documented functions
GameCenterAvail
in brl.gamecenter.GameCenter.
Returns true if Game Center support is available.
GameCenter
in brl.gamecenter.
The gamecenter module provides simple support for the iOS Game Center framework.
GameCenterState
in brl.gamecenter.GameCenter.
Returns one of the following values:
Get
in brl.ringbuffer.RingBuffer.
Removes count bytes from the start of the ringbuffer and copies them to data/offset.
Get
in brl.json.JsonArray.
Get json value at index.
Get
in cerberus.deque.Deque.
Returns an item at the given index from the deque.
Get
in cerberus.stack.Stack.
Returns the element at the specified index.
Get
in cerberus.map.Map.
Returns the value contained in the map associated with the specified key.
Get
in brl.json.JsonObject.
Get json value of key.
GetAdmob
in brl.admob.Admob.
Get the global Admob object.
GetAdmobInterstitial
in brl.admob.AdmobInterstitial.
Get the global AdmobInterstitial object.
GetAlpha
in mojo.graphics.
Returns the current alpha level in the range 0 to 1 inclusive.
GetBlend
in mojo.graphics.
Returns the current blend mode.
GetBool
in brl.json.JsonArray.
Get boolean value at index.
GetBool
in brl.json.JsonObject.
Get boolean value of key.
GetChar
in mojo.input.
Returns the character code of the next character in the keyboard character queue, or 0 if no more characters are available.
GetClass
in reflection.
Returns the ClassInfo object with the given name, or Null if no object is found.
GetClass
in reflection.
Returns the ClassInfo object with the given name, or Null if no object is found.
GetClasses
in reflection.
Returns an array of all reflected classes.
GetColor
in mojo.graphics.
Returns the current color as a 3 component float array containg the current color's red, green and blue components respectively.
GetColor
in mojo.graphics.
Copies the current color to color.
GetColor
in mojo2.graphics.DrawList.
Copy current color to color.
GetConst
in reflection.
Returns the ConstInfo object with the given name, or Null if no object is found.
GetConst
in reflection.ClassInfo.
Get a class const.
GetConstructor
in reflection.ClassInfo.
Get a class constructor.
GetConstructors
in reflection.ClassInfo.
Get all constructors declared by class.
GetConsts
in reflection.
Returns an array of all consts declared at module scope.
GetConsts
in reflection.ClassInfo.
Get all consts declared by class.
GetData
in brl.json.JsonArray.
Gets internal array used to contain values.
GetData
in brl.json.JsonObject.
Gets the internal map used to represent the object.
GetDate
in mojo.app.
Returns the current date and time as an array of 7 integers: year, month (1-12), day (1-31), hours (0-23), minutes (0-59), seconds (0-59) and milliseconds (0-999).
GetDate
in mojo.app.
Fills the date array with 7 integers representing the current date: year, month (1-12), day (1-31), hours (0-23), minutes (0-59), seconds (0-59) and milliseconds (0-999).
GetElement
in reflection.ClassInfo.
Get an array element.
GetEnv
in brl.process.
Get an environment variable.
GetEnv
in os.
Gets an environment variable.
GetField
in reflection.ClassInfo.
Get a class field.
GetFields
in reflection.ClassInfo.
Get all fields declared by class.
GetFloat
in brl.json.JsonArray.
Get float value at index.
GetFloat
in brl.json.JsonObject.
Get float value of key.
GetFont
in mojo.graphics.
Returns the current font.
GetFunction
in reflection.
Returns the FunctionInfo object with the given name and parameter types, or Null if no object is found.
GetFunction
in reflection.ClassInfo.
Get a class function.
GetFunctions
in reflection.
Returns an array of all reflected functions.
GetFunctions
in reflection.ClassInfo.
Get all functions declared by class.
GetGameCenter
in brl.gamecenter.GameCenter.
Gets the global GameCenter object.
GetGlobal
in reflection.
Returns the GlobalInfo object with the given name, or Null if no object is found.
GetGlobal
in reflection.ClassInfo.
Get a class global.
GetGlobals
in reflection.
Returns an array of all reflected globals.
GetGlobals
in reflection.ClassInfo.
Get all globals declared by class.
GetInt
in brl.json.JsonArray.
Get integer value at index.
GetInt
in brl.json.JsonObject.
Get integer value of key.
GetLightColor
in mojo2.graphics.Canvas.
Get light color.
GetLightPosition
in mojo2.graphics.Canvas.
Get light position.
GetLightRange
in mojo2.graphics.Canvas.
Get light range.
GetLightType
in mojo2.graphics.Canvas.
Get light type.
GetMatrix
in mojo.graphics.
Returns the current transformation matrix as an array of 6 floats.
GetMatrix
in mojo.graphics.
Copies the current transformation matrix to matrix.
GetMatrix
in mojo2.graphics.DrawList.
Get current 2d matrix.
GetMethod
in reflection.ClassInfo.
Get a class method.
GetMethods
in reflection.ClassInfo.
Get all methods declared by class.
GetOwnedProductsAsync
in brl.cerberusstore.CerberusStore.
Starts an async operation to get an array of all non-consumable products owned by the user.
GetProduct
in brl.cerberusstore.CerberusStore.
Gets the product corresponding to id, the iTunes connect or GooglePlay product identifier.
GetProducts
in brl.cerberusstore.CerberusStore.
Gets all products.
GetProducts
in brl.cerberusstore.CerberusStore.
Gets all products of the given type.
GetScalar
in mojo2.graphics.Material.
Get float shader parameter.
GetScissor
in mojo.graphics.
Returns the current scissor rectangle as a 4 component float array containg the scissor rectangle's x,y, width and height coordinates respectively.
GetScissor
in mojo.graphics.
Copies the current scissor rectangle to scissor.
GetStream
in brl.stream.StreamError.
Returns the stream involved in the error.
GetString
in brl.json.JsonArray.
Get string value at index.
GetString
in brl.json.JsonObject.
Get string value of key.
GetTexture
in mojo2.graphics.Material.
Get texture shader parameter.
Getting started
in Tutorials/
Hi and welcome to Cerberus X!
GetValue
in reflection.ConstInfo.
Get value of const.
GetValue
in reflection.GlobalInfo.
Get value of global.
GetValue
in reflection.FieldInfo.
Get field value.
GetVector
in mojo2.graphics.Material.
Get vector shader parameter.
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
in opengl.gles20.
GL_ACTIVE_ATTRIBUTES
in opengl.gles20.
GL_ACTIVE_TEXTURE
in opengl.gles11.
GL_ACTIVE_TEXTURE
in opengl.gles20.
GL_ACTIVE_UNIFORM_MAX_LENGTH
in opengl.gles20.
GL_ACTIVE_UNIFORMS
in opengl.gles20.
GL_ADD_SIGNED
in opengl.gles11.
GL_ADD
in opengl.gles11.
GL_ALIASED_LINE_WIDTH_RANGE
in opengl.gles11.
GL_ALIASED_LINE_WIDTH_RANGE
in opengl.gles20.
GL_ALIASED_POINT_SIZE_RANGE
in opengl.gles11.
GL_ALIASED_POINT_SIZE_RANGE
in opengl.gles20.
GL_ALPHA_BITS
in opengl.gles11.
GL_ALPHA_BITS
in opengl.gles20.
GL_ALPHA_SCALE
in opengl.gles11.
GL_ALPHA_TEST_FUNC
in opengl.gles11.
GL_ALPHA_TEST_REF
in opengl.gles11.
GL_ALPHA_TEST
in opengl.gles11.
GL_ALPHA
in opengl.gles11.
GL_ALPHA
in opengl.gles20.
GL_ALWAYS
in opengl.gles11.
GL_ALWAYS
in opengl.gles20.
GL_AMBIENT_AND_DIFFUSE
in opengl.gles11.
GL_AMBIENT
in opengl.gles11.
GL_AND_INVERTED
in opengl.gles11.
GL_AND_REVERSE
in opengl.gles11.
GL_AND
in opengl.gles11.
GL_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_ARRAY_BUFFER_BINDING
in opengl.gles20.
GL_ARRAY_BUFFER
in opengl.gles11.
GL_ARRAY_BUFFER
in opengl.gles20.
GL_ATTACHED_SHADERS
in opengl.gles20.
GL_BACK
in opengl.gles11.
GL_BACK
in opengl.gles20.
GL_BLEND_COLOR
in opengl.gles20.
GL_BLEND_DST_ALPHA
in opengl.gles20.
GL_BLEND_DST_RGB
in opengl.gles20.
GL_BLEND_DST
in opengl.gles11.
GL_BLEND_EQUATION_ALPHA
in opengl.gles20.
GL_BLEND_EQUATION_RGB
in opengl.gles20.
GL_BLEND_EQUATION
in opengl.gles20.
GL_BLEND_SRC_ALPHA
in opengl.gles20.
GL_BLEND_SRC_RGB
in opengl.gles20.
GL_BLEND_SRC
in opengl.gles11.
GL_BLEND
in opengl.gles11.
GL_BLEND
in opengl.gles20.
GL_BLUE_BITS
in opengl.gles11.
GL_BLUE_BITS
in opengl.gles20.
GL_BOOL_VEC2
in opengl.gles20.
GL_BOOL_VEC3
in opengl.gles20.
GL_BOOL_VEC4
in opengl.gles20.
GL_BOOL
in opengl.gles20.
GL_BUFFER_SIZE
in opengl.gles11.
GL_BUFFER_SIZE
in opengl.gles20.
GL_BUFFER_USAGE
in opengl.gles11.
GL_BUFFER_USAGE
in opengl.gles20.
GL_BYTE
in opengl.gles11.
GL_BYTE
in opengl.gles20.
GL_CCW
in opengl.gles11.
GL_CCW
in opengl.gles20.
GL_CLAMP_TO_EDGE
in opengl.gles11.
GL_CLAMP_TO_EDGE
in opengl.gles20.
GL_CLEAR
in opengl.gles11.
GL_CLIENT_ACTIVE_TEXTURE
in opengl.gles11.
GL_CLIP_PLANE0
in opengl.gles11.
GL_CLIP_PLANE1
in opengl.gles11.
GL_CLIP_PLANE2
in opengl.gles11.
GL_CLIP_PLANE3
in opengl.gles11.
GL_CLIP_PLANE4
in opengl.gles11.
GL_CLIP_PLANE5
in opengl.gles11.
GL_COLOR_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_COLOR_ARRAY_POINTER
in opengl.gles11.
GL_COLOR_ARRAY_SIZE
in opengl.gles11.
GL_COLOR_ARRAY_STRIDE
in opengl.gles11.
GL_COLOR_ARRAY_TYPE
in opengl.gles11.
GL_COLOR_ARRAY
in opengl.gles11.
GL_COLOR_ATTACHMENT0
in opengl.gles20.
GL_COLOR_BUFFER_BIT
in opengl.gles11.
GL_COLOR_BUFFER_BIT
in opengl.gles20.
GL_COLOR_CLEAR_VALUE
in opengl.gles11.
GL_COLOR_CLEAR_VALUE
in opengl.gles20.
GL_COLOR_LOGIC_OP
in opengl.gles11.
GL_COLOR_MATERIAL
in opengl.gles11.
GL_COLOR_WRITEMASK
in opengl.gles11.
GL_COLOR_WRITEMASK
in opengl.gles20.
GL_COMBINE_ALPHA
in opengl.gles11.
GL_COMBINE_RGB
in opengl.gles11.
GL_COMBINE
in opengl.gles11.
GL_COMPILE_STATUS
in opengl.gles20.
GL_COMPRESSED_TEXTURE_FORMATS
in opengl.gles11.
GL_COMPRESSED_TEXTURE_FORMATS
in opengl.gles20.
GL_CONSTANT_ALPHA
in opengl.gles20.
GL_CONSTANT_ATTENUATION
in opengl.gles11.
GL_CONSTANT_COLOR
in opengl.gles20.
GL_CONSTANT
in opengl.gles11.
GL_COPY_INVERTED
in opengl.gles11.
GL_COPY
in opengl.gles11.
GL_CULL_FACE_MODE
in opengl.gles11.
GL_CULL_FACE_MODE
in opengl.gles20.
GL_CULL_FACE
in opengl.gles11.
GL_CULL_FACE
in opengl.gles20.
GL_CURRENT_COLOR
in opengl.gles11.
GL_CURRENT_NORMAL
in opengl.gles11.
GL_CURRENT_PROGRAM
in opengl.gles20.
GL_CURRENT_TEXTURE_COORDS
in opengl.gles11.
GL_CURRENT_VERTEX_ATTRIB
in opengl.gles20.
GL_CW
in opengl.gles11.
GL_CW
in opengl.gles20.
GL_DECAL
in opengl.gles11.
GL_DECR_WRAP
in opengl.gles20.
GL_DECR
in opengl.gles11.
GL_DECR
in opengl.gles20.
GL_DELETE_STATUS
in opengl.gles20.
GL_DEPTH_ATTACHMENT
in opengl.gles20.
GL_DEPTH_BITS
in opengl.gles11.
GL_DEPTH_BITS
in opengl.gles20.
GL_DEPTH_BUFFER_BIT
in opengl.gles11.
GL_DEPTH_BUFFER_BIT
in opengl.gles20.
GL_DEPTH_CLEAR_VALUE
in opengl.gles11.
GL_DEPTH_CLEAR_VALUE
in opengl.gles20.
GL_DEPTH_COMPONENT16
in opengl.gles20.
GL_DEPTH_COMPONENT
in opengl.gles20.
GL_DEPTH_FUNC
in opengl.gles11.
GL_DEPTH_FUNC
in opengl.gles20.
GL_DEPTH_RANGE
in opengl.gles11.
GL_DEPTH_RANGE
in opengl.gles20.
GL_DEPTH_TEST
in opengl.gles11.
GL_DEPTH_TEST
in opengl.gles20.
GL_DEPTH_WRITEMASK
in opengl.gles11.
GL_DEPTH_WRITEMASK
in opengl.gles20.
GL_DIFFUSE
in opengl.gles11.
GL_DITHER
in opengl.gles11.
GL_DITHER
in opengl.gles20.
GL_DONT_CARE
in opengl.gles11.
GL_DONT_CARE
in opengl.gles20.
GL_DOT3_RGBA
in opengl.gles11.
GL_DOT3_RGB
in opengl.gles11.
GL_DST_ALPHA
in opengl.gles11.
GL_DST_ALPHA
in opengl.gles20.
GL_DST_COLOR
in opengl.gles11.
GL_DST_COLOR
in opengl.gles20.
GL_DYNAMIC_DRAW
in opengl.gles11.
GL_DYNAMIC_DRAW
in opengl.gles20.
GL_ELEMENT_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_ELEMENT_ARRAY_BUFFER_BINDING
in opengl.gles20.
GL_ELEMENT_ARRAY_BUFFER
in opengl.gles11.
GL_ELEMENT_ARRAY_BUFFER
in opengl.gles20.
GL_EMISSION
in opengl.gles11.
GL_EQUAL
in opengl.gles11.
GL_EQUAL
in opengl.gles20.
GL_EQUIV
in opengl.gles11.
GL_EXP2
in opengl.gles11.
GL_EXP
in opengl.gles11.
GL_EXTENSIONS
in opengl.gles11.
GL_EXTENSIONS
in opengl.gles20.
GL_FALSE
in opengl.gles11.
GL_FALSE
in opengl.gles20.
GL_FASTEST
in opengl.gles11.
GL_FASTEST
in opengl.gles20.
GL_FIXED
in opengl.gles11.
GL_FIXED
in opengl.gles20.
GL_FLAT
in opengl.gles11.
GL_FLOAT_MAT2
in opengl.gles20.
GL_FLOAT_MAT3
in opengl.gles20.
GL_FLOAT_MAT4
in opengl.gles20.
GL_FLOAT_VEC2
in opengl.gles20.
GL_FLOAT_VEC3
in opengl.gles20.
GL_FLOAT_VEC4
in opengl.gles20.
GL_FLOAT
in opengl.gles11.
GL_FLOAT
in opengl.gles20.
GL_FOG_COLOR
in opengl.gles11.
GL_FOG_DENSITY
in opengl.gles11.
GL_FOG_END
in opengl.gles11.
GL_FOG_HINT
in opengl.gles11.
GL_FOG_MODE
in opengl.gles11.
GL_FOG_START
in opengl.gles11.
GL_FOG
in opengl.gles11.
GL_FRAGMENT_SHADER
in opengl.gles20.
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
in opengl.gles20.
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
in opengl.gles20.
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
in opengl.gles20.
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
in opengl.gles20.
GL_FRAMEBUFFER_BINDING
in opengl.gles20.
GL_FRAMEBUFFER_COMPLETE
in opengl.gles20.
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
in opengl.gles20.
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
in opengl.gles20.
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
in opengl.gles20.
GL_FRAMEBUFFER_UNSUPPORTED
in opengl.gles20.
GL_FRAMEBUFFER
in opengl.gles20.
GL_FRONT_AND_BACK
in opengl.gles11.
GL_FRONT_AND_BACK
in opengl.gles20.
GL_FRONT_FACE
in opengl.gles11.
GL_FRONT_FACE
in opengl.gles20.
GL_FRONT
in opengl.gles11.
GL_FRONT
in opengl.gles20.
GL_FUNC_ADD
in opengl.gles20.
GL_FUNC_REVERSE_SUBTRACT
in opengl.gles20.
GL_FUNC_SUBTRACT
in opengl.gles20.
GL_GENERATE_MIPMAP_HINT
in opengl.gles11.
GL_GENERATE_MIPMAP_HINT
in opengl.gles20.
GL_GENERATE_MIPMAP
in opengl.gles11.
GL_GEQUAL
in opengl.gles11.
GL_GEQUAL
in opengl.gles20.
GL_GREATER
in opengl.gles11.
GL_GREATER
in opengl.gles20.
GL_GREEN_BITS
in opengl.gles11.
GL_GREEN_BITS
in opengl.gles20.
GL_HIGH_FLOAT
in opengl.gles20.
GL_HIGH_INT
in opengl.gles20.
GL_IMPLEMENTATION_COLOR_READ_FORMAT
in opengl.gles20.
GL_IMPLEMENTATION_COLOR_READ_TYPE
in opengl.gles20.
GL_INCR_WRAP
in opengl.gles20.
GL_INCR
in opengl.gles11.
GL_INCR
in opengl.gles20.
GL_INFO_LOG_LENGTH
in opengl.gles20.
GL_INT_VEC2
in opengl.gles20.
GL_INT_VEC3
in opengl.gles20.
GL_INT_VEC4
in opengl.gles20.
GL_INTERPOLATE
in opengl.gles11.
GL_INT
in opengl.gles20.
GL_INVALID_ENUM
in opengl.gles11.
GL_INVALID_ENUM
in opengl.gles20.
GL_INVALID_FRAMEBUFFER_OPERATION
in opengl.gles20.
GL_INVALID_OPERATION
in opengl.gles11.
GL_INVALID_OPERATION
in opengl.gles20.
GL_INVALID_VALUE
in opengl.gles11.
GL_INVALID_VALUE
in opengl.gles20.
GL_INVERT
in opengl.gles11.
GL_INVERT
in opengl.gles20.
GL_KEEP
in opengl.gles11.
GL_KEEP
in opengl.gles20.
GL_LEQUAL
in opengl.gles11.
GL_LEQUAL
in opengl.gles20.
GL_LESS
in opengl.gles11.
GL_LESS
in opengl.gles20.
GL_LIGHT0
in opengl.gles11.
GL_LIGHT1
in opengl.gles11.
GL_LIGHT2
in opengl.gles11.
GL_LIGHT3
in opengl.gles11.
GL_LIGHT4
in opengl.gles11.
GL_LIGHT5
in opengl.gles11.
GL_LIGHT6
in opengl.gles11.
GL_LIGHT7
in opengl.gles11.
GL_LIGHT_MODEL_AMBIENT
in opengl.gles11.
GL_LIGHT_MODEL_TWO_SIDE
in opengl.gles11.
GL_LIGHTING
in opengl.gles11.
GL_LINE_LOOP
in opengl.gles11.
GL_LINE_LOOP
in opengl.gles20.
GL_LINE_SMOOTH_HINT
in opengl.gles11.
GL_LINE_SMOOTH
in opengl.gles11.
GL_LINE_STRIP
in opengl.gles11.
GL_LINE_STRIP
in opengl.gles20.
GL_LINE_WIDTH
in opengl.gles11.
GL_LINE_WIDTH
in opengl.gles20.
GL_LINEAR_ATTENUATION
in opengl.gles11.
GL_LINEAR_MIPMAP_LINEAR
in opengl.gles11.
GL_LINEAR_MIPMAP_LINEAR
in opengl.gles20.
GL_LINEAR_MIPMAP_NEAREST
in opengl.gles11.
GL_LINEAR_MIPMAP_NEAREST
in opengl.gles20.
GL_LINEAR
in opengl.gles11.
GL_LINEAR
in opengl.gles20.
GL_LINES
in opengl.gles11.
GL_LINES
in opengl.gles20.
GL_LOGIC_OP_MODE
in opengl.gles11.
GL_LOW_FLOAT
in opengl.gles20.
GL_LOW_INT
in opengl.gles20.
GL_LUMINANCE_ALPHA
in opengl.gles11.
GL_LUMINANCE_ALPHA
in opengl.gles20.
GL_LUMINANCE
in opengl.gles11.
GL_LUMINANCE
in opengl.gles20.
GL_MATRIX_MODE
in opengl.gles11.
GL_MAX_CLIP_PLANES
in opengl.gles11.
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
in opengl.gles20.
GL_MAX_CUBE_MAP_TEXTURE_SIZE
in opengl.gles20.
GL_MAX_FRAGMENT_UNIFORM_VECTORS
in opengl.gles20.
GL_MAX_LIGHTS
in opengl.gles11.
GL_MAX_MODELVIEW_STACK_DEPTH
in opengl.gles11.
GL_MAX_PROJECTION_STACK_DEPTH
in opengl.gles11.
GL_MAX_RENDERBUFFER_SIZE
in opengl.gles20.
GL_MAX_TEXTURE_IMAGE_UNITS
in opengl.gles20.
GL_MAX_TEXTURE_SIZE
in opengl.gles11.
GL_MAX_TEXTURE_SIZE
in opengl.gles20.
GL_MAX_TEXTURE_STACK_DEPTH
in opengl.gles11.
GL_MAX_TEXTURE_UNITS
in opengl.gles11.
GL_MAX_VARYING_VECTORS
in opengl.gles20.
GL_MAX_VERTEX_ATTRIBS
in opengl.gles20.
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
in opengl.gles20.
GL_MAX_VERTEX_UNIFORM_VECTORS
in opengl.gles20.
GL_MAX_VIEWPORT_DIMS
in opengl.gles11.
GL_MAX_VIEWPORT_DIMS
in opengl.gles20.
GL_MEDIUM_FLOAT
in opengl.gles20.
GL_MEDIUM_INT
in opengl.gles20.
GL_MIRRORED_REPEAT
in opengl.gles20.
GL_MODELVIEW_MATRIX
in opengl.gles11.
GL_MODELVIEW_STACK_DEPTH
in opengl.gles11.
GL_MODELVIEW
in opengl.gles11.
GL_MODULATE
in opengl.gles11.
GL_MULTISAMPLE
in opengl.gles11.
GL_NAND
in opengl.gles11.
GL_NEAREST_MIPMAP_LINEAR
in opengl.gles11.
GL_NEAREST_MIPMAP_LINEAR
in opengl.gles20.
GL_NEAREST_MIPMAP_NEAREST
in opengl.gles11.
GL_NEAREST_MIPMAP_NEAREST
in opengl.gles20.
GL_NEAREST
in opengl.gles11.
GL_NEAREST
in opengl.gles20.
GL_NEVER
in opengl.gles11.
GL_NEVER
in opengl.gles20.
GL_NICEST
in opengl.gles11.
GL_NICEST
in opengl.gles20.
GL_NO_ERROR
in opengl.gles11.
GL_NO_ERROR
in opengl.gles20.
GL_NONE
in opengl.gles20.
GL_NOOP
in opengl.gles11.
GL_NORMAL_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_NORMAL_ARRAY_POINTER
in opengl.gles11.
GL_NORMAL_ARRAY_STRIDE
in opengl.gles11.
GL_NORMAL_ARRAY_TYPE
in opengl.gles11.
GL_NORMAL_ARRAY
in opengl.gles11.
GL_NORMALIZE
in opengl.gles11.
GL_NOR
in opengl.gles11.
GL_NOTEQUAL
in opengl.gles11.
GL_NOTEQUAL
in opengl.gles20.
GL_NUM_COMPRESSED_TEXTURE_FORMATS
in opengl.gles11.
GL_NUM_COMPRESSED_TEXTURE_FORMATS
in opengl.gles20.
GL_NUM_SHADER_BINARY_FORMATS
in opengl.gles20.
GL_ONE_MINUS_CONSTANT_ALPHA
in opengl.gles20.
GL_ONE_MINUS_CONSTANT_COLOR
in opengl.gles20.
GL_ONE_MINUS_DST_ALPHA
in opengl.gles11.
GL_ONE_MINUS_DST_ALPHA
in opengl.gles20.
GL_ONE_MINUS_DST_COLOR
in opengl.gles11.
GL_ONE_MINUS_DST_COLOR
in opengl.gles20.
GL_ONE_MINUS_SRC_ALPHA
in opengl.gles11.
GL_ONE_MINUS_SRC_ALPHA
in opengl.gles20.
GL_ONE_MINUS_SRC_COLOR
in opengl.gles11.
GL_ONE_MINUS_SRC_COLOR
in opengl.gles20.
GL_ONE
in opengl.gles11.
GL_ONE
in opengl.gles20.
GL_OPERAND0_ALPHA
in opengl.gles11.
GL_OPERAND0_RGB
in opengl.gles11.
GL_OPERAND1_ALPHA
in opengl.gles11.
GL_OPERAND1_RGB
in opengl.gles11.
GL_OPERAND2_ALPHA
in opengl.gles11.
GL_OPERAND2_RGB
in opengl.gles11.
GL_OR_INVERTED
in opengl.gles11.
GL_OR_REVERSE
in opengl.gles11.
GL_OR
in opengl.gles11.
GL_OUT_OF_MEMORY
in opengl.gles11.
GL_OUT_OF_MEMORY
in opengl.gles20.
GL_PACK_ALIGNMENT
in opengl.gles11.
GL_PACK_ALIGNMENT
in opengl.gles20.
GL_PERSPECTIVE_CORRECTION_HINT
in opengl.gles11.
GL_POINT_DISTANCE_ATTENUATION
in opengl.gles11.
GL_POINT_FADE_THRESHOLD_SIZE
in opengl.gles11.
GL_POINT_SIZE_MAX
in opengl.gles11.
GL_POINT_SIZE_MIN
in opengl.gles11.
GL_POINT_SIZE
in opengl.gles11.
GL_POINT_SMOOTH_HINT
in opengl.gles11.
GL_POINT_SMOOTH
in opengl.gles11.
GL_POINTS
in opengl.gles11.
GL_POINTS
in opengl.gles20.
GL_POLYGON_OFFSET_FACTOR
in opengl.gles11.
GL_POLYGON_OFFSET_FACTOR
in opengl.gles20.
GL_POLYGON_OFFSET_FILL
in opengl.gles11.
GL_POLYGON_OFFSET_FILL
in opengl.gles20.
GL_POLYGON_OFFSET_UNITS
in opengl.gles11.
GL_POLYGON_OFFSET_UNITS
in opengl.gles20.
GL_POSITION
in opengl.gles11.
GL_PREVIOUS
in opengl.gles11.
GL_PRIMARY_COLOR
in opengl.gles11.
GL_PROJECTION_MATRIX
in opengl.gles11.
GL_PROJECTION_STACK_DEPTH
in opengl.gles11.
GL_PROJECTION
in opengl.gles11.
GL_QUADRATIC_ATTENUATION
in opengl.gles11.
GL_RED_BITS
in opengl.gles11.
GL_RED_BITS
in opengl.gles20.
GL_RENDERBUFFER_ALPHA_SIZE
in opengl.gles20.
GL_RENDERBUFFER_BINDING
in opengl.gles20.
GL_RENDERBUFFER_BLUE_SIZE
in opengl.gles20.
GL_RENDERBUFFER_DEPTH_SIZE
in opengl.gles20.
GL_RENDERBUFFER_GREEN_SIZE
in opengl.gles20.
GL_RENDERBUFFER_HEIGHT
in opengl.gles20.
GL_RENDERBUFFER_INTERNAL_FORMAT
in opengl.gles20.
GL_RENDERBUFFER_RED_SIZE
in opengl.gles20.
GL_RENDERBUFFER_STENCIL_SIZE
in opengl.gles20.
GL_RENDERBUFFER_WIDTH
in opengl.gles20.
GL_RENDERBUFFER
in opengl.gles20.
GL_RENDERER
in opengl.gles11.
GL_RENDERER
in opengl.gles20.
GL_REPEAT
in opengl.gles11.
GL_REPEAT
in opengl.gles20.
GL_REPLACE
in opengl.gles11.
GL_REPLACE
in opengl.gles20.
GL_RESCALE_NORMAL
in opengl.gles11.
GL_RGB565
in opengl.gles20.
GL_RGB5_A1
in opengl.gles20.
GL_RGB_SCALE
in opengl.gles11.
GL_RGBA4
in opengl.gles20.
GL_RGBA
in opengl.gles11.
GL_RGBA
in opengl.gles20.
GL_RGB
in opengl.gles11.
GL_RGB
in opengl.gles20.
GL_SAMPLE_ALPHA_TO_COVERAGE
in opengl.gles11.
GL_SAMPLE_ALPHA_TO_COVERAGE
in opengl.gles20.
GL_SAMPLE_ALPHA_TO_ONE
in opengl.gles11.
GL_SAMPLE_BUFFERS
in opengl.gles11.
GL_SAMPLE_BUFFERS
in opengl.gles20.
GL_SAMPLE_COVERAGE_INVERT
in opengl.gles11.
GL_SAMPLE_COVERAGE_INVERT
in opengl.gles20.
GL_SAMPLE_COVERAGE_VALUE
in opengl.gles11.
GL_SAMPLE_COVERAGE_VALUE
in opengl.gles20.
GL_SAMPLE_COVERAGE
in opengl.gles11.
GL_SAMPLE_COVERAGE
in opengl.gles20.
GL_SAMPLER_2D
in opengl.gles20.
GL_SAMPLER_CUBE
in opengl.gles20.
GL_SAMPLES
in opengl.gles11.
GL_SAMPLES
in opengl.gles20.
GL_SCISSOR_BOX
in opengl.gles11.
GL_SCISSOR_BOX
in opengl.gles20.
GL_SCISSOR_TEST
in opengl.gles11.
GL_SCISSOR_TEST
in opengl.gles20.
GL_SET
in opengl.gles11.
GL_SHADE_MODEL
in opengl.gles11.
GL_SHADER_BINARY_FORMATS
in opengl.gles20.
GL_SHADER_COMPILER
in opengl.gles20.
GL_SHADER_SOURCE_LENGTH
in opengl.gles20.
GL_SHADER_TYPE
in opengl.gles20.
GL_SHADING_LANGUAGE_VERSION
in opengl.gles20.
GL_SHININESS
in opengl.gles11.
GL_SHORT
in opengl.gles11.
GL_SHORT
in opengl.gles20.
GL_SMOOTH_LINE_WIDTH_RANGE
in opengl.gles11.
GL_SMOOTH_POINT_SIZE_RANGE
in opengl.gles11.
GL_SMOOTH
in opengl.gles11.
GL_SPECULAR
in opengl.gles11.
GL_SPOT_CUTOFF
in opengl.gles11.
GL_SPOT_DIRECTION
in opengl.gles11.
GL_SPOT_EXPONENT
in opengl.gles11.
GL_SRC0_ALPHA
in opengl.gles11.
GL_SRC0_RGB
in opengl.gles11.
GL_SRC1_ALPHA
in opengl.gles11.
GL_SRC1_RGB
in opengl.gles11.
GL_SRC2_ALPHA
in opengl.gles11.
GL_SRC2_RGB
in opengl.gles11.
GL_SRC_ALPHA_SATURATE
in opengl.gles11.
GL_SRC_ALPHA_SATURATE
in opengl.gles20.
GL_SRC_ALPHA
in opengl.gles11.
GL_SRC_ALPHA
in opengl.gles20.
GL_SRC_COLOR
in opengl.gles11.
GL_SRC_COLOR
in opengl.gles20.
GL_STACK_OVERFLOW
in opengl.gles11.
GL_STACK_UNDERFLOW
in opengl.gles11.
GL_STATIC_DRAW
in opengl.gles11.
GL_STATIC_DRAW
in opengl.gles20.
GL_STENCIL_ATTACHMENT
in opengl.gles20.
GL_STENCIL_BACK_FAIL
in opengl.gles20.
GL_STENCIL_BACK_FUNC
in opengl.gles20.
GL_STENCIL_BACK_PASS_DEPTH_FAIL
in opengl.gles20.
GL_STENCIL_BACK_PASS_DEPTH_PASS
in opengl.gles20.
GL_STENCIL_BACK_REF
in opengl.gles20.
GL_STENCIL_BACK_VALUE_MASK
in opengl.gles20.
GL_STENCIL_BACK_WRITEMASK
in opengl.gles20.
GL_STENCIL_BITS
in opengl.gles11.
GL_STENCIL_BITS
in opengl.gles20.
GL_STENCIL_BUFFER_BIT
in opengl.gles11.
GL_STENCIL_BUFFER_BIT
in opengl.gles20.
GL_STENCIL_CLEAR_VALUE
in opengl.gles11.
GL_STENCIL_CLEAR_VALUE
in opengl.gles20.
GL_STENCIL_FAIL
in opengl.gles11.
GL_STENCIL_FAIL
in opengl.gles20.
GL_STENCIL_FUNC
in opengl.gles11.
GL_STENCIL_FUNC
in opengl.gles20.
GL_STENCIL_INDEX8
in opengl.gles20.
GL_STENCIL_INDEX
in opengl.gles20.
GL_STENCIL_PASS_DEPTH_FAIL
in opengl.gles11.
GL_STENCIL_PASS_DEPTH_FAIL
in opengl.gles20.
GL_STENCIL_PASS_DEPTH_PASS
in opengl.gles11.
GL_STENCIL_PASS_DEPTH_PASS
in opengl.gles20.
GL_STENCIL_REF
in opengl.gles11.
GL_STENCIL_REF
in opengl.gles20.
GL_STENCIL_TEST
in opengl.gles11.
GL_STENCIL_TEST
in opengl.gles20.
GL_STENCIL_VALUE_MASK
in opengl.gles11.
GL_STENCIL_VALUE_MASK
in opengl.gles20.
GL_STENCIL_WRITEMASK
in opengl.gles11.
GL_STENCIL_WRITEMASK
in opengl.gles20.
GL_STREAM_DRAW
in opengl.gles20.
GL_SUBPIXEL_BITS
in opengl.gles11.
GL_SUBPIXEL_BITS
in opengl.gles20.
GL_SUBTRACT
in opengl.gles11.
GL_TEXTURE0
in opengl.gles11.
GL_TEXTURE0
in opengl.gles20.
GL_TEXTURE10
in opengl.gles11.
GL_TEXTURE10
in opengl.gles20.
GL_TEXTURE11
in opengl.gles11.
GL_TEXTURE11
in opengl.gles20.
GL_TEXTURE12
in opengl.gles11.
GL_TEXTURE12
in opengl.gles20.
GL_TEXTURE13
in opengl.gles11.
GL_TEXTURE13
in opengl.gles20.
GL_TEXTURE14
in opengl.gles11.
GL_TEXTURE14
in opengl.gles20.
GL_TEXTURE15
in opengl.gles11.
GL_TEXTURE15
in opengl.gles20.
GL_TEXTURE16
in opengl.gles11.
GL_TEXTURE16
in opengl.gles20.
GL_TEXTURE17
in opengl.gles11.
GL_TEXTURE17
in opengl.gles20.
GL_TEXTURE18
in opengl.gles11.
GL_TEXTURE18
in opengl.gles20.
GL_TEXTURE19
in opengl.gles11.
GL_TEXTURE19
in opengl.gles20.
GL_TEXTURE1
in opengl.gles11.
GL_TEXTURE1
in opengl.gles20.
GL_TEXTURE20
in opengl.gles11.
GL_TEXTURE20
in opengl.gles20.
GL_TEXTURE21
in opengl.gles11.
GL_TEXTURE21
in opengl.gles20.
GL_TEXTURE22
in opengl.gles11.
GL_TEXTURE22
in opengl.gles20.
GL_TEXTURE23
in opengl.gles11.
GL_TEXTURE23
in opengl.gles20.
GL_TEXTURE24
in opengl.gles11.
GL_TEXTURE24
in opengl.gles20.
GL_TEXTURE25
in opengl.gles11.
GL_TEXTURE25
in opengl.gles20.
GL_TEXTURE26
in opengl.gles11.
GL_TEXTURE26
in opengl.gles20.
GL_TEXTURE27
in opengl.gles11.
GL_TEXTURE27
in opengl.gles20.
GL_TEXTURE28
in opengl.gles11.
GL_TEXTURE28
in opengl.gles20.
GL_TEXTURE29
in opengl.gles11.
GL_TEXTURE29
in opengl.gles20.
GL_TEXTURE2
in opengl.gles11.
GL_TEXTURE2
in opengl.gles20.
GL_TEXTURE30
in opengl.gles11.
GL_TEXTURE30
in opengl.gles20.
GL_TEXTURE31
in opengl.gles11.
GL_TEXTURE31
in opengl.gles20.
GL_TEXTURE3
in opengl.gles11.
GL_TEXTURE3
in opengl.gles20.
GL_TEXTURE4
in opengl.gles11.
GL_TEXTURE4
in opengl.gles20.
GL_TEXTURE5
in opengl.gles11.
GL_TEXTURE5
in opengl.gles20.
GL_TEXTURE6
in opengl.gles11.
GL_TEXTURE6
in opengl.gles20.
GL_TEXTURE7
in opengl.gles11.
GL_TEXTURE7
in opengl.gles20.
GL_TEXTURE8
in opengl.gles11.
GL_TEXTURE8
in opengl.gles20.
GL_TEXTURE9
in opengl.gles11.
GL_TEXTURE9
in opengl.gles20.
GL_TEXTURE_2D
in opengl.gles11.
GL_TEXTURE_2D
in opengl.gles20.
GL_TEXTURE_BINDING_2D
in opengl.gles11.
GL_TEXTURE_BINDING_2D
in opengl.gles20.
GL_TEXTURE_BINDING_CUBE_MAP
in opengl.gles20.
GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_TEXTURE_COORD_ARRAY_POINTER
in opengl.gles11.
GL_TEXTURE_COORD_ARRAY_SIZE
in opengl.gles11.
GL_TEXTURE_COORD_ARRAY_STRIDE
in opengl.gles11.
GL_TEXTURE_COORD_ARRAY_TYPE
in opengl.gles11.
GL_TEXTURE_COORD_ARRAY
in opengl.gles11.
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
in opengl.gles20.
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
in opengl.gles20.
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
in opengl.gles20.
GL_TEXTURE_CUBE_MAP_POSITIVE_X
in opengl.gles20.
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
in opengl.gles20.
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
in opengl.gles20.
GL_TEXTURE_CUBE_MAP
in opengl.gles20.
GL_TEXTURE_ENV_COLOR
in opengl.gles11.
GL_TEXTURE_ENV_MODE
in opengl.gles11.
GL_TEXTURE_ENV
in opengl.gles11.
GL_TEXTURE_MAG_FILTER
in opengl.gles11.
GL_TEXTURE_MAG_FILTER
in opengl.gles20.
GL_TEXTURE_MATRIX
in opengl.gles11.
GL_TEXTURE_MIN_FILTER
in opengl.gles11.
GL_TEXTURE_MIN_FILTER
in opengl.gles20.
GL_TEXTURE_STACK_DEPTH
in opengl.gles11.
GL_TEXTURE_WRAP_S
in opengl.gles11.
GL_TEXTURE_WRAP_S
in opengl.gles20.
GL_TEXTURE_WRAP_T
in opengl.gles11.
GL_TEXTURE_WRAP_T
in opengl.gles20.
GL_TEXTURE
in opengl.gles11.
GL_TEXTURE
in opengl.gles20.
GL_TRIANGLE_FAN
in opengl.gles11.
GL_TRIANGLE_FAN
in opengl.gles20.
GL_TRIANGLE_STRIP
in opengl.gles11.
GL_TRIANGLE_STRIP
in opengl.gles20.
GL_TRIANGLES
in opengl.gles11.
GL_TRIANGLES
in opengl.gles20.
GL_TRUE
in opengl.gles11.
GL_TRUE
in opengl.gles20.
GL_UNPACK_ALIGNMENT
in opengl.gles11.
GL_UNPACK_ALIGNMENT
in opengl.gles20.
GL_UNSIGNED_BYTE
in opengl.gles11.
GL_UNSIGNED_BYTE
in opengl.gles20.
GL_UNSIGNED_INT
in opengl.gles20.
GL_UNSIGNED_SHORT_4_4_4_4
in opengl.gles11.
GL_UNSIGNED_SHORT_4_4_4_4
in opengl.gles20.
GL_UNSIGNED_SHORT_5_5_5_1
in opengl.gles11.
GL_UNSIGNED_SHORT_5_5_5_1
in opengl.gles20.
GL_UNSIGNED_SHORT_5_6_5
in opengl.gles11.
GL_UNSIGNED_SHORT_5_6_5
in opengl.gles20.
GL_UNSIGNED_SHORT
in opengl.gles11.
GL_UNSIGNED_SHORT
in opengl.gles20.
GL_VALIDATE_STATUS
in opengl.gles20.
GL_VENDOR
in opengl.gles11.
GL_VENDOR
in opengl.gles20.
GL_VERSION
in opengl.gles11.
GL_VERSION
in opengl.gles20.
GL_VERTEX_ARRAY_BUFFER_BINDING
in opengl.gles11.
GL_VERTEX_ARRAY_POINTER
in opengl.gles11.
GL_VERTEX_ARRAY_SIZE
in opengl.gles11.
GL_VERTEX_ARRAY_STRIDE
in opengl.gles11.
GL_VERTEX_ARRAY_TYPE
in opengl.gles11.
GL_VERTEX_ARRAY
in opengl.gles11.
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_ENABLED
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_POINTER
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_SIZE
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_STRIDE
in opengl.gles20.
GL_VERTEX_ATTRIB_ARRAY_TYPE
in opengl.gles20.
GL_VERTEX_SHADER
in opengl.gles20.
GL_VIEWPORT
in opengl.gles11.
GL_VIEWPORT
in opengl.gles20.
GL_XOR
in opengl.gles11.
GL_ZERO
in opengl.gles11.
GL_ZERO
in opengl.gles20.
glActiveTexture
in opengl.gles11.
glActiveTexture
in opengl.gles20.
glAlphaFunc
in opengl.gles11.
glAttachShader
in opengl.gles20.
glBindAttribLocation
in opengl.gles20.
glBindBuffer
in opengl.gles11.
glBindBuffer
in opengl.gles20.
glBindFramebuffer
in opengl.gles20.
glBindRenderbuffer
in opengl.gles20.
glBindTexture
in opengl.gles11.
glBindTexture
in opengl.gles20.
glBlendColor
in opengl.gles20.
glBlendEquation
in opengl.gles20.
glBlendEquationSeparate
in opengl.gles20.
glBlendFunc
in opengl.gles11.
glBlendFunc
in opengl.gles20.
glBlendFuncSeparate
in opengl.gles20.
glBufferData
in opengl.gles11.
glBufferData
in opengl.gles20.
glBufferSubData
in opengl.gles11.
glBufferSubData
in opengl.gles20.
glCheckFramebufferStatus
in opengl.gles20.
glClear
in opengl.gles11.
glClear
in opengl.gles20.
glClearColor
in opengl.gles11.
glClearColor
in opengl.gles20.
glClearDepthf
in opengl.gles11.
glClearDepthf
in opengl.gles20.
glClearStencil
in opengl.gles11.
glClearStencil
in opengl.gles20.
glClientActiveTexture
in opengl.gles11.
glClipPlanef
in opengl.gles11.
glColor4f
in opengl.gles11.
glColor4ub
in opengl.gles11.
glColorMask
in opengl.gles11.
glColorMask
in opengl.gles20.
glColorPointer
in opengl.gles11.
glColorPointer
in opengl.gles11.
glCompileShader
in opengl.gles20.
glCompressedTexImage2D
in opengl.gles11.
glCompressedTexSubImage2D
in opengl.gles11.
glCopyTexImage2D
in opengl.gles11.
glCopyTexImage2D
in opengl.gles20.
glCopyTexSubImage2D
in opengl.gles11.
glCopyTexSubImage2D
in opengl.gles20.
glCreateBuffer
in opengl.gles20.
glCreateFramebuffer
in opengl.gles20.
glCreateProgram
in opengl.gles20.
glCreateRenderbuffer
in opengl.gles20.
glCreateShader
in opengl.gles20.
glCreateTexture
in opengl.gles20.
glCullFace
in opengl.gles11.
glCullFace
in opengl.gles20.
glDeleteBuffer
in opengl.gles20.
glDeleteBuffers
in opengl.gles11.
glDeleteFramebuffer
in opengl.gles20.
glDeleteProgram
in opengl.gles20.
glDeleteRenderbuffer
in opengl.gles20.
glDeleteShader
in opengl.gles20.
glDeleteTexture
in opengl.gles20.
glDeleteTextures
in opengl.gles11.
glDepthFunc
in opengl.gles11.
glDepthFunc
in opengl.gles20.
glDepthMask
in opengl.gles11.
glDepthMask
in opengl.gles20.
glDepthRangef
in opengl.gles11.
glDepthRangef
in opengl.gles20.
glDetachShader
in opengl.gles20.
glDisable
in opengl.gles11.
glDisable
in opengl.gles20.
glDisableClientState
in opengl.gles11.
glDisableVertexAttribArray
in opengl.gles20.
glDrawArrays
in opengl.gles11.
glDrawArrays
in opengl.gles20.
glDrawElements
in opengl.gles11.
glDrawElements
in opengl.gles20.
glDrawElements
in opengl.gles11.
glDrawElements
in opengl.gles20.
glEnable
in opengl.gles11.
glEnable
in opengl.gles20.
glEnableClientState
in opengl.gles11.
glEnableVertexAttribArray
in opengl.gles20.
glFinish
in opengl.gles11.
glFinish
in opengl.gles20.
glFlush
in opengl.gles11.
glFlush
in opengl.gles20.
glFogf
in opengl.gles11.
glFogfv
in opengl.gles11.
glFramebufferRenderbuffer
in opengl.gles20.
glFramebufferTexture2D
in opengl.gles20.
glFrontFace
in opengl.gles11.
glFrontFace
in opengl.gles20.
glFrustumf
in opengl.gles11.
glGenBuffers
in opengl.gles11.
glGenerateMipmap
in opengl.gles20.
glGenTextures
in opengl.gles11.
glGetActiveAttrib
in opengl.gles20.
glGetActiveUniform
in opengl.gles20.
glGetAttachedShaders
in opengl.gles20.
glGetAttribLocation
in opengl.gles20.
glGetBooleanv
in opengl.gles20.
glGetBufferParameteriv
in opengl.gles20.
glGetBufferParameteriv
in opengl.gles11.
glGetClipPlanef
in opengl.gles11.
glGetError
in opengl.gles11.
glGetError
in opengl.gles20.
glGetFloatv
in opengl.gles20.
glGetFloatv
in opengl.gles11.
glGetFramebufferAttachmentParameteriv
in opengl.gles20.
glGetIntegerv
in opengl.gles20.
glGetIntegerv
in opengl.gles11.
glGetLightfv
in opengl.gles11.
glGetMaterialfv
in opengl.gles11.
glGetProgramInfoLog
in opengl.gles20.
glGetProgramiv
in opengl.gles20.
glGetRenderbufferParameteriv
in opengl.gles20.
glGetShaderInfoLog
in opengl.gles20.
glGetShaderiv
in opengl.gles20.
glGetShaderSource
in opengl.gles20.
glGetString
in opengl.gles11.
glGetString
in opengl.gles20.
glGetTexEnvfv
in opengl.gles11.
glGetTexEnviv
in opengl.gles11.
glGetTexParameterfv
in opengl.gles20.
glGetTexParameterfv
in opengl.gles11.
glGetTexParameteriv
in opengl.gles20.
glGetTexParameteriv
in opengl.gles11.
glGetUniformfv
in opengl.gles20.
glGetUniformiv
in opengl.gles20.
glGetUniformLocation
in opengl.gles20.
glGetVertexAttribfv
in opengl.gles20.
glGetVertexAttribiv
in opengl.gles20.
glHint
in opengl.gles11.
glHint
in opengl.gles20.
glIsBuffer
in opengl.gles11.
glIsBuffer
in opengl.gles20.
glIsEnabled
in opengl.gles11.
glIsEnabled
in opengl.gles20.
glIsFramebuffer
in opengl.gles20.
glIsProgram
in opengl.gles20.
glIsRenderbuffer
in opengl.gles20.
glIsShader
in opengl.gles20.
glIsTexture
in opengl.gles11.
glIsTexture
in opengl.gles20.
glLightf
in opengl.gles11.
glLightfv
in opengl.gles11.
glLightModelf
in opengl.gles11.
glLightModelfv
in opengl.gles11.
glLineWidth
in opengl.gles11.
glLineWidth
in opengl.gles20.
glLinkProgram
in opengl.gles20.
glLoadIdentity
in opengl.gles11.
glLoadMatrixf
in opengl.gles11.
glLogicOp
in opengl.gles11.
glMaterialf
in opengl.gles11.
glMaterialfv
in opengl.gles11.
glMatrixMode
in opengl.gles11.
glMultiTexCoord4f
in opengl.gles11.
glMultMatrixf
in opengl.gles11.
glNormal3f
in opengl.gles11.
glNormalPointer
in opengl.gles11.
glNormalPointer
in opengl.gles11.
GlobalInfo
in reflection.
GlobalInfo objects describe globals declared by your program.
Global
in Programming/Keywords/
Declares a global variable.
glOrthof
in opengl.gles11.
glPixelStorei
in opengl.gles11.
glPixelStorei
in opengl.gles20.
glPointParameterf
in opengl.gles11.
glPointSize
in opengl.gles11.
glPolygonOffset
in opengl.gles11.
glPolygonOffset
in opengl.gles20.
glPopMatrix
in opengl.gles11.
glPushMatrix
in opengl.gles11.
glReadPixels
in opengl.gles11.
glReadPixels
in opengl.gles20.
glReleaseShaderCompiler
in opengl.gles20.
glRenderbufferStorage
in opengl.gles20.
glRotatef
in opengl.gles11.
glSampleCoverage
in opengl.gles11.
glSampleCoverage
in opengl.gles20.
glScalef
in opengl.gles11.
glScissor
in opengl.gles11.
glScissor
in opengl.gles20.
glShadeModel
in opengl.gles11.
glShaderSource
in opengl.gles20.
glStencilFunc
in opengl.gles11.
glStencilFunc
in opengl.gles20.
glStencilFuncSeparate
in opengl.gles20.
glStencilMask
in opengl.gles11.
glStencilMask
in opengl.gles20.
glStencilMaskSeparate
in opengl.gles20.
glStencilOp
in opengl.gles11.
glStencilOp
in opengl.gles20.
glStencilOpSeparate
in opengl.gles20.
glTexCoordPointer
in opengl.gles11.
glTexCoordPointer
in opengl.gles11.
glTexEnvf
in opengl.gles11.
glTexEnvfv
in opengl.gles11.
glTexEnvi
in opengl.gles11.
glTexEnviv
in opengl.gles11.
glTexImage2D
in opengl.gles11.
glTexImage2D
in opengl.gles20.
glTexImage2D
in opengl.gles20.
glTexParameterf
in opengl.gles11.
glTexParameterf
in opengl.gles20.
glTexParameterfv
in opengl.gles11.
glTexParameteri
in opengl.gles11.
glTexParameteri
in opengl.gles20.
glTexParameteriv
in opengl.gles11.
glTexSubImage2D
in opengl.gles11.
glTexSubImage2D
in opengl.gles20.
glTexSubImage2D
in opengl.gles20.
glTranslatef
in opengl.gles11.
glUniform1f
in opengl.gles20.
glUniform1fv
in opengl.gles20.
glUniform1i
in opengl.gles20.
glUniform1iv
in opengl.gles20.
glUniform2f
in opengl.gles20.
glUniform2fv
in opengl.gles20.
glUniform2i
in opengl.gles20.
glUniform2iv
in opengl.gles20.
glUniform3f
in opengl.gles20.
glUniform3fv
in opengl.gles20.
glUniform3i
in opengl.gles20.
glUniform3iv
in opengl.gles20.
glUniform4f
in opengl.gles20.
glUniform4fv
in opengl.gles20.
glUniform4i
in opengl.gles20.
glUniform4iv
in opengl.gles20.
glUniformMatrix2fv
in opengl.gles20.
glUniformMatrix3fv
in opengl.gles20.
glUniformMatrix4fv
in opengl.gles20.
glUseProgram
in opengl.gles20.
glValidateProgram
in opengl.gles20.
glVertexAttrib1f
in opengl.gles20.
glVertexAttrib1fv
in opengl.gles20.
glVertexAttrib2f
in opengl.gles20.
glVertexAttrib2fv
in opengl.gles20.
glVertexAttrib3f
in opengl.gles20.
glVertexAttrib3fv
in opengl.gles20.
glVertexAttrib4f
in opengl.gles20.
glVertexAttrib4fv
in opengl.gles20.
glVertexAttribPointer
in opengl.gles20.
glVertexAttribPointer
in opengl.gles20.
glVertexPointer
in opengl.gles11.
glVertexPointer
in opengl.gles11.
glViewport
in opengl.gles11.
glViewport
in opengl.gles20.
GrabImage
in mojo.graphics.Image.
GrabImage creates a new image by 'grabbing' a rectangular region of the current image.
HALFPI
in cerberus.math.
HandleX
in mojo.graphics.Image.
Returns the x coordinate of the current image's handle.
HandleX
in mojo2.graphics.Image.
Get image x handle.
HandleY
in mojo.graphics.Image.
Returns the y coordinate of the current image's handle.
HandleY
in mojo2.graphics.Image.
Get image y handle.
Height
in mojo.app.DisplayMode.
Returns the height of the display mode.
Height
in mojo.graphics.Image.
Returns the height of the image, in pixels.
Height
in mojo2.graphics.Canvas.
Get canvas height.
Height
in mojo2.graphics.Image.
Get image height.
Height
in mojo2.graphics.Texture.
Get texture height.
HideAdView
in brl.admob.Admob.
Hides the ad view and disables ads
HideMouse
in mojo.app.
Hides the mouse pointer if the underlying operating system supports a mouse.
Home
 
This is the ultimate guide to Cerberus X.
Host
in brl.socket.SocketAddress.
Returns the socket address host.
HostOS
in os.
Returns a string describing the host operating system.
HttpRequest
in brl.httprequest.
The httprequest module allows you to perform http requests such as GET and POST.
IAsyncEventSource
in brl.asyncevent.
Identifier
in brl.cerberusstore.Product.
The iTunes connect or GooglePlay product identifier.
If
in Programming/Keywords/
Marks the start of a conditional If block.
ILayer
in mojo2.renderer.
ILight
in mojo2.renderer.
ILinkResolver
in brl.markdown.
Image
in mojo.graphics.
An image is a rectangular area of pixels, loaded from an image file with LoadImage or grabbed from another image with GrabImage.
Image
in mojo2.graphics.
An image is a rectangular area of pixels within a material, that can be drawn using one of the DrawList.DrawImage methods.
ImagesLoading
in mojo2.graphics.Image.
Returns true if any images are currently busy loading.
Implements
in Programming/Keywords/
Declares that a class implements the methods of the specified interface.
Import
in Programming/Keywords/
Module import directive.
Indexes
 
If you know the name of the thing you're looking for, but not its location, browse these indexes.
Insert
in cerberus.stack.Stack.
Inserts value into the stack, shifting existing elements up if necessary.
Insert
in cerberus.set.Set.
Inserts value into the set.
InsertAfter
in cerberus.list.List.
Inserts data after the first element in the list equal to where.
InsertAfterEach
in cerberus.list.List.
Inserts data after each element in the list equal to where.
InsertBefore
in cerberus.list.List.
Inserts data before the first element in the list equal to where.
InsertBeforeEach
in cerberus.list.List.
Inserts data before each element in the list equal to where.
Instance
in brl.json.JsonNull.
Returns an object of JsonNull.
Instance
in brl.json.JsonBool.
Returns an object of either JsonBool with value true or JsonBool with value false.
Instance
in brl.json.JsonNumber.
Returns an object containing value.
Instance
in brl.json.JsonString.
Returns an object containing string.
IntClass
in reflection.
Returns the class of an 'int'.
IntDeque
in cerberus.deque.
IntDeque is a convenience class for handling deques of integer values.
Interface
in Programming/Keywords/
Declares an interface.
Interfaces
 
All documented interfaces
Interfaces
in reflection.ClassInfo.
Get interfaces implemented by this class, or interfaces extended by this interface.
IntList
in cerberus.list.
IntList is a convenience class for handling lists of integer values.
IntMap
in cerberus.map.
An IntMap is a convenience class for mapping ints to values.
IntObject
in cerberus.boxes.
The IntObject box class can be used to encapsulate an int value inside an object.
Int
in Programming/Keywords/
The built-in int type.
IntSet
in cerberus.set.
IntSet is a convenience class for managing sets of ints.
IntStack
in cerberus.stack.
An IntStack is a convenience class for dealing with stacks of ints.
IntValue
in brl.json.JsonNumber.
Returns integer value.
IntValue
in brl.json.JsonValue.
For a JsonNumber, this will return its numerical value as int.
Invoke
in reflection.MethodInfo.
Invoke method.
Invoke
in reflection.FunctionInfo.
Invoke function.
IOnAcceptComplete
in brl.socket.
IOnBindComplete
in brl.socket.
IOnBuyProductComplete
in brl.cerberusstore.
IOnConnectComplete
in brl.socket.
IOnGetOwnedProductsComplete
in brl.cerberusstore.
IOnHttpRequestComplete
in brl.httprequest.
IOnLoadDataComplete
in brl.databuffer.
IOnLoadImageComplete
in mojo.asyncloaders.
IOnLoadSoundComplete
in mojo.asyncloaders.
IOnOpenStoreComplete
in brl.cerberusstore.
IOnPoolAllocate
in brl.pool.
When implemented by a class pools will automatically call OnPoolAllocate when an object gets allocated.
IOnPoolFree
in brl.pool.
When implemented by a class pools will automatically call OnPoolFree when an object gets freed.
IOnReceiveComplete
in brl.socket.
IOnReceiveFromComplete
in brl.socket.
IOnSendComplete
in brl.socket.
IOnSendToComplete
in brl.socket.
IPrettifier
in brl.markdown.
IsBound
in brl.socket.Socket.
Returns true if the socket is currently bound to a local address.
IsConnected
in brl.socket.Socket.
Return true id the socket is currently connected to a remote host.
IsEmpty
in brl.ringbuffer.RingBuffer.
Returns true if the buffer is empty, ie: CanGet=0.
IsEmpty
in cerberus.deque.Deque.
Returns true if the deque is empty.
IsEmpty
in cerberus.list.List.
Return True if the list is empty, else False.
IsEmpty
in cerberus.map.Map.
Returns True if the map is empty, ie: contains no keys/values, else False.
IsEmpty
in cerberus.set.Set.
Returns True if the set is empty, ie: contains no items, else False.
IsEmpty
in cerberus.stack.Stack.
Return True if the stack is empty, ie: it contains no items, else False.
IsFull
in brl.ringbuffer.RingBuffer.
Return true if the buffer is full, ie: CanPut=0.
IsRunning
in brl.process.Process.
Returns true is process is currently running.
Join
in cerberus.list.StringList.
Concatenates the elements of the list together, inserting the specified separator between each element.
Join
in cerberus.stack.StringStack.
Concatenates the elements of the stack and joins them together with separator.
Join
in cerberus.lang.String.
Creates a single string by joining together each element of pieces, using the current string as a separator.
JoyDown
in mojo.input.
Return 1 if the specified joystick button is currently held down, else 0.
JoyHit
in mojo.input.
Return the number of times the specified joystick button has been pressed since the last OnUpdate.
JoyX
in mojo.input.
Returns the x, or horizontal, state of a joystick.
JoyY
in mojo.input.
Returns the y, or vertical, state of a joystick.
JoyZ
in mojo.input.
On Playstation/Xbox style controllers, JoyZ returns the state of the analog shoulder controls.
JsonArray
in brl.json.
JSON arrays are ordered lists of values in square brackets, e.g.
JsonBool
in brl.json.
Value representing a bool.
JsonError
in brl.json.
Object thrown when
JsonNull
in brl.json.
Value representing null.
JsonNumber
in brl.json.
Value representing a number.
JsonObject
in brl.json.
JSON objects are collections of pairs in curly brackets, e.g.
JsonParser
in brl.json.
The json parser is used to translate a JSON string to json.
JsonString
in brl.json.
Value representing a string.
JsonValue
in brl.json.
This base class provides some fall-back functionality for the specific json value
Key codes
in Programming/
The following constants are for use with KeyDown and KeyHit:
Key
in cerberus.map.Node.
Returns the key contained in the map node.
KeyDown
in mojo.input.
Returns 1 if the specified key is currently held down, otherwise 0.
KeyHit
in mojo.input.
Returns the number of times the specified key has been hit since the last OnUpdate.
Keys
in cerberus.map.Map.
Returns an object that can be used to iterate through all keys in a map with a For Eachin loop.
Keywords
in Programming/
The identifiers below are language keywords and are reserved for use by the Cerberus X language; these keywords are case-insensitive.
Kill
in brl.process.Process.
Kills process.
Language reference
in Programming/
This manual describes the syntax and general concepts behind the core Cerberus X language.
Last
in cerberus.list.List.
Returns the last element in the list.
LastNode
in cerberus.list.List.
Returns the last node in the last, or Null if the list is empty.
LastNode
in cerberus.map.Map.
Returns the last node in the map.
LayerFogColor
in mojo2.renderer.ILayer.
Get 4 component fog color for layer.
LayerLightMaskImage
in mojo2.renderer.ILayer.
Get layer lightmask image.
LayerMatrix
in mojo2.renderer.ILayer.
Get 4x4 layer matrix.
Layers
in mojo2.renderer.Renderer.
Get layer stack.
Length
in brl.databuffer.DataBuffer.
Returns the length, in bytes, of the data buffer.
Length
in brl.datastream.DataStream.
Returns the length of the data in the databuffer object wrapped by this datastream.
Length
in brl.json.JsonArray.
Returns length of the array.
Length
in brl.stream.Stream.
Returns the stream length if the stream is seekable, else 0.
Length
in cerberus.deque.Deque.
Returns the number of items in the deque.
Length
in cerberus.lang.Array.
Returns the number of elements contained in the array.
Length
in cerberus.lang.String.
Returns the number of characters contained in the string.
Length
in cerberus.stack.Stack.
Returns the number of items in the stack.
Length
in cerberus.stack.Stack.
Sets the number of items in the stack.
Licence information
 
For Microsoft Windows users.
LightColor
in mojo2.renderer.ILight.
Get 4 component light color.
LightImage
in mojo2.renderer.ILight.
Get image used for textured lighting.
LightMaskShader
in mojo2.graphics.Shader.
Returns a stock shader for drawing light textures and light mask effects.
LightMatrix
in mojo2.renderer.ILight.
Get 4x4 light matrix.
LightRange
in mojo2.renderer.ILight.
Get light range.
LightType
in mojo2.renderer.ILight.
Get light type - 0 for disabled, 1 for point light.
Additional modules and tools for Cerberus X can be found at the following places:
List
in cerberus.list.
A linked list is a container style data structure that provides efficient support for the addition, removal and sequential traversal of objects.
Load
in brl.databuffer.DataBuffer.
Creates and returns a databuffer containing the binary contents of the specified file.
Load
in mojo.graphics.Font.
Loads a bitmap font file created in tools like GlyphDesigner and alike.
Load
in mojo2.graphics.Font.
Loads a bitmap font file created in tools like GlyphDesigner and alike.
Load
in mojo2.graphics.Image.
Load an image from path.
Load
in mojo2.graphics.Texture.
Load a texture from a file.
Load
in mojo.graphics.Font.
Load a fixed width font from imagePath.
Load
in mojo2.graphics.Font.
Load a fixed width font from imagePath.
Load
in mojo.graphics.Font.
Load a fixed width font from path.
Load
in mojo2.graphics.Font.
Load a fixed width font from path.
Load
in mojo2.graphics.Material.
Load a material.
LoadAsync
in brl.databuffer.DataBuffer.
Loads a databuffer asynchronously.
LoadDir
in os.
Loads the file names in the directory specified by path into a string array.
LoadDir
in brl.filesystem.
Loads the file names in the directory specified by path into a string array.
LoadDir
in os.
Loads the file names in the directory specified by path into a string array.
LoadFrames
in mojo2.graphics.Image.
Load image frames from path.
LoadImage
in mojo.graphics.
Loads an image from path.
LoadImage
in mojo.graphics.
Loads an image from path.
LoadImageAsync
in mojo.asyncloaders.
Begins loading an image asynchronously.
LoadImageData
in opengl.gles11.
LoadImageData is a helper function that loads an image in your app's .data directory into a databuffer.
LoadImageData
in opengl.gles20.
LoadImageData is a helper function that loads an image in your app's .data directory into a databuffer.
Loading
in mojo2.graphics.Image.
Returns true if image is currently busy loading.
LoadSound
in mojo.audio.
Loads a sound from the specified path and returns it.
LoadSoundAsync
in mojo.asyncloaders.
Begins loading a sound asynchronously.
LoadState
in mojo.app.
Loads a string representing the application's persistant state as previously saved with SaveState.
LoadString
in mojo.app.
Loads a string from path.
LoadString
in os.
Loads a string from the file at path.
LocalAddress
in brl.socket.Socket.
Returns the local address of the socket.
Local
in Programming/Keywords/
Declares a local variable.
Log
in cerberus.math.
Returns the natural logarithm of x.
Makedocs templates
in Tools/Makedocs/
Makedocs uses templates to transform cerberusdocs into html files.
Makedocs usage
in Tools/Makedocs/
To run Makedocs from command line, the following syntax applies:
Makedocs
in Tools/
The Makedocs tool converts Cerberus X documentation to html.
Map
in cerberus.map.
A map is a container style object that provides a mechanism for associating key objects with value objects.
Markdown
in brl.markdown.
The Markdown class is used to transform text using the brl.markdown syntax.
Material
in mojo2.graphics.
Materials contain shader parameters that map to shader uniforms variables when rendering.
MatrixStackCapacity
in mojo2.graphics.DrawList.
Get the maximum number of 2d matrices that can be pushed onto the matrix stack using PushMatrix.
MatteShader
in mojo2.graphics.Shader.
Returns a stock matte shader for drawing lit sprites with no specular or normal maps.
Max
in cerberus.math.
Returns the maximum of x and y.
Max
in cerberus.math.
Returns the maximum of x and y.
Memory management
in Programming/
Cerberus X is a garbage collected language, and depends on the underlying target language to provide memory management.
MethodInfo
in reflection.
MethodInfo objects describe methods declared by your program.
Method
in Programming/Keywords/
Declares the beginning of a class method.
MidHandle
in mojo.graphics.Image.
Millisecs
in mojo.app.
Returns the number milliseconds (thousandths of a second) the application has been running.
Min
in cerberus.math.
Returns the minimum of x and y.
Min
in cerberus.math.
Returns the minimum of x and y.
ModelMatrix
in mojo2.graphics.Canvas.
Get model matrix.
Mod
in Programming/Keywords/
Mod is a mathematical operator which performs the modulo (aka.
Modules
 
All documented modules
mojo
 
Tho mojo modules provide a lightweight programming framework designed primarily for creating simple 2d games.
mojo.app
 
The app module contains the App class along with various support functions for controlling application behaviour.
mojo.asyncloaders
 
The Mojo async loaders module provides functions and interfaces for loading images and sounds asynchronously.
mojo.audio
 
The audio module contains functions for playing sounds and music.
mojo.graphics
 
The graphics module contains various functions that allow you to draw 2D graphics on all supported Cerberus target platforms.
mojo.input
 
The input module allows programs to check for user input from a wide variety of devices such keyboards, mice, joysticks and touchsceens.
mojo.keycodes
 
The keycodes module contains keyboard and input related constants.
mojo2
 
The mojo2 module is a new 2d rendering module for Cerberus.
Mojo2 samples
 
Samples for the advanced 2D rendering API.
mojo2.graphics
 
mojo2.renderer
 
MouseDown
in mojo.input.
Returns 1 if the specified mouse button is currently held down, otherwise 0.
MouseHit
in mojo.input.
Returns the number of times the specified mouse button has been pressed since the last OnUpdate.
MouseX
in mojo.input.
Returns the x coordinate of the mouse pointer.
MouseY
in mojo.input.
Returns the y coordinate of the mouse pointer.
MouseZ
in mojo.input.
Returns 1 or -1 if the mouse wheel was used since last update.
MusicState
in mojo.audio.
Returns 1 if music is currently playing, 0 if music is currently not playing or -1 if music state cannot be determined.
Name
in reflection.ClassInfo.
Get name of class.
Name
in reflection.ConstInfo.
Get name of const.
Name
in reflection.FieldInfo.
Name of field.
Name
in reflection.FunctionInfo.
Get name of function.
Name
in reflection.GlobalInfo.
Get name of global.
Name
in reflection.MethodInfo.
Get name of method.
New
in brl.httprequest.HttpRequest.
Creates a new HttpRequest object.
New
in brl.json.JsonObject.
Creates a new empty json object.
New
in brl.socket.SocketAddress.
Creates a new empty socket adress.
New
in brl.tcpstream.TcpStream.
Creates a new unconnected tcp stream.
New
in cerberus.boxes.BoolObject.
Creates a new BoolObject that contains the value false.
New
in cerberus.boxes.FloatObject.
Creates a new FloatObject with the value 0.0
New
in cerberus.boxes.IntObject.
Creates a new IntObject with the value 0.
New
in cerberus.boxes.StringObject.
Creates a new StringObject containing an empty string.
New
in cerberus.deque.Deque.
Creates a new empty deque.
New
in cerberus.list.FloatList.
Creates a new empty FloatList.
New
in cerberus.list.IntList.
Creates a new empty IntList.
New
in cerberus.list.List.
Creates a new, initially empty list object.
New
in cerberus.list.StringList.
Creates a new empty StringList.
New
in cerberus.map.FloatMap.
Create a new empty FloatMap.
New
in cerberus.map.IntMap.
Creates a new empty IntMap.
New
in cerberus.map.StringMap.
Create a new empty StringMap.
New
in cerberus.set.FloatSet.
New
in cerberus.set.IntSet.
New
in cerberus.set.StringSet.
New
in cerberus.stack.FloatStack.
Creates a new empty FloatStack.
New
in cerberus.stack.IntStack.
Creates a new empty IntStack.
New
in cerberus.stack.Stack.
Creates a new empty Stack object.
New
in cerberus.stack.StringStack.
Creates a new empty StringStack.
New
in mojo2.graphics.Canvas.
Create a new canvas for rendering directly to the app window.
New
in mojo2.renderer.Renderer.
Create a new renderer.
New
in brl.pool.Pool.
Creates a pool containing initialCapacity objects.
New
in brl.socket.Socket.
Creates a new socket.
New
in brl.json.JsonBool.
New value from bool.
New
in cerberus.boxes.BoolObject.
Creates a new BoolObject with the given value.
New
in brl.datastream.DataStream.
Creates a datastream that wraps the specified databuffer.
New
in brl.datastream.DataStream.
Creates a datastream that wraps the specified databuffer.
New
in cerberus.boxes.FloatObject.
Creates a new FloatObject with the given float value.
New
in cerberus.boxes.IntObject.
Creates a new IntObject with the given float value converted to an int.
New
in cerberus.boxes.StringObject.
Creates a new StringObject containing a string representing the given float value.
New
in brl.markdown.Markdown.
Creates a new markdown object with the given link resolver.
New
in mojo2.graphics.Image.
Create a new image from a region within an existing image.
New
in brl.json.JsonArray.
Creates a new array of the given length.
New
in cerberus.boxes.FloatObject.
Creates a new FloatObject with the given int value converted to a float.
New
in cerberus.boxes.IntObject.
Creates a new IntObject with the given value.
New
in cerberus.boxes.StringObject.
Creates a new StringObject containing a string representing the given int value.
New
in brl.databuffer.DataBuffer.
Creates a new data buffer of the specified byte length.
New
in brl.ringbuffer.RingBuffer.
Creates a new ringbuffer with the given capacity.
New
in mojo2.graphics.Image.
Create a new image for rendering.
New
in mojo2.graphics.Texture.
The width and height are parameters are the size of the new texture.
New
in brl.json.JsonArray.
Creates a new array with the given data.
New
in cerberus.set.Set.
Extending classes should invoke this method with a valid map object to be used to implement the set.
New
in mojo2.graphics.Image.
Create a new image from a material.
New
in mojo2.graphics.Image.
Create a new image representing a rect within a material.
New
in mojo2.graphics.Canvas.
Create a new canvas for rendering to the given renderTarget, which must be an image or a texture.
New
in mojo2.graphics.Material.
Create a new material.
New
in brl.tcpstream.TcpStream.
Creates a new tcp stream from an existing socket.
New
in brl.socket.SocketAddress.
Creates a new socket address that is a copy of the given address.
New
in brl.json.JsonNumber.
New value from string.
New
in brl.json.JsonObject.
Creates a new json object from the given JSON string.
New
in brl.json.JsonParser.
New json parser object parsing json.
New
in brl.json.JsonString.
New value from string.
New
in cerberus.boxes.StringObject.
Creates a new StringObject containing the given string value.
New
in brl.url.Url.
Creates a new url object.
New
in brl.socket.SocketAddress.
Creates a new socket address with the given host and port.
New
in brl.httprequest.HttpRequest.
Creates a new http request object and opens it.
New
in brl.json.JsonObject.
Creates a new json object with the given data.
New
in cerberus.boxes.ArrayObject.
Creates a new ArrayObject with the given array.
New
in cerberus.deque.Deque.
Creates a new deque containing the elements of data.
New
in cerberus.list.List.
Creates a new list object initialized with an array of values.
New
in cerberus.stack.Stack.
Creates a new Stack object initialized with an array of values.
NewArray
in reflection.ClassInfo.
Create a new array box object of this class.
NewInstance
in reflection.ClassInfo.
Create a new object of this class.
New
in Programming/Keywords/
Creates and initialises object of given class.
NextNode
in cerberus.list.Node.
Returns the node after this node, or null if this is the last node in the list.
NextNode
in cerberus.map.Node.
Returns the next node in the map, or Null if this is the last node.
Next
in Programming/Keywords/
Declares the end of a For/Next loop.
Node
in cerberus.list.
See the List class for a discussion of list nodes.
Node
in cerberus.map.
Node objects are responsible for mainting the association between keys and values in a map.
Notify
in brl.requesters.
Notify activates a simple modal dialog informing the user of an event.
Not
in Programming/Keywords/
The logical Not operator.
Null
in Programming/Keywords/
Null is a Cerberus X constant representing an empty Object reference.
Object
in cerberus.lang.
The Object class is the common base class for all cerberus objects.
ObjectEnumerator
in cerberus.deque.Deque.
Returns an object enumerator for use with For Eachin loops.
ObjectEnumerator
in cerberus.list.List.
Returns an object enumerator for use with For Eachin loops.
ObjectEnumerator
in cerberus.map.Map.
Returns an object that can be used to enumerate all nodes in the map with a For EachIn loop.
ObjectEnumerator
in cerberus.set.Set.
Returns an enumerator object that allows sets to be used with For Eachin loops.
ObjectEnumerator
in cerberus.stack.Stack.
Returns an enumerator object suitable for use with For EachIn loops.
Offset
in brl.datastream.DataStream.
Returns the start offset of the data in the databuffer object wrapped by this datastream.
OnAcceptComplete
in brl.socket.IOnAcceptComplete.
This method is called when an asynchronous socket accept operation completes.
OnBack
in mojo.app.App.
This method is called when the application's 'back' button is pressed.
OnBindComplete
in brl.socket.IOnBindComplete.
This method is called when a asynchronous socket bind operation completes.
OnBuyProductComplete
in brl.cerberusstore.IOnBuyProductComplete.
Called when a CerberusStore.BuyProductAsync operation completes.
OnClose
in mojo.app.App.
This method is called when the application's 'close' button is pressed.
OnConnectComplete
in brl.socket.IOnConnectComplete.
This method is called when a asynchronous socket connect operation completes.
OnCreate
in mojo.app.App.
The OnCreate method is called when mojo has been initialized and the application has been successfully created.
OnGetOwnedProductsComplete
in brl.cerberusstore.IOnGetOwnedProductsComplete.
Called when a CerberusStore.GetOwnedProductsAsync operation completes.
OnHttpRequestComplete
in brl.httprequest.IOnHttpRequestComplete.
Called when an http request completes.
OnInitMaterial
in mojo2.graphics.Shader.
Classes that extend Shader must set defalut values for all valid shader parameters in this method.
OnLoadDataComplete
in brl.databuffer.IOnLoadDataComplete.
This method is called by DataBuffer.LoadAsync when data has finished loading.
OnLoadImageComplete
in mojo.asyncloaders.IOnLoadImageComplete.
Called when an image has completed loading.
OnLoading
in mojo.app.App.
This method is called instead of OnRender when the application should render itself, but there are still resources such as images or sounds in the process of being loaded.
OnLoadMaterial
in mojo2.graphics.Shader.
Classes that extend Shader should load textures and other valid shader parameters from path into material in this method.
OnLoadSoundComplete
in mojo.asyncloaders.IOnLoadSoundComplete.
Called when a sound has completed loading.
OnOpenStoreComplete
in brl.cerberusstore.IOnOpenStoreComplete.
Called when the store has finished opening.
OnPoolAllocate
in brl.pool.IOnPoolAllocate.
Will be called when an object gets allocated by a pool using the Pool.Allocate method.
OnPoolFree
in brl.pool.IOnPoolFree.
Will be called when an object gets freed by a pool using the Pool.Free method.
OnReceiveComplete
in brl.socket.IOnReceiveComplete.
This method is called when an asynchronous socket Receive or ReceiveAll operation completes.
OnReceiveFromComplete
in brl.socket.IOnReceiveFromComplete.
This method is called when an asynchronous socket ReceiveFrom operation completes.
OnRender
in mojo.app.App.
This method is automatically called when the application should render itself, such as when the application first starts, or following an OnUpdate call.
OnRenderLayer
in mojo2.renderer.ILayer.
Render current layer.
OnResize
in mojo.app.App.
This method is called when the application's device window size changes.
OnResume
in mojo.app.App.
OnResume is called when your application is made active again after having been in a suspended state.
OnSendComplete
in brl.socket.IOnSendComplete.
This method is called when an asynchronous socket Send operation completes.
OnSendToComplete
in brl.socket.IOnSendToComplete.
This method is called when an asynchronous socket SendTo operation completes.
OnSuspend
in mojo.app.App.
OnSuspend is called when your application is about to be suspended.
OnUpdate
in mojo.app.App.
This method is automatically called when the application's update timer ticks.
Open
in brl.filestream.FileStream.
Opens a new filestream.
Open
in brl.httprequest.HttpRequest.
Opens an http request.
opengl
 
The opengl module provides access to various OpenGL APIs on targets with OpenGL support.
opengl.gles11
 
The gles11 module provides a Cerberus wrapper for the OpenGL ES 1.1 API on the android, glfw and ios target.
opengl.gles20
 
The gles20 module provides a Cerberus wrapper for the OpenGL ES 2.0 API on the android, glfw, html5 and ios targets.
OpenStoreAsync
in brl.cerberusstore.CerberusStore.
Starts an async operation to open the store.
OpenUrl
in mojo.app.
Opens the given url using the underlying operating system.
Optimisation
in Programming/
Cerberus X optimises your code during translation for size.
Or
in Programming/Keywords/
The logical Or operator.
os
 
The os module provides miscellaneous operating system functionality, such as file, directory and environment variable access.
ParameterTypes
in reflection.FunctionInfo.
Get function parameter types.
ParameterTypes
in reflection.MethodInfo.
Get method parameter types.
ParseValue
in brl.json.JsonParser.
Used to return the value of the root object.
Password
in brl.url.Url.
Returns the password part of the url.
Path
in brl.url.Url.
Returns the path part of the url.
PauseChannel
in mojo.audio.
Pauses the specified audio channel.
PauseMusic
in mojo.audio.
Pauses music playback.
PeekByte
in brl.databuffer.DataBuffer.
Returns the 8 bit byte contained in the databuffer at address.
PeekBytes
in brl.databuffer.DataBuffer.
Copies count bytes starting at address from the databuffer to bytes.
PeekChar
in mojo.input.
Returns the character of the character at the specified index in the keyboard character queue.
PeekFloat
in brl.databuffer.DataBuffer.
Returns the 32 bit float value stored in the data buffer at address.
PeekFloats
in brl.databuffer.DataBuffer.
Copies count 32 bit floats starting at address from the databuffer to bytes.
PeekInt
in brl.databuffer.DataBuffer.
Returns the 32 bit int value contained in the data buffer at address.
PeekInts
in brl.databuffer.DataBuffer.
Copies count 32 bit ints starting at address from the databuffer to bytes.
PeekShort
in brl.databuffer.DataBuffer.
Returns the 16 bit int value contained in the data buffer at address.
PeekShorts
in brl.databuffer.DataBuffer.
Copies count 16 bit shorts starting at address from the databuffer to bytes.
PeekString
in brl.databuffer.DataBuffer.
Peeks and returns a string from the data buffer.
PeekString
in brl.databuffer.DataBuffer.
Peeks and returns a string from the data buffer.
PI
in cerberus.math.
PlayMusic
in mojo.audio.
Plays an audio file through the internal music channel, using audio streaming if possible.
PlaySound
in mojo.audio.
Plays a sound through the specified channel.
PokeByte
in brl.databuffer.DataBuffer.
Writes an 8 bit byte into the data buffer at address.
PokeBytes
in brl.databuffer.DataBuffer.
Copies count 8 bit bytes from the bytes array to the databuffer.
PokeFloat
in brl.databuffer.DataBuffer.
Writes a 32 bit float value into the data buffer at address.
PokeFloats
in brl.databuffer.DataBuffer.
Copies count 32 bit floats from the floats array to the databuffer.
PokeInt
in brl.databuffer.DataBuffer.
Writes a 32 bit int value into the data buffer at address.
PokeInts
in brl.databuffer.DataBuffer.
Copies count 32 bit ints from the ints array to the databuffer.
PokeShort
in brl.databuffer.DataBuffer.
Writes a 16 bit int value into the data buffer at address.
PokeShorts
in brl.databuffer.DataBuffer.
Copies count 16 bit shorts from the shorts array to the databuffer.
PokeString
in brl.databuffer.DataBuffer.
Pokes value into the data buffer at location address.
Pool
in brl.pool.
A pool object allows you to manually allocate and free objects from a memory pool.
Pop
in cerberus.stack.Stack.
Removes the item at the top of the stack and returns it.
PopFirst
in cerberus.deque.Deque.
Removes an item from the beginning of the deque.
PopLast
in cerberus.deque.Deque.
Removes an item from the end of the deque.
PopMatrix
in mojo.graphics.
Pops a matrix from the internal matrix stack and makes it the current matrix.
PopMatrix
in mojo2.graphics.DrawList.
Pop the current 2d matrix from the 2d matrix stack.
Port
in brl.socket.SocketAddress.
Returns the socket address port.
Port
in brl.url.Url.
Returns the port part of the url.
Position
in brl.stream.Stream.
Returns the read/write position within the stream if the stream is seekable, else 0.
Pow
in cerberus.math.
Returns x raised to the power y.
PremultiplyArgb2Abgr
in mojo2.graphics.DrawList.
Returns a color that is premultiplied (rgb components multiplied by alpha) and has byte format reordered from argb (commonly used) to abgr (used internally).
PremultiplyArgb2Abgr
in mojo2.graphics.DrawList.
Premultiplies colors (multiplies rgb components by alpha) and reorders the byte format from argb (commonly used) to abgr (used internally).
PrettifyLine
in brl.markdown.IPrettifier.
This method is called by a Markdown object for every line inside a <pre> block, and should returned an html 'prettified' version of text.
PrevNode
in cerberus.list.Node.
Returns the node before this node, or null if this is the first node in the list.
PrevNode
in cerberus.map.Node.
Returns the previous node in the map, or Null if this is the first node.
Price
in brl.cerberusstore.Product.
The localized product price.
Print
in cerberus.lang.
Prints message to the current output channel.
Private
in Programming/Keywords/
Declares following code as private to local module or class.
Proceed
in brl.requesters.
Proceed activates a simple modal dialog requesting the user to select between YES, NO and CANCEL options.
Process
in brl.process.
Product
in brl.cerberusstore.
Programming
 
Index of Programming
ProjectionMatrix
in mojo2.graphics.Canvas.
Get projection matrix.
Property
in Programming/Keywords/
Declares method as property.
Protocol
in brl.socket.Socket.
Returns the socket protocol, either "stream", "server", or "datagram".
Public
in Programming/Keywords/
Declares following code as publicly accessible.
Push
in cerberus.stack.Stack.
Pushes a value on the top of the stack.
Push
in cerberus.stack.Stack.
Pushes an array of values on the top of the stack starting with element 0.
PushFirst
in cerberus.deque.Deque.
Adds an item to the beginning of the deque.
PushLast
in cerberus.deque.Deque.
Adds an item to the end of the deque.
PushMatrix
in mojo.graphics.
Pushes the current matrix onto the internal matrix stack.
PushMatrix
in mojo2.graphics.DrawList.
Push the current 2d matrix on the 2d matrix stack.
Put
in brl.ringbuffer.RingBuffer.
Copies count bytes from data/offset and adds them to the end of the ringbuffer.
Query
in brl.url.Url.
Returns the query part of the url.
Read
in brl.stream.Stream.
Reads count bytes from the stream into databuffer, starting at address offset within the databuffer.
ReadAll
in brl.stream.Stream.
Reads all remaining bytes from the stream into a databuffer.
ReadAll
in brl.stream.Stream.
Reads count bytes from the stream into databuffer, starting at address offset within the databuffer.
ReadByte
in brl.stream.Stream.
Reads an 8 bit byte from the stream.
ReadFloat
in brl.stream.Stream.
Reads a 32 bit float value from the stream.
ReadInt
in brl.stream.Stream.
Reads a 32 bit int value from the stream.
ReadPixels
in mojo2.graphics.Canvas.
Read pixel data from canvas.
ReadPixels
in mojo.graphics.
Copies a rectangular section of pixels from the current render buffer into an int array.
ReadShort
in brl.stream.Stream.
Reads a 16 bit int value from the stream.
ReadStderr
in brl.process.Process.
Reads bytes from process stderr into buffer.
ReadStdout
in brl.process.Process.
Reads bytes from process stdout into buffer.
ReadString
in brl.stream.Stream.
Reads all bytes from the stream until end-of-file and converts them to a string using the given encoding.
ReadString
in brl.stream.Stream.
Reads count bytes from the stream and converts them to a string using the given encoding.
RealPath
in brl.filesystem.
Converts path to an absolute filesystem path.
RealPath
in os.
Returns the real, or 'absolute', file system path corresponding to the given path.
Receive
in brl.socket.Socket.
Receives data from a remote host and returns the number of bytes received.
ReceiveAll
in brl.socket.Socket.
Receives data from a remote host and returns the number of bytes received.
ReceiveAllAsync
in brl.socket.Socket.
Receives data from a remote host asynchronously.
ReceiveAsync
in brl.socket.Socket.
Receives data from a remote host asynchronously.
ReceiveFrom
in brl.socket.Socket.
Receives data from a remote host and returns the number of bytes received.
ReceiveFromAsync
in brl.socket.Socket.
Receives data from a remote host asynchronously.
reflection
 
Reflection allows your program to inspect and access all or some of your program's declarations dynamically at runtime.
RemoteAddress
in brl.socket.Socket.
Returns the remote address of the socket.
Remove
in cerberus.list.Node.
Removes this node from the list.
Remove
in cerberus.stack.Stack.
Removes the value at the specified index from the stack, shifting existing elements down if necessary.
Remove
in cerberus.map.Map.
Removes the key from the map.
Remove
in cerberus.set.Set.
Removes value from the set.
RemoveAsyncEventSource
in brl.asyncevent.
Removes source from the global list of event sources to be processed by UpdateAsyncEvents.
RemoveEach
in cerberus.list.List.
Finds and removes each element in the list equal to value.
RemoveEach
in cerberus.stack.Stack.
Finds and removes all elements in the stack equal to value, shifting existing elements down if necessary.
RemoveFirst
in cerberus.list.List.
Removes the first value in the list and returns it.
RemoveFirst
in cerberus.list.List.
Finds and removes the first element in the list equal to value.
RemoveFirst
in cerberus.stack.Stack.
Finds and removes the first element in the stack equal to value.
RemoveLast
in cerberus.list.List.
Removes the last value in the list and returns it.
RemoveLast
in cerberus.list.List.
Finds and removes the last element in the list equal to value.
RemoveLast
in cerberus.stack.Stack.
Finds and removes the last element in the stack equal to value.
Render
in mojo2.renderer.Renderer.
Render everything.
RenderDrawList
in mojo2.graphics.Canvas.
Render a drawlist to canvas.
RenderDrawList
in mojo2.graphics.Canvas.
Render a drawlist to canvas, transformed by the canvas' current 2d matrix and tx, ty, rz, sx and sy parameters.
Renderer
in mojo2.renderer.
A renderer is used to draw complex scenes using multipass rendering.
RenderTarget
in mojo2.graphics.Canvas.
Get current render target.
Repeat
in Programming/Keywords/
Marks the start of a Repeat loop.
Replace
in cerberus.lang.String.
Replaces all occurrences of findStr with replaceStr and returns the result.
ReportAchievement
in brl.gamecenter.GameCenter.
Report an achievement to Game Center.
ReportScore
in brl.gamecenter.GameCenter.
Report a score to Game Center.
RequestDir
in brl.requesters.
RequestDir activates a modal directory requester dialog.
RequestFile
in brl.requesters.
RequestFile activates a modal file requester dialog.
Reset
in mojo2.graphics.DrawList.
Removes all items from drawlist.
ResetMatrix
in mojo2.graphics.DrawList.
Set the current 2d matrix to the identity matrix.
Resize
in cerberus.lang.Array.
Returns a copy of this array, resized to newLength.
This method is called when a Markdown object needs to resolve a link.
Resource paths
in Programming/
App resources may be stored in many different locations, for example, in an app's data dir, on the local filesystem, or on a remote server.
ResponseText
in brl.httprequest.HttpRequest.
The response text returned by the server once the request has completed.
ResumeChannel
in mojo.audio.
Resumes the specified audio channel.
ResumeMusic
in mojo.audio.
Resumes music playback.
Return
in Programming/Keywords/
The Return keyword causes program flow to exit a function or method and return a value to the calling statement.
ReturnType
in reflection.FunctionInfo.
Get return type of function.
ReturnType
in reflection.MethodInfo.
Get return type of method.
RingBuffer
in brl.ringbuffer.
A ringbuffer is a circular FIFO buffer that wraps a DataBuffer.
Rnd
in cerberus.random.
Returns a random float in the range 0 (exclusive) to 1 (exclusive).
Rnd
in cerberus.random.
Returns a random float in the range 0 (exclusive) to range (exclusive).
Rnd
in cerberus.random.
Returns a random float in the range low (exclusive) to high (exclusive).
Rotate
in mojo.graphics.
Multiplies the current matrix by a matrix representing the specified rotation.
Rotate
in mojo2.graphics.DrawList.
Rotate current 2d matrix.
RotateScale
in mojo2.graphics.DrawList.
Rotate and scale (in that order) the current 2d matrix.
Samples
 
Samples for the base game framework.
SaveState
in mojo.app.
Saves a string representing the application's persistant state.
SaveString
in os.
Saves str to a file specified by path.
Scale
in mojo.graphics.
Multiplies the current matrix by a matrix representing the specified scale.
Scale
in mojo2.graphics.DrawList.
Scale current 2d matrix.
Scheme
in brl.url.Url.
Returns the scheme part of the url.
Scissor
in mojo2.graphics.Canvas.
Get scissor rect.
Seed
in cerberus.random.
The current random number generator seed used by Rnd.
Seek
in brl.stream.Stream.
If the stream is seekable, adjusts the read/write position within the stream and returns the new read/write position.
Select
in Programming/Keywords/
Marks the start of a conditional Select block.
Self
in Programming/Keywords/
Object's own reference.
Send
in brl.httprequest.HttpRequest.
Sends an http request.
Send
in brl.socket.Socket.
Sends data to a remote host and returns the number of bytes sent.
Send
in brl.httprequest.HttpRequest.
Sends an http request with data.
SendAsync
in brl.socket.Socket.
Sends data to a remote host asynchronously.
SendTo
in brl.socket.Socket.
Sends data to the remote host specified by address and returns the number of bytes sent.
SendToAsync
in brl.socket.Socket.
Sends data to the remote host specified by address asynchronously.
Set
in brl.json.JsonArray.
Set entry at index to specific value.
Set
in cerberus.deque.Deque.
Sets an item at the given index.
Set
in cerberus.stack.Stack.
Overwrites the existing value at index with value.
Set
in cerberus.map.Map.
Set the value in a map associated with the given key.
Set
in brl.url.Url.
Changes the url.
Set
in brl.json.JsonObject.
Set key to specific value.
SetAlpha
in mojo.graphics.
Sets the current global alpha level.
SetAlpha
in mojo2.graphics.DrawList.
Set alpha only.
SetAmbientLight
in mojo2.graphics.Canvas.
Set ambient light color.
SetAmbientLight
in mojo2.renderer.Renderer.
Set ambient light.
SetBlend
in mojo.graphics.
Sets the current blending mode.
SetBlendMode
in mojo2.graphics.DrawList.
Set blend mode.
SetBool
in brl.json.JsonArray.
Set boolean value at index.
SetBool
in brl.json.JsonObject.
Set key to boolean value.
SetCameraMatrix
in mojo2.renderer.Renderer.
Set 4x4 camera matrix.
Set
in cerberus.set.
A set is a container style object that provides a mechanism for keeping track of a number of objects.
SetChannelPan
in mojo.audio.
Sets the pan of the specified audio channel.
SetChannelRate
in mojo.audio.
Sets the playback rate of the specified audio channel.
SetChannelVolume
in mojo.audio.
Sets the volume of the specified audio channel.
SetClearColor
in mojo2.renderer.Renderer.
Set clear color.
SetClearMode
in mojo2.renderer.Renderer.
Set clear mode.
SetColor
in mojo.graphics.
Sets the current color.
SetColor
in mojo2.graphics.DrawList.
Set color only.
SetColor
in mojo2.graphics.DrawList.
Set color and alpha.
SetColor
in mojo.graphics.
Sets the current color using a hex color value.
SetColorMask
in mojo2.graphics.Canvas.
Set which color components are writeable.
SetDefaultMaterial
in mojo2.graphics.DrawList.
Set the default material used for drawing operations that use a null material.
SetDefaultShader
in mojo2.graphics.Shader.
Sets the default shader used when a material is created with a 'Null' shader.
SetDeviceWindow
in mojo.app.
Sets the application's device window to the given width and height.
SetElement
in reflection.ClassInfo.
Set an array element.
SetEnv
in brl.process.
Set an environment variable.
SetEnv
in os.
Sets an environment variable.
SetFlagsMask
in mojo2.graphics.Image.
Sets an internal 'flags mask' that can be used to filter out specific image flags when creating images.
SetFloat
in brl.json.JsonArray.
Set float value at index.
SetFloat
in brl.json.JsonObject.
Set key to float value.
SetFogColor
in mojo2.graphics.Canvas.
Set fog color.
SetFont
in mojo.graphics.
Sets the font for use with DrawText.
SetFont
in mojo2.graphics.DrawList.
Set current font for use with DrawText.
SetHandle
in mojo.graphics.Image.
Sets the image offset handle for this image.
SetHandle
in mojo2.graphics.Image.
Set image handle.
SetHeader
in brl.httprequest.HttpRequest.
Sets an http request header option.
SetInt
in brl.json.JsonArray.
Set integer value at index.
SetInt
in brl.json.JsonObject.
Set key to integer value.
SetLightColor
in mojo2.graphics.Canvas.
Set light color.
SetLightPosition
in mojo2.graphics.Canvas.
Set light position in world space.
SetLightRange
in mojo2.graphics.Canvas.
Set light range.
SetLightType
in mojo2.graphics.Canvas.
Set light type.
SetMatrix
in mojo.graphics.
Sets the current matrix.
SetMatrix
in mojo2.graphics.DrawList.
Set the current 2d matrix to the given matrix.
SetMatrix
in mojo.graphics.
Sets the current matrix.
SetMatrixStackCapacity
in mojo2.graphics.DrawList.
Set the maximum number of 2d matrices that can be pushed onto the matrix stack using PushMatrix.
SetModelMatrix
in mojo2.graphics.Canvas.
Set model matrix, ie: the matrix that transforms points in 2d canvas space into 3d world space.
SetMusicVolume
in mojo.audio.
Sets the music volume.
SetProjection2d
in mojo2.graphics.Canvas.
Set 2d orthographic projection matrix.
SetProjectionMatrix
in mojo2.graphics.Canvas.
Set arbitrary projection matrix.
SetProjectionMatrix
in mojo2.renderer.Renderer.
Set 4x4 projection matrix.
SetRenderTarget
in mojo2.renderer.Renderer.
Change render target.
SetRenderTarget
in mojo2.graphics.Canvas.
Change canvas render target.
SetScalar
in mojo2.graphics.Material.
Set float shader parameter.
SetScissor
in mojo.graphics.
Sets the current scissor rectangle to the rectangle specified by x, y, width and height.
SetScissor
in mojo2.graphics.Canvas.
Set scissor rect, in viewport coordinates.
SetShadowCaster
in mojo2.graphics.Image.
Set image shadow caster.
SetShadowMap
in mojo2.graphics.Canvas.
Set shadow map to use when lighting.
SetString
in brl.json.JsonArray.
Set string value at index.
SetString
in brl.json.JsonObject.
Set key to string value.
SetSwapInterval
in mojo.app.
Attempts to change the 'swap interval' of the application's device.
SetTexture
in mojo2.graphics.Material.
Set texture shader parameter.
SetUpdateRate
in mojo.app.
Sets the application's update rate.
SetValue
in reflection.GlobalInfo.
Set value of global.
SetValue
in reflection.FieldInfo.
Set field value.
SetVector
in mojo2.graphics.Material.
Set vector shader parameter.
SetVertices
in mojo2.graphics.ShadowCaster.
Set shadow caster vertices.
SetViewMatrix
in mojo2.graphics.Canvas.
Set view matrix, ie: the matrix the transforms points in world space to view space.
SetViewport
in mojo2.graphics.Canvas.
Set viewport.
SetViewport
in mojo2.renderer.Renderer.
Set viewport.
Sgn
in cerberus.math.
Returns -1 if x is less than zero, +1 if x is greater than zero or 0 if x is equal to zero.
Sgn
in cerberus.math.
Returns -1 if x is less than zero, +1 if x is greater than zero or 0 if x is equal to zero.
Shader
in mojo2.graphics.Material.
Get material shader.
Shader
in mojo2.graphics.
Mojo2 provides support for simple shaders that fetch texture/color data and produce values for use by the lighting equations.
ShadowCaster
in mojo2.graphics.Image.
Get attached shadow caster.
ShadowCaster
in mojo2.graphics.
The mojo2 ShadowCaster class provides support for simple 2d shadow rendering.
ShadowMap
in mojo2.graphics.Canvas.
Get shadow map.
ShadowShader
in mojo2.graphics.Shader.
Returns a stock shadow shader for drawing shadows.
Shl
in Programming/Keywords/
Shl is a binary operator that performs the shift to left function.
ShowAchievments
in brl.gamecenter.GameCenter.
Shows game achievements.
ShowAdView
in brl.admob.Admob.
Shows the ad view and enables ads.
ShowAdViewInterstitial
in brl.admob.AdmobInterstitial.
Shows the interstitial ad view.
ShowLeaderboard
in brl.gamecenter.GameCenter.
Shows the leaderboard with the given id.
ShowMouse
in mojo.app.
Shows the mouse pointer if the underlying operating system supports a mouse.
Shr
in Programming/Keywords/
Shr is a binary operator that performs the (signed) shift to right function.
Sin
in cerberus.math.
Returns the sine of x degrees.
Sinr
in cerberus.math.
Returns the sine of x radians.
SocketAddress
in brl.socket.
Socket
in brl.socket.
Sort
in cerberus.list.List.
Sorts the list into ascending or descending order.
Sort
in cerberus.stack.Stack.
Sorts the stack into ascending or descending order.
Sound
in mojo.audio.
Sound objects contain audio data preloaded from files.
Split
in cerberus.lang.String.
Splits this string into an array of pieces, using the separator string to delimit each piece.
Sqrt
in cerberus.math.
Returns the square root of x.
Stack
in cerberus.stack.
Stacks provide 2 basic operations - push and pop.
Start
in brl.process.Process.
Starts process.
StartGameCenter
in brl.gamecenter.GameCenter.
Starts Game Center.
StartsWith
in cerberus.lang.String.
Returns true if the string starts with str, else false.
Status
in brl.httprequest.HttpRequest.
The status returned by the server once the request has completed.
StderrAvail
in brl.process.Process.
Returns the number of bytes available to be read from process stderr.
StdoutAvail
in brl.process.Process.
Returns the number of bytes available to be read from process stdout.
Step
in Programming/Keywords/
Optional For/Next loop modifier specifying size of iteration step.
StopChannel
in mojo.audio.
Stops the specified audio channel.
StopMusic
in mojo.audio.
Stops any music currently playing.
Stream
in brl.stream.
Streams are used to read or write data in a sequential manner.
StreamError
in brl.stream.
Common base class for stream exceptions.
StreamReadError
in brl.stream.
Exception class for stream read errors.
StreamWriteError
in brl.stream.
Exception class for stream write errors.
Strict
in Programming/Keywords/
Enables Cerberus X's Strict syntax mode.
String
in cerberus.lang.
The String type is a fundamental cerberus type used to represent sequences of characters.
StringClass
in reflection.
Returns the class of a 'string'.
StringDeque
in cerberus.deque.
StringDeque is a convenience class for handling deques of string values.
StringList
in cerberus.list.
StringList is a convenience class for handling lists of string values.
StringMap
in cerberus.map.
A StringMap is a convenience class for mapping strings to values.
StringObject
in cerberus.boxes.
The StringObject box class can be used to encapsulate a string value inside an object.
StringSet
in cerberus.set.
StringSet is a convenience class for managing sets of strings.
StringStack
in cerberus.stack.
A StringStack is a convenience class for dealing with stacks of strings.
StringValue
in brl.json.JsonString.
Returns string value.
StringValue
in brl.json.JsonValue.
For a JsonString, this will return its string value.
StripAll
in brl.filepath.
Removes both the directory and file type extension from a file path.
StripAll
in os.
Removes both the directory and file extension from a file system path, returning just the file name.
StripDir
in brl.filepath.
Removes the directory from a file path.
StripDir
in os.
Removes the directory from a file system path, and returns the file name and extension.
StripExt
in brl.filepath.
Removes the file type extension from a file path.
StripExt
in os.
Extracts and returns the file extension of a file system path.
SuperClass
in reflection.ClassInfo.
Get super class of class.
Super
in Programming/Keywords/
Provides parent class access.
Tan
in cerberus.math.
Returns the tangent of x degrees.
Tanr
in cerberus.math.
Returns the tangent of x radians.
Target SDKs
 
In order to build output target projects, the correct SDKs for each target must be installed.
TcpStream
in brl.tcpstream.
A tcp stream represents a synchronous tcp connection to a host on the internet.
Ted
in Tools/
Ted is a simple text editor/IDE for Cerberus X.
TextHeight
in mojo.graphics.Font.
Get height of text drawn in this font.
TextHeight
in mojo2.graphics.Font.
Get height of text drawn in this font.
Texture
in mojo2.graphics.
Textures contains image data for use by shaders when rendering.
TextWidth
in mojo.graphics.
Returns the width of the given text.
TextWidth
in mojo.graphics.Font.
Get width of text drawn in this font.
TextWidth
in mojo2.graphics.Font.
Get width of text drawn in this font.
The Android target
in Target SDKs/
Android is Google's hugely popular cellphone and tablet OS.
The AppGameKit target
in Target SDKs/
The AppGameKit target is a wrapper for AppGameKit by TheGameCreators.
The Desktop target
in Target SDKs/
The desktop target (formerly the Glfw target) allows you to create apps for Windows, MacOS and Linux desktop environments.
The Flash target
in Target SDKs/
Flash is a very popular web based platform by Adobe.
The HTML5 target
in Target SDKs/
HTML5 is an emerging standard for writing web based apps.
The iOS target
in Target SDKs/
iOS is Apple's OS for iTouch, iPhone and iPad devices.
The Stdcpp target
in Target SDKs/
The stdcpp (standard c++) target allows you to write command line utilities in Cerberus.
The WinRT target
in Target SDKs/
The WinRT target allows you to develop games for the Windows 8 and Windows Phone 8.
Then
in Programming/Keywords/
Optional separator used for readability in If blocks.
Throwable
in cerberus.lang.
The Throwable class must be extended by all classes that are intended to be used with Throw.
Throw
in Programming/Keywords/
The Throw keyword is part of the Try/Catch exception-handling construct.
Title
in brl.cerberusstore.Product.
The product title.
ToArray
in cerberus.boxes.ArrayObject.
Returns the array contained in the ArrayObject.
ToArray
in cerberus.deque.Deque.
Converts the deque to an array.
ToArray
in cerberus.list.List.
Converts the list to an array of values.
ToArray
in cerberus.stack.Stack.
Converts the stack to an array of values.
ToBool
in cerberus.boxes.BoolObject.
Returns the bool value contained in the BoolObject.
ToChars
in cerberus.lang.String.
Converts string to an array of character codes.
ToFloat
in cerberus.boxes.FloatObject.
Returns the float value contained in the FloatObject.
ToFloat
in cerberus.boxes.IntObject.
Returns the int value contained in the IntObject converted to a float.
ToHtml
in brl.markdown.Markdown.
Converts markdown to html.
ToInt
in cerberus.boxes.FloatObject.
Returns the float value contained in the FloatObject converted to an int.
ToInt
in cerberus.boxes.IntObject.
Returns the int value contained in the IntObject.
ToJson
in brl.json.JsonBool.
Returns either true or false as string.
ToJson
in brl.json.JsonNull.
Returns a string literally containing null.
ToJson
in brl.json.JsonNumber.
Returns value as string.
ToJson
in brl.json.JsonString.
Returns value as quoted string with escaped quotation marks.
ToJson
in brl.json.JsonValue.
Converts value to a JSON string.
ToLower
in cerberus.lang.String.
Converts the string to lowercase and returns the result.
Tools
 
Index of Tools
Top
in cerberus.stack.Stack.
Returns the item at the top of the stack.
To
in Programming/Keywords/
Defines range of values to be assigned to the index variable in a For/Next loop.
ToString
in brl.socket.SocketAddress.
Returns a string representation of the socket address.
ToString
in brl.stream.StreamError.
Returns a message describing the error.
ToString
in brl.url.Url.
Returns the url as a string.
ToString
in cerberus.boxes.FloatObject.
Returns the float value contained in the FloatObject converted to a string.
ToString
in cerberus.boxes.IntObject.
Returns the int value contained in the IntObject converted to a string.
ToString
in cerberus.boxes.StringObject.
Returns the string value contained in the StringObject.
TouchDown
in mojo.input.
Returns 1 if the finger specified by index is currently touching the touchscreen, otherwise 0.
TouchHit
in mojo.input.
Returns the number of times the specified finger has made contact with the touchscreen since the last OnUpdate.
TouchX
in mojo.input.
Returns the x coordinate of the finger on a touch screen device.
TouchY
in mojo.input.
Returns the y coordinate of the finger on a touch screen device.
ToUpper
in cerberus.lang.String.
Converts the string to uppercase and returns the result.
Transform
in mojo.graphics.
Multiplies the current matrix by the specified matrix.
Transform
in mojo2.graphics.DrawList.
Multiply the current 2d matrix by the given matrix.
Transform
in mojo.graphics.
Multiplies the current matrix by the specified matrix.
TransformCoords
in mojo2.graphics.Canvas.
Mode | Description
Translate
in mojo.graphics.
Multiplies the current matrix by a matrix representing the specified translation.
Translate
in mojo2.graphics.DrawList.
Translate the current 2d matrix.
TranslateRotate
in mojo2.graphics.DrawList.
Translate and rotate (in that order) the current 2d matrix.
TranslateRotateScale
in mojo2.graphics.DrawList.
Translate, rotate and scale (in that order) the current 2d matrix.
Trans
in Tools/
Trans is the command line tool used to build Cerberus X apps.
Trim
in cerberus.lang.String.
Removes any leading and trailing whitespace from the string and returns the result.
True
in Programming/Keywords/
Represents boolean true value.
Try
in Programming/Keywords/
Declares the start of a Try/Catch block.
Tutorials
 
These tutorials will teach you the Cerberus X programming language
TWOPI
in cerberus.math.
Type
in brl.cerberusstore.Product.
Product type, one of:
Type
in brl.json.JsonValue.
Indicates the type of the specific JsonValue object.
Type
in reflection.ConstInfo.
Get type of const.
Type
in reflection.FieldInfo.
Type of field.
Type
in reflection.GlobalInfo.
Get type of global.
Unbox
in reflection.ArrayBoxer.
Unbox an array.
UnboxBool
in reflection.
Unboxes a bool.
UnboxFloat
in reflection.
Unboxes a float.
UnboxInt
in reflection.
Unboxes an int.
UnboxString
in reflection.
Unboxes a string.
Until
in Programming/Keywords/
Marks the end of a Repeat/Until loop.
Update
in cerberus.map.Map.
Updates an existing key/value pair.
UpdateAsyncEvents
in brl.asyncevent.
Calls the UpdateAsyncEvents method for each event source contained in the global list of event sources.
UpdateAsyncEvents
in brl.asyncevent.IAsyncEventSource.
This method is called by the global brl.asyncevent.UpdateAsyncEvents function for each event source that has been added to the global list of event sources.
UpdateRate
in mojo.app.
Returns the current update rate, as set by SetUpdateRate.
Url
in brl.url.
Username
in brl.url.Url.
Returns the username part of the url.
Value
in cerberus.list.Node.
Returns the value stored in the node.
Value
in cerberus.map.Node.
Returns the value contained in the map node.
value
in cerberus.boxes.ArrayObject.
The array contained in the ArrayObject.
value
in cerberus.boxes.BoolObject.
The bool value contained in this BoolObject.
value
in cerberus.boxes.FloatObject.
The float value contined in the FloatObject.
value
in cerberus.boxes.IntObject.
The value contained in the IntObject.
value
in cerberus.boxes.StringObject.
The string value contained in the StringObject.
Values
in cerberus.map.Map.
Returns an object that can be used to enumerate all values in the map with a For Eachin loop.
Versions
 
The complete history is stored in VERSIONS.TXT located in the Cerberus X folder.
Vertices
in mojo2.graphics.ShadowCaster.
Get shadow caster vertices.
ViewMatrix
in mojo2.graphics.Canvas.
Get view matrix.
Viewport
in mojo2.graphics.Canvas.
Get viewport.
Void
in Programming/Keywords/
The built-in void return identifier.
Wait
in brl.process.Process.
Waits for process to finish and returns process exit code.
Wend
in Programming/Keywords/
Wend, short for While [loop] End, marks the end of a While loop.
While
in Programming/Keywords/
Marks the start of a While loop.
WhiteTexture
in mojo2.graphics.Texture.
Return a stock single texel white texture.
Width
in mojo.app.DisplayMode.
Returns the width of the display mode.
Width
in mojo.graphics.Image.
Returns the width of the image, in pixels.
Width
in mojo2.graphics.Canvas.
Get canvas width.
Width
in mojo2.graphics.Image.
Get image width.
Width
in mojo2.graphics.Texture.
Get texture width.
Write
in brl.stream.Stream.
Writes count bytes from databuffer to the stream, starting at address offset within the databuffer.
WriteAll
in brl.stream.Stream.
Writes count bytes from databuffer to the stream, starting at address offset within the databuffer.
WriteByte
in brl.stream.Stream.
Writes an 8 bit byte to the stream.
WriteFloat
in brl.stream.Stream.
Writes a 32 bit float value to the stream.
WriteInt
in brl.stream.Stream.
Writes a 32 bit int value to the stream.
WritePixels
in mojo2.graphics.Image.
Write pixel data to image.
WritePixels
in mojo2.graphics.Texture.
Write pixel data to texture.
WritePixels
in mojo.graphics.Image.
Copies a rectangular section of pixels from an int array to the image.
WriteShort
in brl.stream.Stream.
Write a 16 bit int value to the stream.
WriteStdin
in brl.process.Process.
Writes bytes from buffer to process stdin.
WriteString
in brl.stream.Stream.
Writes a string to the stream using the given encoding.
X0
in mojo2.graphics.Image.
Get x coordinate of the left edge of the image rect.
X1
in mojo2.graphics.Image.
Get x coordinate of the right edge of the image rect.
XPadding
in mojo.graphics.Image.
XYPadding
in mojo.graphics.Image.
Y0
in mojo2.graphics.Image.
Get y coordinate of the top edge of the image rect.
Y1
in mojo2.graphics.Image.
Get y coordinate of the bottom edge of the image rect.
YPadding
in mojo.graphics.Image.