SdlTexturePointerEx extension
- on
Methods
-
destroy(
) → bool -
Available on Pointer<
Destroy the specified texture.SdlTexture> , provided by the SdlTexturePointerEx extension -
getAlphaMod(
) → int? -
Available on Pointer<
Get the additional alpha value multiplied into render copy operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
getBlendMode(
) → int? -
Available on Pointer<
Get the blend mode used for texture copy operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
getColorMod(
) → int? -
Available on Pointer<
Get the additional color value multiplied into render copy operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
getScaleMode(
) → int? -
Available on Pointer<
Get the scale mode used for texture scale operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
getSize(
) → Point< double> ? -
Available on Pointer<
Get the size of a texture, as floating point values.SdlTexture> , provided by the SdlTexturePointerEx extension -
lock(
Pointer< SdlRect> rect, Pointer<Pointer< pixels, Pointer<NativeType> >Int32> pitch) → bool -
Available on Pointer<
Lock a portion of the texture for write-only pixel access.SdlTexture> , provided by the SdlTexturePointerEx extension -
lockToSurface(
Pointer< SdlRect> rect, Pointer<Pointer< surface) → boolSdlSurface> > -
Available on Pointer<
Lock a portion of the texture for write-only pixel access, and expose it as a SDL surface.SdlTexture> , provided by the SdlTexturePointerEx extension -
setAlphaMod(
int alpha) → bool -
Available on Pointer<
Set an additional alpha value multiplied into render copy operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
setBlendMode(
int blendMode) → bool -
Available on Pointer<
Set the blend mode for a texture, used by SDL_RenderTexture().SdlTexture> , provided by the SdlTexturePointerEx extension -
setColorMod(
int r, int g, int b) → bool -
Available on Pointer<
Set an additional color value multiplied into render copy operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
setScaleMode(
int scaleMode) → bool -
Available on Pointer<
Set the scale mode used for texture scale operations.SdlTexture> , provided by the SdlTexturePointerEx extension -
unlock(
) → void -
Available on Pointer<
Unlock a texture, uploading the changes to video memory, if needed.SdlTexture> , provided by the SdlTexturePointerEx extension -
update(
Pointer< SdlRect> rect, Pointer<NativeType> pixels, int pitch) → bool -
Available on Pointer<
Update the given texture rectangle with new pixel data.SdlTexture> , provided by the SdlTexturePointerEx extension -
updateNv(
Pointer< SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uVplane, int uVpitch) → bool -
Available on Pointer<
Update a rectangle within a planar NV12 or NV21 texture with new pixels.SdlTexture> , provided by the SdlTexturePointerEx extension -
updateYuv(
Pointer< SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uplane, int upitch, Pointer<Uint8> vplane, int vpitch) → bool -
Available on Pointer<
Update a rectangle within a planar YV12 or IYUV texture with new pixel data.SdlTexture> , provided by the SdlTexturePointerEx extension