original_docstring: Writes the code to handle deferring reads or writes.
docstring: Writes the code to handle deferring reads or writes.
docstring_tokens: Writes the code to handle deferring reads or writes .
code: def WriteHandlerDeferReadWrite(self, func, file):
      """Writes the code to handle deferring reads or writes."""
      defer_draws = func.GetInfo('defer_draws')
      defer_reads = func.GetInfo('defer_reads')
      if defer_draws or defer_reads:
        file.Write("  error::Error error;\n")
      if defer_draws:
        file.Write("  error = WillAccessBoundFramebufferForDraw();\n")
        file.Write("  if (error != error::kNoError)\n")
        file.Write("    return error;\n")
      if defer_reads:
        file.Write("  error = WillAccessBoundFramebufferForRead();\n")
        file.Write("  if (error != error::kNoError)\n")
        file.Write("    return error;\n")
code_tokens: def WriteHandlerDeferReadWrite ( self , func , file ) : defer_draws = func . GetInfo ( 'defer_draws' ) defer_reads = func . GetInfo ( 'defer_reads' ) if defer_draws or defer_reads : file . Write ( "  error::Error error;\n" ) if defer_draws : file . Write ( "  error = WillAccessBoundFramebufferForDraw();\n" ) file . Write ( "  if (error != error::kNoError)\n" ) file . Write ( "    return error;\n" ) if defer_reads : file . Write ( "  error = WillAccessBoundFramebufferForRead();\n" ) file . Write ( "  if (error != error::kNoError)\n" ) file . Write ( "    return error;\n" )
short_docstring: Writes the code to handle deferring reads or writes.
short_docstring_tokens: Writes the code to handle deferring reads or writes .
comment: """Writes the code to handle deferring reads or writes."""