Flutter3D class

Constructors

Flutter3D()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

flutter3DUtils Flutter3DUtils
getter/setter pair

Static Methods

createAttributeSetters(OpenGLContextES gl, int program) Map<String, dynamic>
Creates attribute setters.
createProgram(OpenGLContextES gl, int vertexShader, int fragmentShader) int
Creates the program.
createProgramInfo(OpenGLContextES gl, String vertexShaderSource, String fragmentShaderSource) ProgramInfo
Creates the program info.
createShader(OpenGLContextES gl, int type, String source) int
Creates 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 type, dynamic count, dynamic offset]) → dynamic
Draws the buffer info.
setUniforms(ProgramInfo programInfo, Map<String, dynamic> uniforms) → dynamic
Sets the program uniforms.