Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    BufferPoolAllocationType Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    public enum BufferPoolAllocationType

    Fields

    Name Description
    UsedMultipleTime

    Notify the allocator that this buffer will be reused for many draw calls. In practice, on older D3D11 (not 11.1) and OpenGL ES 2.0 hardware, we will use a dedicated cbuffer. This has no effect on new API where we can bind cbuffer offsets.

    UsedOnce

    Notify the allocator that this buffer won't be reused for much more than 1 (or few) draw calls. In practice, on older D3D11 (not 11.1) and OpenGL ES 2.0 hardware, we won't use a dedicated cbuffer. This has no effect on new API where we can bind cbuffer offsets.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<BufferPoolAllocationType>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<BufferPoolAllocationType>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation