Source

Renderers/Commands/RenderCommand.js

  1. /**
  2. * An abstract rendering command
  3. *
  4. * @category Rendering
  5. */
  6. class RenderCommand {
  7. /**
  8. * Indicates if the command concern an opaque element
  9. *
  10. * @return {boolean} True if command must be in the opaque queue
  11. */
  12. isOpaque() { return true; }
  13. /**
  14. * Execute the command
  15. *
  16. * @param {RenderAPI} renderAPI RenderAPI instance used to process the commands
  17. */
  18. execute(renderAPI) { }
  19. }
  20. export default RenderCommand;