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)
|
2021-05-01 18:21:00 +00:00
|
|
|
bool rlEnableVertexArray(unsigned int vaoId)
|
|
|
|
void rlDisableVertexArray(void)
|
|
|
|
void rlEnableVertexBuffer(unsigned int id)
|
|
|
|
void rlDisableVertexBuffer(void)
|
|
|
|
void rlEnableVertexBufferElement(unsigned int id)
|
|
|
|
void rlDisableVertexBufferElement(void)
|
|
|
|
void rlEnableVertexAttribute(unsigned int index)
|
|
|
|
void rlDisableVertexAttribute(unsigned int index)
|
|
|
|
void rlActiveTextureSlot(int slot)
|
2020-04-30 20:20:48 +00:00
|
|
|
void rlEnableTexture(unsigned int id)
|
|
|
|
void rlDisableTexture(void)
|
2021-05-01 18:21:00 +00:00
|
|
|
void rlEnableTextureCubemap(unsigned int id)
|
|
|
|
void rlDisableTextureCubemap(void)
|
2020-04-30 20:20:48 +00:00
|
|
|
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)
|
2021-05-01 18:21:00 +00:00
|
|
|
bool rlIsStereoRenderEnabled(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
|
|
|
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-05-01 18:21:00 +00:00
|
|
|
void rlLoadExtensions(void *loader)
|
2020-04-30 20:20:48 +00:00
|
|
|
int rlGetVersion(void)
|
2021-05-01 18:21:00 +00:00
|
|
|
int rlGetFramebufferWidth(void)
|
|
|
|
int rlGetFramebufferHeight(void)
|
2021-04-22 17:05:57 +00:00
|
|
|
Shader rlGetShaderDefault(void)
|
|
|
|
Texture2D rlGetTextureDefault(void)
|
|
|
|
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)
|
2021-05-01 18:21:00 +00:00
|
|
|
void rlSetTexture(unsigned int id)
|
|
|
|
unsigned int rlLoadVertexArray(void)
|
|
|
|
unsigned int rlLoadVertexBuffer(void *buffer, int size, bool dynamic)
|
|
|
|
unsigned int rlLoadVertexBufferElement(void *buffer, int size, bool dynamic)
|
|
|
|
void rlUpdateVertexBuffer(int bufferId, void *data, int dataSize, int offset)
|
|
|
|
void rlUnloadVertexArray(unsigned int vaoId)
|
|
|
|
void rlUnloadVertexBuffer(unsigned int vboId)
|
|
|
|
void rlSetVertexAttribute(unsigned int index, int compSize, int type, bool normalized, int stride, void *pointer)
|
|
|
|
void rlSetVertexAttributeDivisor(unsigned int index, int divisor)
|
|
|
|
void rlSetVertexAttributeDefault(int locIndex, const void *value, int attribType, int count)
|
|
|
|
void rlDrawVertexArray(int offset, int count)
|
|
|
|
void rlDrawVertexArrayElements(int offset, int count, void *buffer)
|
|
|
|
void rlDrawVertexArrayInstanced(int offset, int count, int instances)
|
|
|
|
void rlDrawVertexArrayElementsInstanced(int offset, int count, void *buffer, int instances)
|
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-05-01 18:21:00 +00:00
|
|
|
void rlFramebufferAttach(unsigned int fboId, unsigned int texId, int attachType, int texType, int mipLevel)
|
2020-09-18 16:10:29 +00:00
|
|
|
bool rlFramebufferComplete(unsigned int id)
|
|
|
|
void rlUnloadFramebuffer(unsigned int id)
|
2021-04-22 17:05:57 +00:00
|
|
|
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)
|
2021-05-01 18:21:00 +00:00
|
|
|
void rlSetUniformSampler(int locIndex, unsigned int textureId)
|
|
|
|
void rlSetShader(Shader shader)
|
2021-04-22 17:05:57 +00:00
|
|
|
Matrix rlGetMatrixModelview(void)
|
|
|
|
Matrix rlGetMatrixProjection(void)
|
2021-05-01 18:21:00 +00:00
|
|
|
Matrix rlGetMatrixTransform(void)
|
|
|
|
Matrix rlGetMatrixProjectionStereo(int eye)
|
|
|
|
Matrix rlGetMatrixViewOffsetStereo(int eye)
|
2021-04-22 17:05:57 +00:00
|
|
|
void rlSetMatrixProjection(Matrix proj)
|
|
|
|
void rlSetMatrixModelview(Matrix view)
|
|
|
|
void rlSetMatrixProjectionStereo(Matrix right, Matrix left)
|
|
|
|
void rlSetMatrixViewOffsetStereo(Matrix right, Matrix left)
|
2021-05-01 18:21:00 +00:00
|
|
|
void rlLoadDrawCube(void)
|
|
|
|
void rlLoadDrawQuad(void)
|