mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 07:31:36 +00:00
4274ee2893
Avoid copying by passing matrices by reference to RenderDevice Use fasttrig from GZDoom for faster cos/sin Don't set matrices unless they changed. Even though the memcmp prevents it from being pushed to OpenGL it is still a waste.
58 lines
1.3 KiB
Modula-2
58 lines
1.3 KiB
Modula-2
|
|
EXPORTS
|
|
|
|
RenderDevice_New
|
|
RenderDevice_Delete
|
|
RenderDevice_GetError
|
|
RenderDevice_SetShader
|
|
RenderDevice_SetUniform
|
|
RenderDevice_SetVertexBuffer
|
|
RenderDevice_SetIndexBuffer
|
|
RenderDevice_SetAlphaBlendEnable
|
|
RenderDevice_SetAlphaTestEnable
|
|
RenderDevice_SetCullMode
|
|
RenderDevice_SetBlendOperation
|
|
RenderDevice_SetSourceBlend
|
|
RenderDevice_SetDestinationBlend
|
|
RenderDevice_SetFillMode
|
|
RenderDevice_SetMultisampleAntialias
|
|
RenderDevice_SetZEnable
|
|
RenderDevice_SetZWriteEnable
|
|
RenderDevice_SetTexture
|
|
RenderDevice_SetSamplerFilter
|
|
RenderDevice_SetSamplerState
|
|
RenderDevice_Draw
|
|
RenderDevice_DrawIndexed
|
|
RenderDevice_DrawData
|
|
RenderDevice_StartRendering
|
|
RenderDevice_FinishRendering
|
|
RenderDevice_Present
|
|
RenderDevice_ClearTexture
|
|
RenderDevice_CopyTexture
|
|
RenderDevice_SetVertexBufferData
|
|
RenderDevice_SetVertexBufferSubdata
|
|
RenderDevice_SetIndexBufferData
|
|
RenderDevice_SetPixels
|
|
RenderDevice_SetCubePixels
|
|
RenderDevice_MapPBO
|
|
RenderDevice_UnmapPBO
|
|
VertexBuffer_New
|
|
VertexBuffer_Delete
|
|
IndexBuffer_New
|
|
IndexBuffer_Delete
|
|
Texture_New
|
|
Texture_Delete
|
|
Texture_Set2DImage
|
|
Texture_SetCubeImage
|
|
RawMouse_New
|
|
RawMouse_Delete
|
|
RawMouse_GetX
|
|
RawMouse_GetY
|
|
Matrix_Null
|
|
Matrix_Identity
|
|
Matrix_Translation
|
|
Matrix_RotationX
|
|
Matrix_RotationY
|
|
Matrix_RotationZ
|
|
Matrix_Scaling
|
|
Matrix_Multiply
|