v0.9.0
Release Info
Breaking
ShaderProgram.getAttrib()
can now return a-1
instead of throwing anIllegalStateException
if the attribute name doesn't exist.ShaderProgram.getUniformLocation
can now return anull
instead of theUniformLocation
if the uniform name doesn't exist.- Update JVM target to 17 from 11.
Changes
- Add WASM as an official platform target.
- Update
FrameBuffer
to allow for multiple texture attachments to be used. - Remove nest-ability from
FrameBuffer
due to poor performance with multiple calls to get currently bound frame buffer.FrameBuffer.end()
will now bind to the default frame buffer instead with optional viewport position and size parameters.
- Update
GLSlGenerator
to supportgl_FragData[]
. - Update
GL
with newdrawBuffer
andclearBuffer[fuiv]
functions. - Update
GL
with newgetActiveAttrib
andgetActiveUniform
related functions. - Optimize
WebGL
to prevent creating a new array on certainGL
calls. - Update
ShaderProgram
to handle finding and setting active uniforms and attributes instead relying on
theShaderParameter
to do so. - Update
AGP
to8.2.0
. - Update Kotlin to
1.9.23
. - Update
kotlinx-coroutines
to1.8.0
. - Update Dokka gradle plugin to
1.9.20
.
Commit Details
- Update
InputQueueProcessor
to clear events pool even if noInputProcessor
exists by @LeHaine in #225 - Update
ShaderProgram
to handle fetching all active uniforms and attribs and remove thecreate(ShaderProgram)
function fromShaderParameter
by @LeHaine in #226 - Update
FrameBuffer
to handle multiple color attachments by @LeHaine in #227 - Add ability to reuse
GlFrameBuffer
and optimizeFrameBuffer
to not create aGlFrameBuffer
object perbegin()
&end()
call by @LeHaine in #228 - Rename
FrameBuffer.ColorAttachment
toTextureAttachment
and add depth & stencil support by @LeHaine in #229 - Remove
FrameBuffer
nestability due to poor performance. by @LeHaine in #230 - Remove
ShaderProgram
getAttrib()
andgetUniform()
from throwing anIllegalStateException
by @LeHaine in #231 - sprite batch: update default size to 1000 instead of 8191 by @LeHaine in #232
- gradle: update to kotlin 1.9.23 and dokka to 1.9.20 by @LeHaine in #234
- Add WASM Platform by @LeHaine in #216
Full Changelog: v0.8.1...v0.9.0