LiteFX::Rendering::DeviceState::release¶
release overloads
Synopses¶
Declared in <litefx/rendering_api.hpp>
Releases a buffer.
Releases a descriptor set.
[[dllimport, dllexport]] bool release(IDescriptorSet const& descriptorSet);Releases a frame buffer.
[[dllimport, dllexport]] bool release(IFrameBuffer const& frameBuffer);Releases an image.
Releases a index buffer.
[[dllimport, dllexport]] bool release(IIndexBuffer const& buffer);Releases a pipeline.
Releases a render pass.
[[dllimport, dllexport]] bool release(IRenderPass const& renderPass);Releases a sampler.
Releases a vertex buffer.
[[dllimport, dllexport]] bool release(IVertexBuffer const& buffer);Return Value¶
true, if the buffer was properly released,falseotherwise.true, if the descriptor set was properly released,falseotherwise.true, if the frame buffer was properly released,falseotherwise.true, if the image was properly released,falseotherwise.true, if the index buffer was properly released,falseotherwise.true, if the pipeline was properly released,falseotherwise.true, if the render pass was properly released,falseotherwise.true, if the sampler was properly released,falseotherwise.true, if the vertex buffer was properly released,falseotherwise.
Parameters¶
| Name | Description |
|---|---|
| buffer | The buffer to release. |
| descriptorSet | The descriptor set to release. |
| frameBuffer | The frame buffer to release. |
| image | The image to release. |
| pipeline | The pipeline to release. |
| renderPass | The render pass to release. |
| sampler | The sampler to release. |