@@ -56,39 +56,30 @@ native public interface WebGLUniformLocation {
56
56
}
57
57
58
58
native public interface WebGLActiveInfo {
59
- var size: Int
59
+ val size: Int
60
60
get() = noImpl
61
- set(value) = noImpl
62
- var type: Int
61
+ val type: Int
63
62
get() = noImpl
64
- set(value) = noImpl
65
- var name: String
63
+ val name: String
66
64
get() = noImpl
67
- set(value) = noImpl
68
65
}
69
66
70
67
native public interface WebGLShaderPrecisionFormat {
71
- var rangeMin: Int
68
+ val rangeMin: Int
72
69
get() = noImpl
73
- set(value) = noImpl
74
- var rangeMax: Int
70
+ val rangeMax: Int
75
71
get() = noImpl
76
- set(value) = noImpl
77
- var precision: Int
72
+ val precision: Int
78
73
get() = noImpl
79
- set(value) = noImpl
80
74
}
81
75
82
76
native public interface WebGLRenderingContext : RenderingContext {
83
- var canvas: HTMLCanvasElement
77
+ val canvas: HTMLCanvasElement
84
78
get() = noImpl
85
- set(value) = noImpl
86
- var drawingBufferWidth: Int
79
+ val drawingBufferWidth: Int
87
80
get() = noImpl
88
- set(value) = noImpl
89
- var drawingBufferHeight: Int
81
+ val drawingBufferHeight: Int
90
82
get() = noImpl
91
- set(value) = noImpl
92
83
fun getContextAttributes (): WebGLContextAttributes ? = noImpl
93
84
fun isContextLost (): Boolean = noImpl
94
85
fun getSupportedExtensions (): Array <String >? = noImpl
@@ -546,19 +537,17 @@ native public interface WebGLRenderingContext : RenderingContext {
546
537
}
547
538
548
539
native public open class WebGLContextEvent (type : String , eventInit : WebGLContextEventInit = noImpl) : Event(type, noImpl) {
549
- var statusMessage: String
540
+ open val statusMessage: String
550
541
get() = noImpl
551
- set(value) = noImpl
552
542
}
553
543
554
544
native public open class WebGLContextEventInit : EventInit () {
555
545
var statusMessage: String
556
546
}
557
547
558
548
native public open class ArrayBuffer (length : Int ) : Transferable {
559
- var byteLength: Int
549
+ open val byteLength: Int
560
550
get() = noImpl
561
- set(value) = noImpl
562
551
fun slice (begin : Int , end : Int = noImpl): ArrayBuffer = noImpl
563
552
564
553
companion object {
@@ -571,18 +560,14 @@ native public open class Int8Array : ArrayBufferView {
571
560
constructor (array: Int8Array )
572
561
constructor (array: Array <Byte >)
573
562
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
574
- var length: Int
563
+ open val length: Int
575
564
get() = noImpl
576
- set(value) = noImpl
577
- var buffer: ArrayBuffer
565
+ open val buffer: ArrayBuffer
578
566
get() = noImpl
579
- set(value) = noImpl
580
- var byteOffset: Int
567
+ open val byteOffset: Int
581
568
get() = noImpl
582
- set(value) = noImpl
583
- var byteLength: Int
569
+ open val byteLength: Int
584
570
get() = noImpl
585
- set(value) = noImpl
586
571
fun get (index : Int ): Byte = noImpl
587
572
fun set (index : Int , value : Byte ): Unit = noImpl
588
573
fun set (array : Int8Array , offset : Int = noImpl): Unit = noImpl
@@ -599,18 +584,14 @@ native public open class Uint8Array : ArrayBufferView {
599
584
constructor (array: Uint8Array )
600
585
constructor (array: Array <Byte >)
601
586
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
602
- var length: Int
587
+ open val length: Int
603
588
get() = noImpl
604
- set(value) = noImpl
605
- var buffer: ArrayBuffer
589
+ open val buffer: ArrayBuffer
606
590
get() = noImpl
607
- set(value) = noImpl
608
- var byteOffset: Int
591
+ open val byteOffset: Int
609
592
get() = noImpl
610
- set(value) = noImpl
611
- var byteLength: Int
593
+ open val byteLength: Int
612
594
get() = noImpl
613
- set(value) = noImpl
614
595
fun get (index : Int ): Byte = noImpl
615
596
fun set (index : Int , value : Byte ): Unit = noImpl
616
597
fun set (array : Uint8Array , offset : Int = noImpl): Unit = noImpl
@@ -627,18 +608,14 @@ native public open class Uint8ClampedArray : ArrayBufferView {
627
608
constructor (array: Uint8ClampedArray )
628
609
constructor (array: Array <Byte >)
629
610
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
630
- var length: Int
611
+ open val length: Int
631
612
get() = noImpl
632
- set(value) = noImpl
633
- var buffer: ArrayBuffer
613
+ open val buffer: ArrayBuffer
634
614
get() = noImpl
635
- set(value) = noImpl
636
- var byteOffset: Int
615
+ open val byteOffset: Int
637
616
get() = noImpl
638
- set(value) = noImpl
639
- var byteLength: Int
617
+ open val byteLength: Int
640
618
get() = noImpl
641
- set(value) = noImpl
642
619
fun get (index : Int ): Byte = noImpl
643
620
fun set (index : Int , value : Byte ): Unit = noImpl
644
621
fun set (array : Uint8ClampedArray , offset : Int = noImpl): Unit = noImpl
@@ -655,18 +632,14 @@ native public open class Int16Array : ArrayBufferView {
655
632
constructor (array: Int16Array )
656
633
constructor (array: Array <Short >)
657
634
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
658
- var length: Int
635
+ open val length: Int
659
636
get() = noImpl
660
- set(value) = noImpl
661
- var buffer: ArrayBuffer
637
+ open val buffer: ArrayBuffer
662
638
get() = noImpl
663
- set(value) = noImpl
664
- var byteOffset: Int
639
+ open val byteOffset: Int
665
640
get() = noImpl
666
- set(value) = noImpl
667
- var byteLength: Int
641
+ open val byteLength: Int
668
642
get() = noImpl
669
- set(value) = noImpl
670
643
fun get (index : Int ): Short = noImpl
671
644
fun set (index : Int , value : Short ): Unit = noImpl
672
645
fun set (array : Int16Array , offset : Int = noImpl): Unit = noImpl
@@ -683,18 +656,14 @@ native public open class Uint16Array : ArrayBufferView {
683
656
constructor (array: Uint16Array )
684
657
constructor (array: Array <Short >)
685
658
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
686
- var length: Int
659
+ open val length: Int
687
660
get() = noImpl
688
- set(value) = noImpl
689
- var buffer: ArrayBuffer
661
+ open val buffer: ArrayBuffer
690
662
get() = noImpl
691
- set(value) = noImpl
692
- var byteOffset: Int
663
+ open val byteOffset: Int
693
664
get() = noImpl
694
- set(value) = noImpl
695
- var byteLength: Int
665
+ open val byteLength: Int
696
666
get() = noImpl
697
- set(value) = noImpl
698
667
fun get (index : Int ): Short = noImpl
699
668
fun set (index : Int , value : Short ): Unit = noImpl
700
669
fun set (array : Uint16Array , offset : Int = noImpl): Unit = noImpl
@@ -711,18 +680,14 @@ native public open class Int32Array : ArrayBufferView {
711
680
constructor (array: Int32Array )
712
681
constructor (array: Array <Int >)
713
682
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
714
- var length: Int
683
+ open val length: Int
715
684
get() = noImpl
716
- set(value) = noImpl
717
- var buffer: ArrayBuffer
685
+ open val buffer: ArrayBuffer
718
686
get() = noImpl
719
- set(value) = noImpl
720
- var byteOffset: Int
687
+ open val byteOffset: Int
721
688
get() = noImpl
722
- set(value) = noImpl
723
- var byteLength: Int
689
+ open val byteLength: Int
724
690
get() = noImpl
725
- set(value) = noImpl
726
691
fun get (index : Int ): Int = noImpl
727
692
fun set (index : Int , value : Int ): Unit = noImpl
728
693
fun set (array : Int32Array , offset : Int = noImpl): Unit = noImpl
@@ -739,18 +704,14 @@ native public open class Uint32Array : ArrayBufferView {
739
704
constructor (array: Uint32Array )
740
705
constructor (array: Array <Int >)
741
706
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
742
- var length: Int
707
+ open val length: Int
743
708
get() = noImpl
744
- set(value) = noImpl
745
- var buffer: ArrayBuffer
709
+ open val buffer: ArrayBuffer
746
710
get() = noImpl
747
- set(value) = noImpl
748
- var byteOffset: Int
711
+ open val byteOffset: Int
749
712
get() = noImpl
750
- set(value) = noImpl
751
- var byteLength: Int
713
+ open val byteLength: Int
752
714
get() = noImpl
753
- set(value) = noImpl
754
715
fun get (index : Int ): Int = noImpl
755
716
fun set (index : Int , value : Int ): Unit = noImpl
756
717
fun set (array : Uint32Array , offset : Int = noImpl): Unit = noImpl
@@ -767,18 +728,14 @@ native public open class Float32Array : ArrayBufferView {
767
728
constructor (array: Float32Array )
768
729
constructor (array: Array <Float >)
769
730
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
770
- var length: Int
731
+ open val length: Int
771
732
get() = noImpl
772
- set(value) = noImpl
773
- var buffer: ArrayBuffer
733
+ open val buffer: ArrayBuffer
774
734
get() = noImpl
775
- set(value) = noImpl
776
- var byteOffset: Int
735
+ open val byteOffset: Int
777
736
get() = noImpl
778
- set(value) = noImpl
779
- var byteLength: Int
737
+ open val byteLength: Int
780
738
get() = noImpl
781
- set(value) = noImpl
782
739
fun get (index : Int ): Float = noImpl
783
740
fun set (index : Int , value : Float ): Unit = noImpl
784
741
fun set (array : Float32Array , offset : Int = noImpl): Unit = noImpl
@@ -795,18 +752,14 @@ native public open class Float64Array : ArrayBufferView {
795
752
constructor (array: Float64Array )
796
753
constructor (array: Array <Double >)
797
754
constructor (buffer: ArrayBuffer , byteOffset: Int = noImpl, length: Int = noImpl)
798
- var length: Int
755
+ open val length: Int
799
756
get() = noImpl
800
- set(value) = noImpl
801
- var buffer: ArrayBuffer
757
+ open val buffer: ArrayBuffer
802
758
get() = noImpl
803
- set(value) = noImpl
804
- var byteOffset: Int
759
+ open val byteOffset: Int
805
760
get() = noImpl
806
- set(value) = noImpl
807
- var byteLength: Int
761
+ open val byteLength: Int
808
762
get() = noImpl
809
- set(value) = noImpl
810
763
fun get (index : Int ): Double = noImpl
811
764
fun set (index : Int , value : Double ): Unit = noImpl
812
765
fun set (array : Float64Array , offset : Int = noImpl): Unit = noImpl
@@ -819,15 +772,12 @@ native public open class Float64Array : ArrayBufferView {
819
772
}
820
773
821
774
native public open class DataView (buffer : ArrayBuffer , byteOffset : Int = noImpl, byteLength : Int = noImpl) : ArrayBufferView {
822
- var buffer: ArrayBuffer
775
+ open val buffer: ArrayBuffer
823
776
get() = noImpl
824
- set(value) = noImpl
825
- var byteOffset: Int
777
+ open val byteOffset: Int
826
778
get() = noImpl
827
- set(value) = noImpl
828
- var byteLength: Int
779
+ open val byteLength: Int
829
780
get() = noImpl
830
- set(value) = noImpl
831
781
fun getInt8 (byteOffset : Int ): Byte = noImpl
832
782
fun getUint8 (byteOffset : Int ): Byte = noImpl
833
783
fun getInt16 (byteOffset : Int , littleEndian : Boolean = noImpl): Short = noImpl
0 commit comments