SdlTexturePointerEx extension

on

Methods

destroy() bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Destroy the specified texture.
getAlphaMod() int?

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Get the additional alpha value multiplied into render copy operations.
getBlendMode() int?

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Get the blend mode used for texture copy operations.
getColorMod() int?

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Get the additional color value multiplied into render copy operations.
getScaleMode() int?

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Get the scale mode used for texture scale operations.
getSize() Point<double>?

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Get the size of a texture, as floating point values.
lock(Pointer<SdlRect> rect, Pointer<Pointer<NativeType>> pixels, Pointer<Int32> pitch) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Lock a portion of the texture for write-only pixel access.
lockToSurface(Pointer<SdlRect> rect, Pointer<Pointer<SdlSurface>> surface) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Lock a portion of the texture for write-only pixel access, and expose it as a SDL surface.
setAlphaMod(int alpha) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Set an additional alpha value multiplied into render copy operations.
setBlendMode(int blendMode) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Set the blend mode for a texture, used by SDL_RenderTexture().
setColorMod(int r, int g, int b) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Set an additional color value multiplied into render copy operations.
setScaleMode(int scaleMode) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Set the scale mode used for texture scale operations.
unlock() → void

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Unlock a texture, uploading the changes to video memory, if needed.
update(Pointer<SdlRect> rect, Pointer<NativeType> pixels, int pitch) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Update the given texture rectangle with new pixel data.
updateNv(Pointer<SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uVplane, int uVpitch) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Update a rectangle within a planar NV12 or NV21 texture with new pixels.
updateYuv(Pointer<SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uplane, int upitch, Pointer<Uint8> vplane, int vpitch) bool

Available on Pointer<SdlTexture>, provided by the SdlTexturePointerEx extension

Update a rectangle within a planar YV12 or IYUV texture with new pixel data.