Lines Matching refs:resource
283 ResSceneObject resource, in Create() argument
290 ResCamera resCamera = ResDynamicCast<ResCamera>(resource); in Create()
552 const ResPerspectiveProjectionUpdater resource = in GetPerspective() local
555 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in GetPerspective()
559 *fovy = resource.GetFovy(); in GetPerspective()
563 *aspectRatio = resource.GetAspectRatio(); in GetPerspective()
567 *nearClip = resource.GetNear(); in GetPerspective()
571 *farClip = resource.GetFar(); in GetPerspective()
584 ResPerspectiveProjectionUpdater resource = in SetPerspective() local
587 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in SetPerspective()
589 resource.SetFovy(fovy); in SetPerspective()
590 resource.SetAspectRatio(aspectRatio); in SetPerspective()
591 resource.SetNear(nearClip); in SetPerspective()
592 resource.SetFar(farClip); in SetPerspective()
606 const ResFrustumProjectionUpdater resource = in GetFrustum() local
609 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
613 const ut::Rect rect = resource.GetRect(); in GetFrustum()
633 *nearClip = resource.GetNear(); in GetFrustum()
637 *farClip = resource.GetFar(); in GetFrustum()
652 ResFrustumProjectionUpdater resource = in SetFrustum() local
655 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in SetFrustum()
657 resource.SetRect(left, right, bottom, top); in SetFrustum()
658 resource.SetNear(nearClip); in SetFrustum()
659 resource.SetFar(farClip); in SetFrustum()
673 const ResOrthoProjectionUpdater resource = in GetOrtho() local
676 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
680 const ut::Rect rect = resource.GetRect(); in GetOrtho()
700 *nearClip = resource.GetNear(); in GetOrtho()
704 *farClip = resource.GetFar(); in GetOrtho()
719 ResOrthoProjectionUpdater resource = in SetOrtho() local
722 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in SetOrtho()
724 resource.SetRect(left, right, bottom, top); in SetOrtho()
725 resource.SetNear(nearClip); in SetOrtho()
726 resource.SetFar(farClip); in SetOrtho()
737 const ResFrustumProjectionUpdater resource = in GetFrustum() local
740 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
744 *rect = resource.GetRect(); in GetFrustum()
748 *nearClip = resource.GetNear(); in GetFrustum()
752 *farClip = resource.GetFar(); in GetFrustum()
775 const ResOrthoProjectionUpdater resource = in GetOrtho() local
778 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
782 *rect = resource.GetRect(); in GetOrtho()
786 *nearClip = resource.GetNear(); in GetOrtho()
790 *farClip = resource.GetFar(); in GetOrtho()
827 const ResCameraProjectionUpdater resource = in GetNear() local
830 NW_ASSERT(resource.IsValid()); in GetNear()
832 return resource.GetNear(); in GetNear()
839 ResCameraProjectionUpdater resource = in SetNear() local
842 NW_ASSERT(resource.IsValid()); in SetNear()
844 resource.SetNear(near); in SetNear()
851 const ResCameraProjectionUpdater resource = in GetFar() local
854 NW_ASSERT(resource.IsValid()); in GetFar()
856 return resource.GetFar(); in GetFar()
863 ResCameraProjectionUpdater resource = in SetFar() local
866 NW_ASSERT(resource.IsValid()); in SetFar()
868 resource.SetFar(far); in SetFar()