Skip to content

Commit

Permalink
Add Renderer.hasFeatureAsync (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Apr 25, 2024
1 parent 64bf9aa commit d885b0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/three/examples/jsm/renderers/common/Renderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ export default class Renderer {
*/
computeAsync(computeNodes: ComputeNode | ComputeNode[]): Promise<void>;

hasFeatureAsync(name: string): Promise<boolean>;

hasFeature(name: string): boolean;

copyFramebufferToTexture(framebufferTexture: FramebufferTexture): void;
Expand Down

0 comments on commit d885b0b

Please sign in to comment.