New
v0.9.0
Release Info
Breaking
ShaderProgram.getAttrib()can now return a-1instead of throwing anIllegalStateExceptionif the attribute name doesn't exist.ShaderProgram.getUniformLocationcan now return anullinstead of theUniformLocationif the uniform name doesn't exist.- Update JVM target to 17 from 11.
Changes
- Add WASM as an official platform target.
- Update
FrameBufferto allow for multiple texture attachments to be used. - Remove nest-ability from
FrameBufferdue 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
GLSlGeneratorto supportgl_FragData[]. - Update
GLwith newdrawBufferandclearBuffer[fuiv]functions. - Update
GLwith newgetActiveAttribandgetActiveUniformrelated functions. - Optimize
WebGLto prevent creating a new array on certainGLcalls. - Update
ShaderProgramto handle finding and setting active uniforms and attributes instead relying on theShaderParameterto do so. - Update
AGPto8.2.0. - Update Kotlin to
1.9.23. - Update
kotlinx-coroutinesto1.8.0. - Update Dokka gradle plugin to
1.9.20.
Commit Details
- Update
InputQueueProcessorto clear events pool even if noInputProcessorexists by @LeHaine in https://github.com/littlektframework/littlekt/pull/225 - Update
ShaderProgramto handle fetching all active uniforms and attribs and remove thecreate(ShaderProgram)function fromShaderParameterby @LeHaine in https://github.com/littlektframework/littlekt/pull/226 - Update
FrameBufferto handle multiple color attachments by @LeHaine in https://github.com/littlektframework/littlekt/pull/227 - Add ability to reuse
GlFrameBufferand optimizeFrameBufferto not create aGlFrameBufferobject perbegin()&end()call by @LeHaine in https://github.com/littlektframework/littlekt/pull/228 - Rename
FrameBuffer.ColorAttachmenttoTextureAttachmentand add depth & stencil support by @LeHaine in https://github.com/littlektframework/littlekt/pull/229 - Remove
FrameBuffernestability due to poor performance. by @LeHaine in https://github.com/littlektframework/littlekt/pull/230 - Remove
ShaderProgramgetAttrib()andgetUniform()from throwing anIllegalStateExceptionby @LeHaine in https://github.com/littlektframework/littlekt/pull/231 - sprite batch: update default size to 1000 instead of 8191 by @LeHaine in https://github.com/littlektframework/littlekt/pull/232
- gradle: update to kotlin 1.9.23 and dokka to 1.9.20 by @LeHaine in https://github.com/littlektframework/littlekt/pull/234
- Add WASM Platform by @LeHaine in https://github.com/littlektframework/littlekt/pull/216
Full Changelog: https://github.com/littlektframework/littlekt/compare/v0.8.1...v0.9.0