Interface RefCounted

All Known Subinterfaces:
Blender, ColorFilter, Shader
All Known Implementing Classes:
AngularGradient, ArcData, BilinearGradient, BlendMode, BlendModeColorFilter, BlendShader, Buffer, Color4fShader, ColorMatrixColorFilter, ColorShader, ComposeColorFilter, ComputePipeline, Context, CopyBufferTask, CopyImageTask, CpuBuffer, Device, DrawTask, EmptyShader, Framebuffer, GLBuffer, GLFramebuffer, GLGraphicsPipeline, GLImage, GLProgram, GLRenderbuffer, GLRenderTarget, GLSampler, GLTexture, GLTextureView, GLUniformBuffer, GLUniformDataManager, GLVertexArray, GpuRenderTarget, GpuSurface, Gradient1DShader, Gradient2DShader, GradientShader, GraniteDevice, GraniteImage, GraniteSurface, GraphicsPipeline, Image, Image, ImageShader, ImageUploadTask, ImageViewProxy, ImmediateContext, LinearGradient, LocalMatrixShader, ManagedResource, NoPixelsDevice, OpsTask, Pixels, RadialGradient, RasterDevice, RasterImage, RecordingContext, RecycledResource, RefCnt, ReleaseCallback, RenderPassTask, RenderTargetProxy, RenderTask, Resource, RootTask, Sampler, Surface, SurfaceProxy, Task, TextureResolveTask, UniformDataManager, VulkanBuffer, VulkanCommandPool, VulkanImage, VulkanImageView, VulkanRenderPassFramebuffer, VulkanRenderTarget

public interface RefCounted
Marks an object as reference-counted, behavior is implementation-dependent.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    ref()
    Increases the reference count by 1.
    void
    Decreases the reference count by 1.
  • Method Details

    • ref

      void ref()
      Increases the reference count by 1.
    • unref

      void unref()
      Decreases the reference count by 1.