commonMain.earth.worldwind.render.RenderResource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwind-jvm Show documentation
Show all versions of worldwind-jvm Show documentation
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