Ctrl+K

RenderTarget

Declaration

public class Strawberry.Desktop.Graphics.RenderTarget

Inherits: Strawberry.Graphics.RenderTarget

Constructors

RenderTarget

void RenderTarget(GraphicsContext gc, int width, int height)

Parameters:

Name Type Description
gc Strawberry.Desktop.Graphics.GraphicsContext
width System.Int32
height System.Int32

Properties

Texture override

Texture Texture { get }

Width

int Width { get }

Height

int Height { get }

GraphicsContext override

IGraphicsContext GraphicsContext { get }

Methods

SetFilter override

void SetFilter(TextureFiltering minFilter, TextureFiltering magFilter)

Parameters:

Name Type Description
minFilter Strawberry.Graphics.TextureFiltering
magFilter Strawberry.Graphics.TextureFiltering

CleanManaged protected override

void CleanManaged()