# {py:mod}`simvx.graphics.gpu.commands` ```{py:module} simvx.graphics.gpu.commands ``` ```{autodoc2-docstring} simvx.graphics.gpu.commands :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`CommandContext ` - ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`__all__ ` - ```{autodoc2-docstring} simvx.graphics.gpu.commands.__all__ :summary: ``` * - {py:obj}`log ` - ```{autodoc2-docstring} simvx.graphics.gpu.commands.log :summary: ``` ```` ### API ````{py:data} __all__ :canonical: simvx.graphics.gpu.commands.__all__ :value: > ['CommandContext'] ```{autodoc2-docstring} simvx.graphics.gpu.commands.__all__ ``` ```` ````{py:data} log :canonical: simvx.graphics.gpu.commands.log :value: > 'getLogger(...)' ```{autodoc2-docstring} simvx.graphics.gpu.commands.log ``` ```` `````{py:class} CommandContext(device: typing.Any, queue_family_index: int) :canonical: simvx.graphics.gpu.commands.CommandContext ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext.__init__ ``` ````{py:method} create_pool() -> None :canonical: simvx.graphics.gpu.commands.CommandContext.create_pool ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext.create_pool ``` ```` ````{py:method} allocate(count: int = 1) -> list[typing.Any] :canonical: simvx.graphics.gpu.commands.CommandContext.allocate ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext.allocate ``` ```` ````{py:method} destroy() -> None :canonical: simvx.graphics.gpu.commands.CommandContext.destroy ```{autodoc2-docstring} simvx.graphics.gpu.commands.CommandContext.destroy ``` ```` `````