Creating an argument constructor of ShaderDetails class.
ShaderDetails( this.rect, this.renderType, );