GSDP:GAM100/CProcessing
From Inside
< GSDP:GAM100
Revision as of 15:21, 23 July 2020 by >Justin.chambers (→Time)
Reference
Structure
- Run()
- CP_System_Run()
- Terminate()
- CP_System_Terminate()
- SetNextGameState()
- CP_System_SetNextGameState()
- SetNextGameStateForced()
- CP_System_SetNextGameStateForced()
- GetWindowHandle()
- CP_System_GetWindowHandle()
- CP_main
- setExitOnEscape()
- CP_System_SetTerminateOnEscape()
Globals
- mouseX
- CP_Input_GetMouseX()
- mouseY
- CP_Input_GetMouseY()
- pmouseX
- CP_Input_GetMousePreviousX()
- pmouseY
- CP_Input_GetMousePreviousY()
- worldMouseX
- CP_Input_GetMouseWorldX()
- worldMouseY
- CP_Input_GetMouseWorldY()
- canvasWidth
- CP_System_GetCanvasWidth()
- canvasHeight
- CP_System_GetCanvasHeight()
Types
- ShapeMode
- CP_POSITION_MODE
- CP_BLEND_MODE
- PColor
- CP_Color
- PColorHSV
- CP_ColorHSV
- PFont
- CP_Font
- PImage
- CP_Image
- PSound
- CP_Sound
Math
Color
- color()
- colorHSV()
- lerpColor()
- lerpColorHSV()
- rgb2hsv()
- hsv2rgb()
- CP_Color_Create()
- CP_ColorHSV_Create()
- CP_Color_Lerp()
- CP_ColorHSV_Lerp()
- CP_Color_FromColorHSV()
- CP_ColorHSV_FromColor()
Input
Enums
Functions
- keyPressed()
- CP_Input_KeyTriggered()
- keyReleased()
- CP_Input_KeyReleased()
- keyIsDown()
- CP_Input_KeyDown()
- mousePressed()
- CP_Input_MouseTriggered()
- mouseReleased()
- CP_Input_MouseReleased()
- mouseDragged()
- CP_Input_MouseDragged()
- mouseIsDown()
- CP_Input_MouseDown()
- mouseMoved()
- CP_Input_MouseMoved()
- mouseClicked()
- CP_Input_MouseClicked()
- doubleClicked()
- CP_Input_MouseDoubleClicked()
- mouseWheel()
- CP_Input_MouseWheel()
Math
Utility
- clampFloat()
- CP_Math_ClampFloat()
- clampInt()
- CP_Math_ClampInt()
- lerpFloat()
- CP_Math_LerpFloat()
- lerpInt()
- CP_Math_LerpInt()
- sq()
- CP_Math_Sq()
- degrees()
- CP_Math_Degrees()
- radians()
- CP_Math_Radians()
Matrix
- mat3()
- mat3_identity()
- mat3_set()
- mat3_from_vector()
- mat3_scale()
- mat3_translate()
- mat3_rotate()
- mat3_rotate_rad()
- mat3_transpose()
- mat3_inverse()
- mat3_concat()
- mat3_mult_vec2()
Vector
- vec2()
- vec2_zero()
- vec2_set()
- vec2_neg()
- vec2_add()
- vec2_sub()
- vec2_norm()
- vec2_scale()
- vec2_length()
- vec2_distance()
- vec2_dot()
- vec2_cross()
- vec2_angle()
Random
- randomSeed()
- randomFloat()
- randomRangeFloat()
- randomInt()
- randomRangeInt()
- randomGaussian()
- noise()
- noiseSeed()
Setting
- setWindowTitle()
- background()
- fill()
- noFill()
- stroke()
- noStroke()
- strokeWeight()
- size()
- fullscreen()
- fullscreenAdvanced()
- blendMode()
- cursor()
- noCursor()
- translate()
- scale()
- scaleX()
- scaleY()
- rotate()
- applyMatrix()
- resetMatrix()
- save()
- restore()
- worldToScreen()
- screenToWorld()
Draw Calls
Shape
- rect()
- ellipse()
- circle()
- line()
- point()
- triangle()
- quad()
- rectRotated()
- ellipseRotated()
- lineRotated()
- triangleRotated()
- quadRotated()
- rectRounded()
- beginShape()
- vertex()
- endShape()
- rectMode()
- ellipseMode()
Image
- loadImage()
- loadImageAdvanced()
- image()
- imageRotated()
- imageSize()
- imageMode()
- createImage()
- createImageAdvanced()
- freeImage()
- imageWidth()
- imageHeight()
- imagePixel()
- imageCreateSubimage()
- imageCreateSubimageAdvanced()
- imageCreateTint()
- imageCreateTintAdvanced()
- imageData()
- imageUpdate()
- readFrameBuffer()
- readFrameBufferAdvanced()
Text
Sound
- soundLoad()
- soundFree()
- soundPlay()
- soundPlayAdvanced()
- soundPauseAll()
- soundResumeAll()
- soundStopAll()