• 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 RendererTexture

Inheritance
System.Object
RenderObjectBase
RendererTexture
Implements
IRenderObject
IData
IObjectLabel
IObjectIdentifier
IObjectHandle
System.IDisposable
Inherited Members
RenderObjectBase.Id
RenderObjectBase.Name
RenderObjectBase.Enabled
RenderObjectBase.DrawPriority
RenderObjectBase.UseTransparency
RenderObjectBase.AssignContext(RenderContext)
RenderObjectBase.GetExtraData<T>(String, T)
RenderObjectBase.HasExtraData(String)
RenderObjectBase.SetExraData<T>(String, T, T)
RenderObjectBase.Context
RenderObjectBase.Orphaned
RenderObjectBase.OnScreenResize(ScreenResizeEventArgs)
RenderObjectBase.OnWorldRendered()
RenderObjectBase.Disposed
RenderObjectBase.Dispose()
Namespace: Aximo.Render.OpenGL
Assembly: Aximo.Render.dll
Syntax
public class RendererTexture : RenderObjectBase, IRenderObject, IData, IObjectLabel, IObjectIdentifier, IObjectHandle, IDisposable

Constructors

| Improve this Doc View Source

RendererTexture(Vector3, String)

Declaration
public RendererTexture(Vector3 color, string name)
Parameters
Type Name Description
OpenToolkit.Mathematics.Vector3 color
System.String name
| Improve this Doc View Source

RendererTexture(Image, String)

Declaration
public RendererTexture(Image image, string name)
Parameters
Type Name Description
SixLabors.ImageSharp.Image image
System.String name
| Improve this Doc View Source

RendererTexture(String, TextureTarget, Int32, PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

Declaration
public RendererTexture(string objectLabel, TextureTarget target, int level, PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, IntPtr pixels)
Parameters
Type Name Description
System.String objectLabel
OpenToolkit.Graphics.OpenGL4.TextureTarget target
System.Int32 level
OpenToolkit.Graphics.OpenGL4.PixelInternalFormat internalformat
System.Int32 width
System.Int32 height
System.Int32 border
OpenToolkit.Graphics.OpenGL4.PixelFormat format
OpenToolkit.Graphics.OpenGL4.PixelType type
System.IntPtr pixels

Properties

| Improve this Doc View Source

Format

Declaration
public PixelFormat Format { get; }
Property Value
Type Description
OpenToolkit.Graphics.OpenGL4.PixelFormat
| Improve this Doc View Source

Handle

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

Height

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

ObjectLabel

Declaration
public string ObjectLabel { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ObjectLabelIdentifier

Declaration
public ObjectLabelIdentifier ObjectLabelIdentifier { get; }
Property Value
Type Description
OpenToolkit.Graphics.OpenGL4.ObjectLabelIdentifier
| Improve this Doc View Source

Width

Declaration
public int Width { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Bind(TextureUnit)

Declaration
public void Bind(TextureUnit unit = TextureUnit.Texture0)
Parameters
Type Name Description
OpenToolkit.Graphics.OpenGL4.TextureUnit unit
| Improve this Doc View Source

Bind(Int32)

Declaration
public void Bind(int textureUnit)
Parameters
Type Name Description
System.Int32 textureUnit
| Improve this Doc View Source

CreateArrayShadowMap(PixelInternalFormat, Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

Declaration
public static RendererTexture CreateArrayShadowMap(PixelInternalFormat internalformat, int width, int height, int layers, int border, PixelFormat format, PixelType type, IntPtr pixels)
Parameters
Type Name Description
OpenToolkit.Graphics.OpenGL4.PixelInternalFormat internalformat
System.Int32 width
System.Int32 height
System.Int32 layers
System.Int32 border
OpenToolkit.Graphics.OpenGL4.PixelFormat format
OpenToolkit.Graphics.OpenGL4.PixelType type
System.IntPtr pixels
Returns
Type Description
RendererTexture
| Improve this Doc View Source

CreateCubeArrayShadowMap(PixelInternalFormat, Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

Declaration
public static RendererTexture CreateCubeArrayShadowMap(PixelInternalFormat internalformat, int width, int height, int layers, int border, PixelFormat format, PixelType type, IntPtr pixels)
Parameters
Type Name Description
OpenToolkit.Graphics.OpenGL4.PixelInternalFormat internalformat
System.Int32 width
System.Int32 height
System.Int32 layers
System.Int32 border
OpenToolkit.Graphics.OpenGL4.PixelFormat format
OpenToolkit.Graphics.OpenGL4.PixelType type
System.IntPtr pixels
Returns
Type Description
RendererTexture
| Improve this Doc View Source

CreateCubeShadowMap(PixelInternalFormat, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

Declaration
public static RendererTexture CreateCubeShadowMap(PixelInternalFormat internalformat, int width, int height, int border, PixelFormat format, PixelType type, IntPtr pixels)
Parameters
Type Name Description
OpenToolkit.Graphics.OpenGL4.PixelInternalFormat internalformat
System.Int32 width
System.Int32 height
System.Int32 border
OpenToolkit.Graphics.OpenGL4.PixelFormat format
OpenToolkit.Graphics.OpenGL4.PixelType type
System.IntPtr pixels
Returns
Type Description
RendererTexture
| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
Overrides
RenderObjectBase.Dispose(Boolean)
| Improve this Doc View Source

Free()

Declaration
public override void Free()
Overrides
RenderObjectBase.Free()
| Improve this Doc View Source

GetDepthTexture(BufferData2D<Single>, Boolean)

Declaration
public void GetDepthTexture(BufferData2D<float> target, bool normalize = false)
Parameters
Type Name Description
BufferData2D<System.Single> target
System.Boolean normalize
| Improve this Doc View Source

GetTexture(BufferData2D<Int32>)

Declaration
public void GetTexture(BufferData2D<int> data)
Parameters
Type Name Description
BufferData2D<System.Int32> data
| Improve this Doc View Source

Init()

Declaration
public override void Init()
Overrides
RenderObjectBase.Init()
| Improve this Doc View Source

LoadCubeMap(String)

Declaration
public static RendererTexture LoadCubeMap(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
RendererTexture
| 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

SetClampToBordreWrap()

Declaration
public void SetClampToBordreWrap()
| Improve this Doc View Source

SetClampToEdgeWrap()

Declaration
public void SetClampToEdgeWrap()
| Improve this Doc View Source

SetData(Image)

Declaration
public void SetData(Image image)
Parameters
Type Name Description
SixLabors.ImageSharp.Image image
| Improve this Doc View Source

SetLinearFilter()

Declaration
public void SetLinearFilter()
| Improve this Doc View Source

SetNearestFilter()

Declaration
public void SetNearestFilter()
| Improve this Doc View Source

SetPixelFormat(PixelFormat)

Declaration
public void SetPixelFormat(PixelFormat pixelFormat)
Parameters
Type Name Description
OpenToolkit.Graphics.OpenGL4.PixelFormat pixelFormat

Implements

IRenderObject
IData
IObjectLabel
IObjectIdentifier
IObjectHandle
System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX