Lines Matching refs:resource
392 ResSceneObject resource, in Create() argument
399 ResCamera resCamera = ResDynamicCast<ResCamera>(resource); in Create()
753 const ResPerspectiveProjectionUpdater resource = in GetPerspective() local
756 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in GetPerspective()
760 *fovy = resource.GetFovy(); in GetPerspective()
764 *aspectRatio = resource.GetAspectRatio(); in GetPerspective()
768 *nearClip = resource.GetNear(); in GetPerspective()
772 *farClip = resource.GetFar(); in GetPerspective()
785 ResPerspectiveProjectionUpdater resource = in SetPerspective() local
788 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in SetPerspective()
790 resource.SetFovy(fovy); in SetPerspective()
791 resource.SetAspectRatio(aspectRatio); in SetPerspective()
792 resource.SetNear(nearClip); in SetPerspective()
793 resource.SetFar(farClip); in SetPerspective()
807 const ResFrustumProjectionUpdater resource = in GetFrustum() local
810 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
814 const ut::Rect rect = resource.GetRect(); in GetFrustum()
834 *nearClip = resource.GetNear(); in GetFrustum()
838 *farClip = resource.GetFar(); in GetFrustum()
853 ResFrustumProjectionUpdater resource = in SetFrustum() local
856 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in SetFrustum()
858 resource.SetRectWithoutFlip(left, right, bottom, top); in SetFrustum()
859 resource.SetNear(nearClip); in SetFrustum()
860 resource.SetFar(farClip); in SetFrustum()
874 const ResOrthoProjectionUpdater resource = in GetOrtho() local
877 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
881 const ut::Rect rect = resource.GetRect(); in GetOrtho()
901 *nearClip = resource.GetNear(); in GetOrtho()
905 *farClip = resource.GetFar(); in GetOrtho()
920 ResOrthoProjectionUpdater resource = in SetOrtho() local
923 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in SetOrtho()
925 resource.SetRectWithoutFlip(left, right, bottom, top); in SetOrtho()
926 resource.SetNear(nearClip); in SetOrtho()
927 resource.SetFar(farClip); in SetOrtho()
938 const ResFrustumProjectionUpdater resource = in GetFrustum() local
941 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
945 *rect = resource.GetRect(); in GetFrustum()
949 *nearClip = resource.GetNear(); in GetFrustum()
953 *farClip = resource.GetFar(); in GetFrustum()
976 const ResOrthoProjectionUpdater resource = in GetOrtho() local
979 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
983 *rect = resource.GetRect(); in GetOrtho()
987 *nearClip = resource.GetNear(); in GetOrtho()
991 *farClip = resource.GetFar(); in GetOrtho()
1028 const ResCameraProjectionUpdater resource = in GetNear() local
1031 NW_ASSERT(resource.IsValid()); in GetNear()
1033 return resource.GetNear(); in GetNear()
1040 ResCameraProjectionUpdater resource = in SetNear() local
1043 NW_ASSERT(resource.IsValid()); in SetNear()
1045 resource.SetNear(near); in SetNear()
1052 const ResCameraProjectionUpdater resource = in GetFar() local
1055 NW_ASSERT(resource.IsValid()); in GetFar()
1057 return resource.GetFar(); in GetFar()
1064 ResCameraProjectionUpdater resource = in SetFar() local
1067 NW_ASSERT(resource.IsValid()); in SetFar()
1069 resource.SetFar(far); in SetFar()