public DxgiModeDesc FindClosestMatchingMode(DxgiModeDesc modeToMatch, object concernedDevice) { DxgiModeDesc closestMatch; this.output.FindClosestMatchingMode(ref modeToMatch, out closestMatch, concernedDevice); return(closestMatch); }
public DxgiModeDesc[] GetDisplayModeList(DxgiFormat format, DxgiEnumModes modes) { uint numModes = 0; this.output.GetDisplayModeList(format, modes, ref numModes, null); DxgiModeDesc[] displayModes = new DxgiModeDesc[numModes]; this.output.GetDisplayModeList(format, modes, ref numModes, displayModes); return(displayModes); }
public void ResizeTarget(DxgiModeDesc targetParameters) { this.swapChain.ResizeTarget(ref targetParameters); }