mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
Merge pull request #2697 from lioncash/doc
gl_rasterizer: Amend documentation comment for ConfigureFramebuffers()
This commit is contained in:
commit
fd066ffbce
1 changed files with 9 additions and 7 deletions
|
@ -98,17 +98,19 @@ private:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures the color and depth framebuffer states.
|
* Configures the color and depth framebuffer states.
|
||||||
* @param must_reconfigure If true, tells the framebuffer to skip the cache and reconfigure
|
*
|
||||||
* again. Used by the texture cache to solve texception conflicts
|
* @param current_state The current OpenGL state.
|
||||||
* @param use_color_fb If true, configure color framebuffers.
|
* @param using_color_fb If true, configure color framebuffers.
|
||||||
* @param using_depth_fb If true, configure the depth/stencil framebuffer.
|
* @param using_depth_fb If true, configure the depth/stencil framebuffer.
|
||||||
* @param preserve_contents If true, tries to preserve data from a previously used framebuffer.
|
* @param preserve_contents If true, tries to preserve data from a previously used
|
||||||
|
* framebuffer.
|
||||||
* @param single_color_target Specifies if a single color buffer target should be used.
|
* @param single_color_target Specifies if a single color buffer target should be used.
|
||||||
|
*
|
||||||
* @returns If depth (first) or stencil (second) are being stored in the bound zeta texture
|
* @returns If depth (first) or stencil (second) are being stored in the bound zeta texture
|
||||||
* (requires using_depth_fb to be true)
|
* (requires using_depth_fb to be true)
|
||||||
*/
|
*/
|
||||||
std::pair<bool, bool> ConfigureFramebuffers(
|
std::pair<bool, bool> ConfigureFramebuffers(
|
||||||
OpenGLState& current_state, bool use_color_fb = true, bool using_depth_fb = true,
|
OpenGLState& current_state, bool using_color_fb = true, bool using_depth_fb = true,
|
||||||
bool preserve_contents = true, std::optional<std::size_t> single_color_target = {});
|
bool preserve_contents = true, std::optional<std::size_t> single_color_target = {});
|
||||||
|
|
||||||
/// Configures the current constbuffers to use for the draw command.
|
/// Configures the current constbuffers to use for the draw command.
|
||||||
|
|
Loading…
Reference in a new issue