add some notes to AcquireSwapchainTexture
parent
c34f74a99d
commit
f6369b6bce
|
@ -656,6 +656,9 @@ namespace MoonWorks.Graphics
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Acquires a swapchain texture.
|
/// Acquires a swapchain texture.
|
||||||
/// This texture will be presented to the given window when the command buffer is submitted.
|
/// This texture will be presented to the given window when the command buffer is submitted.
|
||||||
|
/// Can return null if the swapchain is unavailable. The user should ALWAYS handle the case where this occurs.
|
||||||
|
/// If null is returned, presentation will not occur.
|
||||||
|
/// It is an error to acquire two swapchain textures from the same window in one command buffer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Texture? AcquireSwapchainTexture(
|
public Texture? AcquireSwapchainTexture(
|
||||||
Window window
|
Window window
|
||||||
|
|
Loading…
Reference in New Issue