Flutter3D class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
createAttributeSetters(OpenGLContextES gl, int program)
→ Map<String, dynamic>
-
Creates attribute setters.
-
createProgram(OpenGLContextES gl, int vs, int fs)
→ int
-
Creates a shader program.
-
createProgramInfo(OpenGLContextES gl, String vertexShaderSource, String fragmentShaderSource)
→ ProgramInfo
-
Creates the program info.
-
createShader(OpenGLContextES gl, int type, String source)
→ int
-
Creates a shader.
-
createUniformSetters(OpenGLContextES gl, int program)
→ dynamic
-
Creates uniform setters.
-
createVAOAndSetAttributes(OpenGLContextES gl, dynamic setters, dynamic attribs, dynamic indices)
→ dynamic
-
Creates VAO, sets the program attributes, and binds the
indices.
-
createVAOFromBufferInfo(OpenGLContextES gl, ProgramInfo programInfo, BufferInfo bufferInfo)
→ dynamic
-
Creates VAO from buffer info and set's the attributes.
-
drawBufferInfo(OpenGLContextES gl, BufferInfo bufferInfo, [dynamic mode, dynamic count, int offset = 0])
→ dynamic
-
Draws the buffer info.
-
glClearError(OpenGLContextES gl)
→ void
-
-
glLogCall(OpenGLContextES gl)
→ void
-
-
setUniforms(ProgramInfo programInfo, Map<String, dynamic> uniforms)
→ dynamic
-
Sets the program uniforms.