local o=import("\046\046\047\046\046\047\097\115\115\105\103\110")local N=import("\046\046\047\046\046\047\116\121\112\101\075\101\121")local a={}setmetatable(a,{__tostring=function()return"\082\101\110\100\101\114\083\101\116\116\105\110\103\115"end})local G={}local i={}i[N]="\082\101\110\100\101\114\083\101\116\116\105\110\103\115"function i.__index(N,o)local a=(getmetatable(N)).internal if a[o]~=nil then return a[o]end if G[o]~=nil then return G[o]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(o)),2)end function i.__newindex(a,o,N)local G=(getmetatable(a)).internal if G[o]~=nil then G[o]=N 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(o)),2)end function a.new()local N={QualityLevel=0}local a=newproxy(true)o(getmetatable(a),i);(getmetatable(a)).internal=N return a end return a
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