local K=import("\046\046\047\046\046\047\097\115\115\105\103\110")local k=import("\046\046\047\046\046\047\116\121\112\101\075\101\121")local u={}setmetatable(u,{__tostring=function()return"\082\101\110\100\101\114\083\101\116\116\105\110\103\115"end})local n={}local B={}B[k]="\082\101\110\100\101\114\083\101\116\116\105\110\103\115"function B.__index(k,K)local u=(getmetatable(k)).internal if u[K]~=nil then return u[K]end if n[K]~=nil then return n[K]end error(string.format("\037\115 \105\115 \110\111\116 \097 \118\097\108\105\100 \109\101\109\098\101\114 \111\102 \082\101\110\100\101\114\083\101\116\116\105\110\103\115",tostring(K)),2)end function B.__newindex(u,K,k)local n=(getmetatable(u)).internal if n[K]~=nil then n[K]=k return end error(string.format("\037\113 \105\115 \110\111\116 \097 \118\097\108\105\100 \109\101\109\098\101\114 \111\102 \082\101\110\100\101\114\083\101\116\116\105\110\103\115",tostring(K)),2)end function u.new()local k={QualityLevel=0}local u=newproxy(true)K(getmetatable(u),B);(getmetatable(u)).internal=k return u end return u
local assign = import("../../assign")
local typeKey = import("../../typeKey")

local RenderSettings = {}

setmetatable(RenderSettings, {
	__tostring = function()
		return "RenderSettings"
	end,
})

local prototype = {}

local metatable = {}
metatable[typeKey] = "RenderSettings"

function metatable:__index(key)
	local internal = getmetatable(self).internal

	if internal[key] ~= nil then
		return internal[key]
	end

	if prototype[key] ~= nil then
		return prototype[key]
	end

	error(string.format("%s is not a valid member of RenderSettings", tostring(key)), 2)
end

function metatable:__newindex(key, value)
	local internal = getmetatable(self).internal

	if internal[key] ~= nil then
		internal[key] = value
		return
	end

	error(string.format("%q is not a valid member of RenderSettings", tostring(key)), 2)
end


function RenderSettings.new()
	local internalInstance = {
		QualityLevel = 0,
	}

	local instance = newproxy(true)

	assign(getmetatable(instance), metatable)
	getmetatable(instance).internal = internalInstance

	return instance
end

return RenderSettings