• Home
  • Samples
  • Api Documentation
Show / Hide Table of Contents
  • Aximo
    • AssetManager
    • AxMath
    • AxPixelFormat
    • AxPrimitiveType
    • BoxExtensions
    • BoxHelper
    • BufferData
    • BufferData1D
    • BufferData1D<T>
    • BufferData2D
    • BufferData2D<T>
    • BufferData3D
    • BufferData3D<T>
    • BufferDataExtentions
    • Camera
    • Camera.CameraChangedDelegate
    • CameraType
    • DebugHelper
    • DictionaryExtensions
    • EventCounter
    • FaceExtensions
    • GenerateFileDelegate
    • Hashing
    • IArray<T>
    • IData
    • IDynamicArray<T>
    • ImageExtensions
    • IPosition
    • IVisitor
    • IVisitorNode
    • Line2
    • Line3
    • ListExtensions
    • Log
    • LogExtensions
    • Mesh
    • MeshColorComponent
    • MeshComponent
    • MeshComponent<T>
    • MeshComponentType
    • MeshFace<T>
    • MeshFaceType
    • MeshNormalComponent
    • MeshPosition2Component
    • MeshPosition3Component
    • MeshPositionComponent<T>
    • MeshUVComponent
    • MeshVertexList<T>
    • OrthographicCamera
    • PathBuilder
    • PerspectiveFieldOfViewCamera
    • Plane
    • Ray
    • ScreenResizeEventArgs
    • SharedLib
    • StreamExtensions
    • StringExtensions
    • Transform
    • VectorExtensions
    • VectorHelper
  • Aximo.Engine
    • Actor
    • ActorComponent
    • AfterApplicationInitializedDelegate
    • Application
    • ApplicationConfig
    • BufferComponent
    • CommandLineOptions
    • ISceneInterface
    • LerpFunc<TValue>
    • Material
    • Material.Parameter
    • Material.ParamterType
    • MaterialManager
    • MeshBuilder
    • PipelineType
    • PrimitiveDrawInterface
    • PrimitiveSceneProxy
    • ScaleFunc
    • ScaleFuncs
    • SceneComponent
    • SceneContext
    • SceneObject
    • Shader
    • Startup
    • Startup<TApplication, TGtk>
    • Startup<TApplication>
    • StaticMeshSceneProxy
    • StaticPrimitiveDrawInterface
    • TaskQueue
    • Texture
    • TextureManager
    • Tween
    • Tween<TValue>
    • Tween1
    • Tween2
    • Tween3
    • TweenBuilder
    • TweenBuilder<TTarget>
    • TweenBuilderExtensions
    • TweenFinishedDelegate
    • TweenState
    • TweenStopBehavior
  • Aximo.Engine.Audio
    • AudioManager
  • Aximo.Engine.Components.Geometry
    • CrossLineComponent
    • CubeComponent
    • DebugCubeComponent
    • GraphicsScreenTextureComponent
    • GridPlaneComponent
    • LineComponent
    • MeshComponent
    • PrimitiveComponent
    • QuadComponent
    • ScreenTextureComponent
    • SkyBoxComponent
    • SphereComponent
    • StaticMeshComponent
    • StatsComponent
  • Aximo.Engine.Components.Lights
    • DirectionalLightComponent
    • LightComponent
    • PointLightComponent
  • Aximo.Engine.Components.UI
    • UIAnchors
    • UIButton
    • UIButtonComponent
    • UIComponent
    • UIContainerComponent
    • UIDock
    • UIFloatingContainer
    • UIFlowContainer
    • UIImage
    • UILabelComponent
    • UIPanelComponent
    • UIRect
  • Aximo.Engine.Windows
    • GtkUI
    • MouseButtonArgs
    • MouseMoveArgs
    • RenderWindow
    • WindowContext
  • Aximo.Generators.AlchemyCircle
    • AlchemyCircleGenerator
    • AlchemyCircleOptions
    • CiaccoRandom
    • TextureDraw
  • Aximo.Render
    • IBounds
    • IDeferredRenderable
    • IForwardRenderable
    • ILightObject
    • ILightTarget
    • IMeshObject
    • IReloadable
    • IRenderableObject
    • IRenderObject
    • IRenderTarget
    • IScaleRotate
    • IScreenRenderable
    • IShadowObject
    • IUpdateFrame
    • LightType
    • MaterialColorBlendMode
    • MeshDepthSorter
    • PixelFormatExtensions
    • PrimitiveObject
    • RenderContext
    • Renderer
    • RendererMaterial
    • ScreenTextureObject
    • SlotAllocator<T>
  • Aximo.Render.Objects
    • LightObject
    • RenderObject
    • RenderObjectBase
    • ScreenSceneObject
    • ScreenshotObject
    • SimpleVertexObject
    • SkyboxObject
  • Aximo.Render.OpenGL
    • BindingPoint
    • BufferObject
    • CullFaceMode
    • DepthFunction
    • DynamicInternalMesh
    • ElementsBufferObject
    • FlushRenderBackend
    • FrameBuffer
    • GraphicsDevice
    • GraphicsTexture
    • InternalLightManager
    • InternalMesh
    • InternalTextureManager
    • IObjectHandle
    • IObjectIdentifier
    • IObjectLabel
    • MeshData
    • MeshData<T>
    • MeshDataBuilder
    • MeshExtensions
    • ObjectManager
    • RenderBuffer
    • RendererShader
    • RendererTexture
    • ShaderCompilation
    • ShaderSource
    • StaticInternalMesh
    • StructHelper
    • UniformBufferObject
    • VertexArrayObject
    • VertexBufferObject
    • VertexLayoutBinded
    • VertexLayoutBindedAttribute
    • VertexLayoutDefinition
    • VertexLayoutDefinitionAttribute
  • Aximo.Render.Pipelines
    • DeferredPass
    • DeferredRenderPipeline
    • DirectionalShadowRenderPipeline
    • ForwardRenderPipeline
    • IRenderPipeline
    • PointShadowRenderPipeline
    • RenderPipeline
    • ScreenPipeline
  • Aximo.Util.IcoSphere
    • IcoSphereCreator
    • IcoSphereMesh
    • MeshGeometry3D
    • TriangleIndices
    • VertexSoup<TVertexStruct>
  • Aximo.VertexData
    • EngineExtensions
    • IPrimitive
    • IPrimitive<TVertex>
    • IVertex
    • IVertexColor
    • IVertexNormal
    • IVertexPos2UV
    • IVertexPosColor
    • IVertexPosition<TVector>
    • IVertexPosition2
    • IVertexPosition3
    • IVertexPosNormalColor
    • IVertexPosNormalUV
    • IVertexPosUV
    • IVertexUV
    • Line<TVertex>
    • Polygon<TVertex>
    • Quad<TVertex>
    • VertexDataPos
    • VertexDataPos2
    • VertexDataPos2UV
    • VertexDataPosColor
    • VertexDataPosNormalColor
    • VertexDataPosNormalUV
    • VertexDataPosUV
  • OpenToolkit.Mathematics
    • AntiVector4d
    • BiVector3d
    • BiVector4d
    • Rotor3

Class BufferData2D<T>

Inheritance
System.Object
BufferData
BufferData2D
BufferData2D<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
BufferData2D.Width
BufferData2D.Height
BufferData2D.PixelFormat
BufferData.Create<T>(T[])
BufferData.Create<T>(T[,])
BufferData.Create<T>(T[,,])
BufferData.Bytes
Namespace: Aximo
Assembly: AxCommon.dll
Syntax
public class BufferData2D<T> : BufferData2D, IEnumerable<T>, IEnumerable where T : struct
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

BufferData2D()

Declaration
public BufferData2D()
| Improve this Doc View Source

BufferData2D(T[], Int32, Int32)

Declaration
public BufferData2D(T[] data, int width, int height)
Parameters
Type Name Description
T[] data
System.Int32 width
System.Int32 height
| Improve this Doc View Source

BufferData2D(T[,])

Declaration
public BufferData2D(T[, ] data)
Parameters
Type Name Description
T[,] data
| Improve this Doc View Source

BufferData2D(Vector2i)

Declaration
public BufferData2D(Vector2i size)
Parameters
Type Name Description
OpenToolkit.Mathematics.Vector2i size
| Improve this Doc View Source

BufferData2D(Int32, Int32)

Declaration
public BufferData2D(int width, int height)
Parameters
Type Name Description
System.Int32 width
System.Int32 height

Properties

| Improve this Doc View Source

ElementSize

Declaration
public override int ElementSize { get; }
Property Value
Type Description
System.Int32
Overrides
BufferData.ElementSize
| Improve this Doc View Source

FirtElement

Declaration
public T FirtElement { get; }
Property Value
Type Description
T
| Improve this Doc View Source

Item[Int32, Int32]

Declaration
public T this[int x, int y] { get; set; }
Parameters
Type Name Description
System.Int32 x
System.Int32 y
Property Value
Type Description
T
| Improve this Doc View Source

Length

Declaration
public override int Length { get; }
Property Value
Type Description
System.Int32
Overrides
BufferData.Length
| Improve this Doc View Source

Memory

Declaration
public Memory<T> Memory { get; }
Property Value
Type Description
System.Memory<T>
| Improve this Doc View Source

SizeX

Declaration
public override int SizeX { get; }
Property Value
Type Description
System.Int32
Overrides
BufferData2D.SizeX
| Improve this Doc View Source

SizeY

Declaration
public override int SizeY { get; }
Property Value
Type Description
System.Int32
Overrides
BufferData2D.SizeY
| Improve this Doc View Source

Span

Declaration
public Span<T> Span { get; }
Property Value
Type Description
System.Span<T>

Methods

| Improve this Doc View Source

Clone()

Declaration
public override BufferData Clone()
Returns
Type Description
BufferData
Overrides
BufferData.Clone()
| Improve this Doc View Source

CreateHandle()

Declaration
public override GCHandle CreateHandle()
Returns
Type Description
System.Runtime.InteropServices.GCHandle
Overrides
BufferData.CreateHandle()
| Improve this Doc View Source

FlipY()

Declaration
public override void FlipY()
Overrides
BufferData2D.FlipY()
| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<T>
| Improve this Doc View Source

Resize(Int32, Int32)

Declaration
public void Resize(int width, int height)
Parameters
Type Name Description
System.Int32 width
System.Int32 height
| Improve this Doc View Source

SetData(T[])

Declaration
public void SetData(T[] data)
Parameters
Type Name Description
T[] data
| Improve this Doc View Source

SetData(T[], Int32, Int32)

Declaration
public void SetData(T[] data, int width, int height)
Parameters
Type Name Description
T[] data
System.Int32 width
System.Int32 height
| Improve this Doc View Source

SetData(T[,])

Declaration
public void SetData(T[, ] data)
Parameters
Type Name Description
T[,] data

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

BufferDataExtentions.CopyTo<T>(BufferData2D<T>, Image)
BufferDataExtentions.ConvertBgraToRgba<T>(BufferData2D<T>)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX