Package org.openrndr.webgl

Types

Link copied to clipboard
external interface ANGLEinstancedArrays
Link copied to clipboard
class ApplicationBaseWebGL : ApplicationBase
Link copied to clipboard
class ApplicationWebGL(var program: Program, var configuration: Configuration) : Application
Link copied to clipboard
class BufferTextureShadowWebGL : BufferTextureShadow
Link copied to clipboard
class BufferTextureWebGL : BufferTexture
Link copied to clipboard
class BufferWriterWebGL(val buffer: Float32Array, val elementSize: Int) : BufferWriter
Link copied to clipboard
interface Cache<K, V>
Link copied to clipboard
data class CacheEntry(    val shadeStyle: ShadeStyle?,     val vertexFormats: List<VertexFormat>,     val instanceAttributeFormats: List<VertexFormat>)
Link copied to clipboard
class ColorBufferWebGL(    val context: WebGLRenderingContext,     val target: Int,     val texture: WebGLTexture,     val width: Int,     val height: Int,     val contentScale: Double,     val format: ColorFormat,     val type: ColorType,     val levels: Int,     val multisample: BufferMultisample,     val session: Session?) : ColorBuffer
Link copied to clipboard
class CubemapWebGL(    val context: WebGLRenderingContext,     val target: Int,     val texture: WebGLTexture,     val width: Int,     val format: ColorFormat,     val type: ColorType,     val levels: Int,     val session: Session?) : Cubemap
Link copied to clipboard
class DepthBufferWebGL(    val context: WebGLRenderingContext,     val buffer: WebGLRenderbuffer,     val width: Int,     val height: Int,     val format: DepthFormat,     val multisample: BufferMultisample,     val session: Session?) : DepthBuffer
Link copied to clipboard
class DriverWebGL(val context: WebGLRenderingContext) : Driver
Link copied to clipboard
external interface EXTColorBufferHalfFloat
Link copied to clipboard
external interface EXTFloatBend
Link copied to clipboard
class FragmentShaderWebGL(val shaderObject: WebGLShader, val name: String)
Link copied to clipboard
class IndexBufferWebGL(    val context: WebGLRenderingContext,     val buffer: WebGLBuffer,     val type: IndexType,     val indexCount: Int) : IndexBuffer
Link copied to clipboard
class LRUCache<K, V>(delegate: Cache<K, V>, minimalSize: Int = DEFAULT_SIZE) : Cache<K, V>
Link copied to clipboard
external interface OESStandardDerivatives
Link copied to clipboard
external interface OESTextureFloat
Link copied to clipboard
external interface OESTextureFloatLinear
Link copied to clipboard
external interface OESTextureHalfFloat
Link copied to clipboard
external interface OESTextureHalfFloatLinear
Link copied to clipboard
class PerpetualCache<K, V> : Cache<K, V>
Link copied to clipboard
class ProgramRenderTargetWebGL(val context: WebGLRenderingContext, val program: Program) : RenderTargetWebGL, ProgramRenderTarget
Link copied to clipboard
open class RenderTargetWebGL(    val context: WebGLRenderingContext,     val framebuffer: WebGLFramebuffer?,     val width: Int,     val height: Int,     val contentScale: Double,     val multisample: BufferMultisample,     val session: Session?) : RenderTarget
Link copied to clipboard
class ShaderGeneratorsWebGL : ShaderGenerators
Link copied to clipboard
class ShaderWebGL(    val context: WebGLRenderingContext,     val program: WebGLProgram,     val session: Session?) : Shader
Link copied to clipboard
class ShadeStyleManagerWebGL(    name: String,     val vsGenerator: (ShadeStructure) -> String,     val fsGenerator: (ShadeStructure) -> String,     val session: Session?) : ShadeStyleManager
Link copied to clipboard
class VertexBufferShadowWebGL(val vertexBuffer: VertexBuffer) : VertexBufferShadow
Link copied to clipboard
class VertexBufferWebGL(    val context: WebGLRenderingContext,     val buffer: WebGLBuffer,     val vertexFormat: VertexFormat,     val vertexCount: Int,     val session: Session?) : VertexBuffer
Link copied to clipboard
class VertexShaderWebGL(val shaderObject: WebGLShader, val name: String)
Link copied to clipboard
external interface WEBGLColorBufferFloat
Link copied to clipboard
external interface WEBGLCompressedTextureEtc1
Link copied to clipboard
external interface WEBGLCompressedTextureS3TC
Link copied to clipboard
external interface WEBGLCompressedTextureS3TCSrgb
Link copied to clipboard
external interface WEBGLDepthTexture
Link copied to clipboard
external interface WEBGLDrawBuffers

Functions

Link copied to clipboard
fun array(item: VertexElement): String
Link copied to clipboard
fun DrawPrimitive.glType(): Int
fun VertexElementType.glType(): Int
Link copied to clipboard
fun structureFromShadeStyle(    shadeStyle: ShadeStyle?,     vertexFormats: List<VertexFormat>,     instanceAttributeFormats: List<VertexFormat>): ShadeStructure

Properties

Link copied to clipboard
val applicationBaseWebGLInitializer: Any
Link copied to clipboard
const val COLOR_ATTACHMENT0_WEBGL: Int = 36064
Link copied to clipboard
const val COLOR_ATTACHMENT10_WEBGL: Int = 36074
Link copied to clipboard
const val COLOR_ATTACHMENT11_WEBGL: Int = 36075
Link copied to clipboard
const val COLOR_ATTACHMENT12_WEBGL: Int = 36076
Link copied to clipboard
const val COLOR_ATTACHMENT13_WEBGL: Int = 36077
Link copied to clipboard
const val COLOR_ATTACHMENT14_WEBGL: Int = 36078
Link copied to clipboard
const val COLOR_ATTACHMENT15_WEBGL: Int = 36079
Link copied to clipboard
const val COLOR_ATTACHMENT1_WEBGL: Int = 36065
Link copied to clipboard
const val COLOR_ATTACHMENT2_WEBGL: Int = 36066
Link copied to clipboard
const val COLOR_ATTACHMENT3_WEBGL: Int = 36067
Link copied to clipboard
const val COLOR_ATTACHMENT4_WEBGL: Int = 36068
Link copied to clipboard
const val COLOR_ATTACHMENT5_WEBGL: Int = 36069
Link copied to clipboard
const val COLOR_ATTACHMENT6_WEBGL: Int = 36070
Link copied to clipboard
const val COLOR_ATTACHMENT7_WEBGL: Int = 36071
Link copied to clipboard
const val COLOR_ATTACHMENT8_WEBGL: Int = 36072
Link copied to clipboard
const val COLOR_ATTACHMENT9_WEBGL: Int = 36073
Link copied to clipboard
const val COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: Int = 36494
Link copied to clipboard
const val COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: Int = 36495
Link copied to clipboard
const val COMPRESSED_RGB_ETC1_WEBGL: Int = 36196
Link copied to clipboard
const val COMPRESSED_RGB_S3TC_DXT1_EXT: Int = 33776
Link copied to clipboard
const val COMPRESSED_RGBA_BPTC_UNORM_EXT: Int = 36492
Link copied to clipboard
const val COMPRESSED_RGBA_S3TC_DXT1_EXT: Int = 33777
Link copied to clipboard
const val COMPRESSED_RGBA_S3TC_DXT3_EXT: Int = 33778
Link copied to clipboard
const val COMPRESSED_RGBA_S3TC_DXT5_EXT: Int = 33779
Link copied to clipboard
const val COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: Int = 36493
Link copied to clipboard
const val COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: Int = 35917
Link copied to clipboard
const val COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: Int = 35918
Link copied to clipboard
const val COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: Int = 35919
Link copied to clipboard
const val COMPRESSED_SRGB_S3TC_DXT1_EXT: Int = 35916
Link copied to clipboard
const val DRAW_BUFFER0_WEBGL: Int = 34853
Link copied to clipboard
const val DRAW_BUFFER10_WEBGL: Int = 34863
Link copied to clipboard
const val DRAW_BUFFER11_WEBGL: Int = 34864
Link copied to clipboard
const val DRAW_BUFFER12_WEBGL: Int = 34865
Link copied to clipboard
const val DRAW_BUFFER13_WEBGL: Int = 34866
Link copied to clipboard
const val DRAW_BUFFER14_WEBGL: Int = 34867
Link copied to clipboard
const val DRAW_BUFFER15_WEBGL: Int = 34868
Link copied to clipboard
const val DRAW_BUFFER1_WEBGL: Int = 34854
Link copied to clipboard
const val DRAW_BUFFER2_WEBGL: Int = 34855
Link copied to clipboard
const val DRAW_BUFFER3_WEBGL: Int = 34856
Link copied to clipboard
const val DRAW_BUFFER4_WEBGL: Int = 34857
Link copied to clipboard
const val DRAW_BUFFER5_WEBGL: Int = 34858
Link copied to clipboard
const val DRAW_BUFFER6_WEBGL: Int = 34859
Link copied to clipboard
const val DRAW_BUFFER7_WEBGL: Int = 34860
Link copied to clipboard
const val DRAW_BUFFER8_WEBGL: Int = 34861
Link copied to clipboard
const val DRAW_BUFFER9_WEBGL: Int = 34862
Link copied to clipboard
const val FRAGMENT_SHADER_DERIVATIVE_HINT_OES: Int = 35723
const val FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: Int = 33297
Link copied to clipboard
val CubemapSide.glTextureTarget: Int
Link copied to clipboard
const val HALF_FLOAT_OES: Int = 36193
Link copied to clipboard
const val MAX_COLOR_ATTACHMENTS_WEBGL: Int = 36063
Link copied to clipboard
const val MAX_DRAW_BUFFERS_WEBGL: Int = 34852
Link copied to clipboard
const val RGB16F_EXT: Int = 34843
Link copied to clipboard
const val RGBA16F_EXT: Int = 34842
Link copied to clipboard
const val RGBA32F_EXT: Int = 34836
Link copied to clipboard
const val UNSIGNED_INT_24_8_WEBGL: Int = 34042
Link copied to clipboard
const val UNSIGNED_NORMALIZED_EXT: Int = 35863