2020-04-30 20:20:48 +00:00
|
|
|
void rlMatrixMode(int mode)
|
|
|
|
void rlPushMatrix(void)
|
|
|
|
void rlPopMatrix(void)
|
|
|
|
void rlLoadIdentity(void)
|
|
|
|
void rlTranslatef(float x, float y, float z)
|
|
|
|
void rlRotatef(float angleDeg, float x, float y, float z)
|
|
|
|
void rlScalef(float x, float y, float z)
|
|
|
|
void rlMultMatrixf(float *matf)
|
|
|
|
void rlFrustum(double left, double right, double bottom, double top, double znear, double zfar)
|
|
|
|
void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar)
|
|
|
|
void rlViewport(int x, int y, int width, int height)
|
|
|
|
void rlBegin(int mode)
|
|
|
|
void rlEnd(void)
|
|
|
|
void rlVertex2i(int x, int y)
|
|
|
|
void rlVertex2f(float x, float y)
|
|
|
|
void rlVertex3f(float x, float y, float z)
|
|
|
|
void rlTexCoord2f(float x, float y)
|
|
|
|
void rlNormal3f(float x, float y, float z)
|
2020-09-18 16:10:29 +00:00
|
|
|
void rlColor4ub(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlColor3f(float x, float y, float z)
|
|
|
|
void rlColor4f(float x, float y, float z, float w)
|
|
|
|
void rlEnableTexture(unsigned int id)
|
|
|
|
void rlDisableTexture(void)
|
|
|
|
void rlTextureParameters(unsigned int id, int param, int value)
|
2020-09-18 16:10:29 +00:00
|
|
|
void rlEnableShader(unsigned int id)
|
|
|
|
void rlDisableShader(void)
|
|
|
|
void rlEnableFramebuffer(unsigned int id)
|
|
|
|
void rlDisableFramebuffer(void)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlEnableDepthTest(void)
|
|
|
|
void rlDisableDepthTest(void)
|
2020-12-21 12:42:18 +00:00
|
|
|
void rlEnableDepthMask(void)
|
|
|
|
void rlDisableDepthMask(void)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlEnableBackfaceCulling(void)
|
|
|
|
void rlDisableBackfaceCulling(void)
|
|
|
|
void rlEnableScissorTest(void)
|
|
|
|
void rlDisableScissorTest(void)
|
|
|
|
void rlScissor(int x, int y, int width, int height)
|
|
|
|
void rlEnableWireMode(void)
|
|
|
|
void rlDisableWireMode(void)
|
2020-12-21 12:42:18 +00:00
|
|
|
void rlSetLineWidth(float width)
|
|
|
|
float rlGetLineWidth(void)
|
|
|
|
void rlEnableSmoothLines(void)
|
|
|
|
void rlDisableSmoothLines(void)
|
2021-04-22 17:05:57 +00:00
|
|
|
void rlEnableStereoRender(void)
|
|
|
|
void rlDisableStereoRender(void)
|
2020-09-18 16:10:29 +00:00
|
|
|
void rlClearColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlClearScreenBuffers(void)
|
2021-04-22 17:05:57 +00:00
|
|
|
int rlGetVersion(void)
|
|
|
|
void rlCheckErrors(void)
|
|
|
|
void rlSetBlendMode(int mode)
|
|
|
|
void rlSetBlendFactors(int glSrcFactor, int glDstFactor, int glEquation)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlglInit(int width, int height)
|
|
|
|
void rlglClose(void)
|
2021-04-22 17:05:57 +00:00
|
|
|
void rlLoadExtensions(void* loader)
|
2020-04-30 20:20:48 +00:00
|
|
|
int rlGetVersion(void)
|
2021-04-22 17:05:57 +00:00
|
|
|
Shader rlGetShaderDefault(void)
|
|
|
|
Texture2D rlGetTextureDefault(void)
|
|
|
|
Texture2D rlGetShapesTexture(void)
|
|
|
|
Rectangle rlGetShapesTextureRec(void)
|
|
|
|
void rlSetShapesTexture(Texture2D texture, Rectangle source)
|
|
|
|
RenderBatch rlLoadRenderBatch(int numBuffers, int bufferElements)
|
|
|
|
void rlUnloadRenderBatch(RenderBatch batch)
|
|
|
|
void rlDrawRenderBatch(RenderBatch *batch)
|
|
|
|
void rlSetRenderBatchActive(RenderBatch *batch)
|
|
|
|
void rlDrawRenderBatchActive(void)
|
|
|
|
bool rlCheckRenderBatchLimit(int vCount)
|
2020-04-30 20:20:48 +00:00
|
|
|
unsigned int rlLoadTexture(void *data, int width, int height, int format, int mipmapCount)
|
2020-09-18 16:10:29 +00:00
|
|
|
unsigned int rlLoadTextureDepth(int width, int height, bool useRenderBuffer)
|
2020-04-30 20:20:48 +00:00
|
|
|
unsigned int rlLoadTextureCubemap(void *data, int size, int format)
|
2020-06-25 15:25:59 +00:00
|
|
|
void rlUpdateTexture(unsigned int id, int offsetX, int offsetY, int width, int height, int format, const void *data)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlGetGlTextureFormats(int format, unsigned int *glInternalFormat, unsigned int *glFormat, unsigned int *glType)
|
|
|
|
void rlUnloadTexture(unsigned int id)
|
|
|
|
void rlGenerateMipmaps(Texture2D *texture)
|
|
|
|
void *rlReadTexturePixels(Texture2D texture)
|
|
|
|
unsigned char *rlReadScreenPixels(int width, int height)
|
2020-09-18 16:10:29 +00:00
|
|
|
unsigned int rlLoadFramebuffer(int width, int height)
|
2021-04-22 17:05:57 +00:00
|
|
|
void rlFramebufferAttach(unsigned int fboId, unsigned int texId, int attachType, int texType)
|
2020-09-18 16:10:29 +00:00
|
|
|
bool rlFramebufferComplete(unsigned int id)
|
|
|
|
void rlUnloadFramebuffer(unsigned int id)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlLoadMesh(Mesh *mesh, bool dynamic)
|
2021-04-22 17:05:57 +00:00
|
|
|
unsigned int rlLoadVertexBuffer(unsigned int vaoId, int index, void *buffer, int size, bool dynamic)
|
|
|
|
void rlUpdateMesh(Mesh mesh, int buffer, int count)
|
|
|
|
void rlUpdateMeshAt(Mesh mesh, int buffer, int count, int index)
|
|
|
|
void rlUpdateBuffer(int bufferId, void *data, int dataSize)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlDrawMesh(Mesh mesh, Material material, Matrix transform)
|
2021-04-22 17:05:57 +00:00
|
|
|
void rlDrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int count)
|
|
|
|
void rlUnloadMesh(Mesh *mesh)
|
|
|
|
unsigned int rlLoadShaderCode(const char *vsCode, const char *fsCode)
|
|
|
|
unsigned int rlCompileShader(const char *shaderCode, int type)
|
|
|
|
unsigned int rlLoadShaderProgram(unsigned int vShaderId, unsigned int fShaderId)
|
|
|
|
void rlUnloadShaderProgram(unsigned int id)
|
|
|
|
int rlGetLocationUniform(unsigned int shaderId, const char *uniformName)
|
|
|
|
int rlGetLocationAttrib(unsigned int shaderId, const char *attribName)
|
|
|
|
void rlSetUniform(int locIndex, const void *value, int uniformType, int count)
|
|
|
|
void rlSetUniformMatrix(int locIndex, Matrix mat)
|
|
|
|
void rlSetUniformSampler(int locIndex, Texture2D texture)
|
|
|
|
void rlSetShaderActive(Shader shader)
|
|
|
|
Matrix rlGetMatrixModelview(void)
|
|
|
|
Matrix rlGetMatrixProjection(void)
|
|
|
|
void rlSetMatrixProjection(Matrix proj)
|
|
|
|
void rlSetMatrixModelview(Matrix view)
|
|
|
|
void rlSetMatrixProjectionStereo(Matrix right, Matrix left)
|
|
|
|
void rlSetMatrixViewOffsetStereo(Matrix right, Matrix left)
|
|
|
|
TextureCubemap rlGenTextureCubemap(Shader shader, Texture2D panorama, int size, int format)
|
|
|
|
TextureCubemap rlGenTextureIrradiance(Shader shader, TextureCubemap cubemap, int size)
|
|
|
|
TextureCubemap rlGenTexturePrefilter(Shader shader, TextureCubemap cubemap, int size)
|
|
|
|
Texture2D rlGenTextureBRDF(Shader shader, int size)
|
|
|
|
|