DriverWebGL

Constructors

Link copied to clipboard
constructor(context: WebGL2RenderingContext)

Types

Link copied to clipboard
data class Capabilities(val instancedArrays: Boolean, val standardDerivatives: Boolean, val halfFloatTextures: Boolean, val floatTextures: Boolean, val colorBufferHalfFloat: Boolean, val colorBufferFloat: Boolean, val halfFloatTexturesLinear: Boolean, val floatTexturesLinear: Boolean, val drawBuffers: Boolean, val depthTexture: Boolean)
Link copied to clipboard
inner class Extensions
Link copied to clipboard
data class ShaderVertexDescription(val shader: Int, val vertexBuffers: IntArray, val instanceAttributeBuffers: IntArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val contextID: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val properties: DriverProperties
Link copied to clipboard
Link copied to clipboard
open override val shaderLanguage: ShaderLanguage

Functions

Link copied to clipboard
open override fun clear(color: ColorRGBa)
Link copied to clipboard
open override fun createArrayCubemap(width: Int, layers: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): ArrayCubemap
Link copied to clipboard
open override fun createArrayTexture(width: Int, height: Int, layers: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): ArrayTexture
Link copied to clipboard
open override fun createAtomicCounterBuffer(counterCount: Int, session: Session?): AtomicCounterBuffer
Link copied to clipboard
open override fun createBufferTexture(elementCount: Int, format: ColorFormat, type: ColorType, session: Session?): BufferTexture
Link copied to clipboard
open override fun createColorBuffer(width: Int, height: Int, contentScale: Double, format: ColorFormat, type: ColorType, multisample: BufferMultisample, levels: Int, session: Session?): ColorBuffer
Link copied to clipboard
open override fun createComputeShader(code: String, name: String, session: Session?): ComputeShader
Link copied to clipboard
Link copied to clipboard
open override fun createCubemap(width: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): Cubemap
Link copied to clipboard
open override fun createDepthBuffer(width: Int, height: Int, format: DepthFormat, multisample: BufferMultisample, session: Session?): DepthBuffer
Link copied to clipboard
open override fun createDynamicIndexBuffer(elementCount: Int, type: IndexType, session: Session?): IndexBuffer
Link copied to clipboard
open override fun createDynamicVertexBuffer(format: VertexFormat, vertexCount: Int, session: Session?): VertexBuffer
Link copied to clipboard
open override fun createRenderTarget(width: Int, height: Int, contentScale: Double, multisample: BufferMultisample, session: Session?): RenderTargetWebGL
Link copied to clipboard
open override fun createShader(vsCode: String, tcsCode: String?, tesCode: String?, gsCode: String?, fsCode: String, name: String, session: Session?): Shader
Link copied to clipboard
Link copied to clipboard
open override fun createShadeStyleManager(name: String, vsGenerator: (ShadeStructure) -> String, tcsGenerator: (ShadeStructure) -> String?, tesGenerator: (ShadeStructure) -> String?, gsGenerator: (ShadeStructure) -> String?, fsGenerator: (ShadeStructure) -> String, session: Session?): ShadeStyleManager
Link copied to clipboard
open override fun createVolumeTexture(width: Int, height: Int, depth: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): VolumeTexture
Link copied to clipboard
open override fun destroyContext(context: Long)
Link copied to clipboard
open override fun drawIndexedInstances(shader: Shader, indexBuffer: IndexBuffer, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, drawPrimitive: DrawPrimitive, indexOffset: Int, indexCount: Int, instanceOffset: Int, instanceCount: Int, verticesPerPatch: Int)
Link copied to clipboard
open override fun drawIndexedVertexBuffer(shader: Shader, indexBuffer: IndexBuffer, vertexBuffers: List<VertexBuffer>, drawPrimitive: DrawPrimitive, indexOffset: Int, indexCount: Int, verticesPerPatch: Int)
Link copied to clipboard
open override fun drawInstances(shader: Shader, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, drawPrimitive: DrawPrimitive, vertexOffset: Int, vertexCount: Int, instanceOffset: Int, instanceCount: Int, verticesPerPatch: Int)
Link copied to clipboard
open override fun drawVertexBuffer(shader: Shader, vertexBuffers: List<VertexBuffer>, drawPrimitive: DrawPrimitive, vertexOffset: Int, vertexCount: Int, verticesPerPatch: Int)
Link copied to clipboard
open override fun finish()
Link copied to clipboard
open override fun internalShaderResource(resourceId: String): String
Link copied to clipboard
open override fun setState(drawStyle: DrawStyle)
Link copied to clipboard
open override fun shaderConfiguration(type: ShaderType): String