Exemplo n.º 1
0
        public RIndexBuffer(RIndexElementSize indexElementSize, int indexCount, RBufferUsage usage, bool dynamic)
        {
            this.IndexElementSize = indexElementSize;
            this.IndexCount       = indexCount;
            this.BufferUsage      = usage;

            _isDynamic = dynamic;

            Threading.BlockOnUIThread(GenerateIfRequired);
        }
Exemplo n.º 2
0
 public RIndexBuffer(RIndexElementSize indexElementSize, int indexCount, RBufferUsage bufferUsage) :
     this(indexElementSize, indexCount, bufferUsage, false)
 {
 }