Lines Matching refs:resource
389 ResSceneObject resource, in Create() argument
396 ResCamera resCamera = ResDynamicCast<ResCamera>(resource); in Create()
750 const ResPerspectiveProjectionUpdater resource = in GetPerspective() local
753 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in GetPerspective()
757 *fovy = resource.GetFovy(); in GetPerspective()
761 *aspectRatio = resource.GetAspectRatio(); in GetPerspective()
765 *nearClip = resource.GetNear(); in GetPerspective()
769 *farClip = resource.GetFar(); in GetPerspective()
782 ResPerspectiveProjectionUpdater resource = in SetPerspective() local
785 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't perspective"); in SetPerspective()
787 resource.SetFovy(fovy); in SetPerspective()
788 resource.SetAspectRatio(aspectRatio); in SetPerspective()
789 resource.SetNear(nearClip); in SetPerspective()
790 resource.SetFar(farClip); in SetPerspective()
804 const ResFrustumProjectionUpdater resource = in GetFrustum() local
807 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
811 const ut::Rect rect = resource.GetRect(); in GetFrustum()
831 *nearClip = resource.GetNear(); in GetFrustum()
835 *farClip = resource.GetFar(); in GetFrustum()
850 ResFrustumProjectionUpdater resource = in SetFrustum() local
853 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in SetFrustum()
855 resource.SetRectWithoutFlip(left, right, bottom, top); in SetFrustum()
856 resource.SetNear(nearClip); in SetFrustum()
857 resource.SetFar(farClip); in SetFrustum()
871 const ResOrthoProjectionUpdater resource = in GetOrtho() local
874 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
878 const ut::Rect rect = resource.GetRect(); in GetOrtho()
898 *nearClip = resource.GetNear(); in GetOrtho()
902 *farClip = resource.GetFar(); in GetOrtho()
917 ResOrthoProjectionUpdater resource = in SetOrtho() local
920 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in SetOrtho()
922 resource.SetRectWithoutFlip(left, right, bottom, top); in SetOrtho()
923 resource.SetNear(nearClip); in SetOrtho()
924 resource.SetFar(farClip); in SetOrtho()
935 const ResFrustumProjectionUpdater resource = in GetFrustum() local
938 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't frustum"); in GetFrustum()
942 *rect = resource.GetRect(); in GetFrustum()
946 *nearClip = resource.GetNear(); in GetFrustum()
950 *farClip = resource.GetFar(); in GetFrustum()
973 const ResOrthoProjectionUpdater resource = in GetOrtho() local
976 NW_ASSERTMSG(resource.IsValid(), "Projection updater isn't ortho"); in GetOrtho()
980 *rect = resource.GetRect(); in GetOrtho()
984 *nearClip = resource.GetNear(); in GetOrtho()
988 *farClip = resource.GetFar(); in GetOrtho()
1025 const ResCameraProjectionUpdater resource = in GetNear() local
1028 NW_ASSERT(resource.IsValid()); in GetNear()
1030 return resource.GetNear(); in GetNear()
1037 ResCameraProjectionUpdater resource = in SetNear() local
1040 NW_ASSERT(resource.IsValid()); in SetNear()
1042 resource.SetNear(near); in SetNear()
1049 const ResCameraProjectionUpdater resource = in GetFar() local
1052 NW_ASSERT(resource.IsValid()); in GetFar()
1054 return resource.GetFar(); in GetFar()
1061 ResCameraProjectionUpdater resource = in SetFar() local
1064 NW_ASSERT(resource.IsValid()); in SetFar()
1066 resource.SetFar(far); in SetFar()