Skip to content

Commit

Permalink
Exposed GraphicsDevice.maxSamples (#7086)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <[email protected]>
  • Loading branch information
mvaligursky and Martin Valigursky authored Nov 4, 2024
1 parent d911fab commit a8cebda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/platform/graphics/graphics-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,14 @@ class GraphicsDevice extends EventHandler {
*/
samples;

/**
* The maximum supported number of hardware anti-aliasing samples.
*
* @readonly
* @type {number}
*/
maxSamples = 1;

/**
* True if the main framebuffer contains stencil attachment.
*
Expand Down

0 comments on commit a8cebda

Please sign in to comment.