public TestImageFloat(string filename) { if (Effect == null) { Effect = SharedEffects.Effects["ImposterFloat"] as ImposterFloatEffect; } m_Filename = filename; }
public ImposterFloat(int width, int height, Format format, Color4 background, ImposterOverlayType overlayType) { if (Effect == null) { Effect = SharedEffects.Effects["ImposterFloat"] as ImposterFloatEffect; } m_Disposed = true; m_BackupState = new RenderTargetBackupState(); m_ImposterView = new View3D(new System.Drawing.Rectangle(0, 0, width, height), width, height, (float)Math.PI / 4, 1f); m_Format = format; m_Background = background; m_OverlayType = overlayType; }