mirror of
https://github.com/Michatec/ptelevision.git
synced 2026-04-01 07:56:29 +02:00
Delete client directory
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
function CreateNamedRenderTargetForModel(name, model)
|
||||
local handle = 0
|
||||
if not IsNamedRendertargetRegistered(name) then
|
||||
RegisterNamedRendertarget(name, 0)
|
||||
end
|
||||
if not IsNamedRendertargetLinked(model) then
|
||||
LinkNamedRendertarget(model)
|
||||
end
|
||||
if IsNamedRendertargetRegistered(name) then
|
||||
handle = GetNamedRendertargetRenderId(name)
|
||||
end
|
||||
|
||||
return handle
|
||||
end
|
||||
|
||||
function RequestTextureDictionary (dict)
|
||||
RequestStreamedTextureDict(dict)
|
||||
|
||||
while not HasStreamedTextureDictLoaded(dict) do Wait(0) end
|
||||
|
||||
return dict
|
||||
end
|
||||
|
||||
function LoadModel (model)
|
||||
if not IsModelInCdimage(model) then return end
|
||||
|
||||
RequestModel(model)
|
||||
|
||||
while not HasModelLoaded(model) do Wait(0) end
|
||||
|
||||
return model
|
||||
end
|
||||
Reference in New Issue
Block a user