elect
05/15/2018, 9:37 AMlateinit in an object
object offscreenPass {
...
lateinit var commandBuffer: VkCommandBuffer
But whenever I try to query if it has been initialized if (offscreenPass::commandBuffer.isInitialized), I get
Backing field of 'lateinit var commandBuffer: VkCommandBuffer' is not accessible at this point
ilya.gorbunov
05/15/2018, 2:08 PM::isInitialized inside that object, where the backing field of that lateinit is accessible.elect
05/15/2018, 4:04 PMelect
05/16/2018, 7:26 AMlateinit var outside the object?