All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.earth.worldwind.render.RenderResource.kt Maven / Gradle / Ivy

Go to download

The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

The newest version!
package earth.worldwind.render

import earth.worldwind.draw.DrawContext

/**
 * Handle to a rendering resource, such as a GLSL program, GL texture or GL vertex buffer object.
 */
interface RenderResource {
    /**
     * Frees any resources associated with this instance. After this method returns the rendering resource is invalid,
     * and any associated GL object is deleted.
     *
     * @param dc the current draw context
     */
    fun release(dc: DrawContext)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy