Uses of Record Class
club.doki7.sdl3.handle.SDL_Surface
Packages that use SDL_Surface
-
Uses of SDL_Surface in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_SurfaceModifier and TypeMethodDescriptionSDL3.acquireCameraFrame
(@Nullable SDL_Camera camera, @Nullable LongPtr timestampNS) Acquire a frame.SDL3.convertSurface
(@Nullable SDL_Surface surface, int format) Copy an existing surface to a new surface of the specified format.SDL3.convertSurfaceAndColorspace
(@Nullable SDL_Surface surface, int format, @Nullable ISDL_Palette palette, int colorspace, int props) Copy an existing surface to a new surface of the specified format and colorspace.SDL3.createSurface
(int width, int height, int format) Allocate a new surface with a specific pixel format.SDL3.createSurfaceFrom
(int width, int height, int format, MemorySegment pixels, int pitch) Allocate a new surface with a specific pixel format and existing pixel data.SDL3.duplicateSurface
(@Nullable SDL_Surface surface) Creates a new surface identical to the existing surface.SDL3.getWindowSurface
(@Nullable SDL_Window window) Get the SDL surface associated with the window.Load a BMP image from a file.SDL3.loadBMP_IO
(@Nullable SDL_IOStream src, boolean closeio) Load a BMP image from a seekable SDL data stream.SDL3.renderReadPixels
(@Nullable SDL_Renderer renderer, @Nullable ISDL_Rect rect) Read pixels from the current rendering target.SDL3.scaleSurface
(@Nullable SDL_Surface surface, int width, int height, int scaleMode) Creates a new surface identical to the existing surface, scaled to the desired size.Methods in club.doki7.sdl3 with parameters of type SDL_SurfaceModifier and TypeMethodDescriptionboolean
SDL3.addSurfaceAlternateImage
(@Nullable SDL_Surface surface, @Nullable SDL_Surface image) Add an alternate version of a surface.boolean
SDL3.blitSurface
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Performs a fast blit from the source surface to the destination surface with clipping.boolean
SDL3.blitSurface9Grid
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, int left_width, int right_width, int top_height, int bottom_height, float scale, int scaleMode, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Perform a scaled blit using the 9-grid algorithm to a destination surface, which may be of a different format.boolean
SDL3.blitSurfaceScaled
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect, int scaleMode) Perform a scaled blit to a destination surface, which may be of a different format.boolean
SDL3.blitSurfaceTiled
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Perform a tiled blit to a destination surface, which may be of a different format.boolean
SDL3.blitSurfaceTiledWithScale
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, float scale, int scaleMode, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Perform a scaled and tiled blit to a destination surface, which may be of a different format.boolean
SDL3.blitSurfaceUnchecked
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Perform low-level surface blitting only.boolean
SDL3.blitSurfaceUncheckedScaled
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect, int scaleMode) Perform low-level surface scaled blitting only.boolean
SDL3.clearSurface
(@Nullable SDL_Surface surface, float r, float g, float b, float a) Clear a surface with a specific color, with floating point precision.SDL3.convertSurface
(@Nullable SDL_Surface surface, int format) Copy an existing surface to a new surface of the specified format.SDL3.convertSurfaceAndColorspace
(@Nullable SDL_Surface surface, int format, @Nullable ISDL_Palette palette, int colorspace, int props) Copy an existing surface to a new surface of the specified format and colorspace.SDL3.createColorCursor
(@Nullable SDL_Surface surface, int hot_x, int hot_y) Create a color cursor.SDL3.createSoftwareRenderer
(@Nullable SDL_Surface surface) Create a 2D software rendering context for a surface.SDL3.createSurfacePalette
(@Nullable SDL_Surface surface) Create a palette and associate it with a surface.SDL3.createTextureFromSurface
(@Nullable SDL_Renderer renderer, @Nullable SDL_Surface surface) Create a texture from an existing surface.SDL3.createTray
(@Nullable SDL_Surface icon, @Nullable BytePtr tooltip) Create an icon to be placed in the operating system's tray, or equivalent.void
SDL3.destroySurface
(@Nullable SDL_Surface surface) Free a surface.SDL3.duplicateSurface
(@Nullable SDL_Surface surface) Creates a new surface identical to the existing surface.boolean
SDL3.fillSurfaceRect
(@Nullable SDL_Surface dst, @Nullable ISDL_Rect rect, int color) Perform a fast fill of a rectangle with a specific color.boolean
SDL3.fillSurfaceRects
(@Nullable SDL_Surface dst, @Nullable ISDL_Rect rects, int count, int color) Perform a fast fill of a set of rectangles with a specific color.boolean
SDL3.flipSurface
(@Nullable SDL_Surface surface, int flip) Flip a surface vertically or horizontally.boolean
SDL3.getSurfaceAlphaMod
(@Nullable SDL_Surface surface, @Nullable BytePtr alpha) Get the additional alpha value used in blit operations.boolean
SDL3.getSurfaceBlendMode
(@Nullable SDL_Surface surface, @Nullable IntPtr blendMode) Get the blend mode used for blit operations.boolean
SDL3.getSurfaceClipRect
(@Nullable SDL_Surface surface, @Nullable ISDL_Rect rect) Get the clipping rectangle for a surface.boolean
SDL3.getSurfaceColorKey
(@Nullable SDL_Surface surface, @Nullable IntPtr key) Get the color key (transparent pixel) for a surface.boolean
SDL3.getSurfaceColorMod
(@Nullable SDL_Surface surface, @Nullable BytePtr r, @Nullable BytePtr g, @Nullable BytePtr b) Get the additional color value multiplied into blit operations.int
SDL3.getSurfaceColorspace
(@Nullable SDL_Surface surface) Get the colorspace used by a surface.SDL3.getSurfaceImages
(@Nullable SDL_Surface surface, @Nullable IntPtr count) Get an array including all versions of a surface.SDL3.getSurfacePalette
(@Nullable SDL_Surface surface) Get the palette used by a surface.int
SDL3.getSurfaceProperties
(@Nullable SDL_Surface surface) Get the properties associated with a surface.boolean
SDL3.lockSurface
(@Nullable SDL_Surface surface) Set up a surface for directly accessing the pixels.int
SDL3.mapSurfaceRGB
(@Nullable SDL_Surface surface, byte r, byte g, byte b) Map an RGB triple to an opaque pixel value for a surface.int
SDL3.mapSurfaceRGBA
(@Nullable SDL_Surface surface, byte r, byte g, byte b, byte a) Map an RGBA quadruple to a pixel value for a surface.boolean
SDL3.premultiplySurfaceAlpha
(@Nullable SDL_Surface surface, boolean linear) Premultiply the alpha in a surface.boolean
SDL3.readSurfacePixel
(@Nullable SDL_Surface surface, int x, int y, @Nullable BytePtr r, @Nullable BytePtr g, @Nullable BytePtr b, @Nullable BytePtr a) Retrieves a single pixel from a surface.boolean
SDL3.readSurfacePixelFloat
(@Nullable SDL_Surface surface, int x, int y, @Nullable FloatPtr r, @Nullable FloatPtr g, @Nullable FloatPtr b, @Nullable FloatPtr a) Retrieves a single pixel from a surface.void
SDL3.releaseCameraFrame
(@Nullable SDL_Camera camera, @Nullable SDL_Surface frame) Release a frame of video acquired from a camera.void
SDL3.removeSurfaceAlternateImages
(@Nullable SDL_Surface surface) Remove all alternate versions of a surface.boolean
SDL3.saveBMP
(@Nullable SDL_Surface surface, @Nullable BytePtr file) Save a surface to a file.boolean
SDL3.saveBMP_IO
(@Nullable SDL_Surface surface, @Nullable SDL_IOStream dst, boolean closeio) Save a surface to a seekable SDL data stream in BMP format.SDL3.scaleSurface
(@Nullable SDL_Surface surface, int width, int height, int scaleMode) Creates a new surface identical to the existing surface, scaled to the desired size.boolean
SDL3.setSurfaceAlphaMod
(@Nullable SDL_Surface surface, byte alpha) Set an additional alpha value used in blit operations.boolean
SDL3.setSurfaceBlendMode
(@Nullable SDL_Surface surface, int blendMode) Set the blend mode used for blit operations.boolean
SDL3.setSurfaceClipRect
(@Nullable SDL_Surface surface, @Nullable ISDL_Rect rect) Set the clipping rectangle for a surface.boolean
SDL3.setSurfaceColorKey
(@Nullable SDL_Surface surface, boolean enabled, int key) Set the color key (transparent pixel) in a surface.boolean
SDL3.setSurfaceColorMod
(@Nullable SDL_Surface surface, byte r, byte g, byte b) Set an additional color value multiplied into blit operations.boolean
SDL3.setSurfaceColorspace
(@Nullable SDL_Surface surface, int colorspace) Set the colorspace used by a surface.boolean
SDL3.setSurfacePalette
(@Nullable SDL_Surface surface, @Nullable ISDL_Palette palette) Set the palette used by a surface.boolean
SDL3.setSurfaceRLE
(@Nullable SDL_Surface surface, boolean enabled) Set the RLE acceleration hint for a surface.void
SDL3.setTrayIcon
(@Nullable SDL_Tray tray, @Nullable SDL_Surface icon) Updates the system tray icon's icon.boolean
SDL3.setWindowIcon
(@Nullable SDL_Window window, @Nullable SDL_Surface icon) Set the icon for a window.boolean
SDL3.setWindowShape
(@Nullable SDL_Window window, @Nullable SDL_Surface shape) Set the shape of a transparent window.boolean
SDL3.stretchSurface
(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect, int scaleMode) Perform a stretched pixel copy from one surface to another.boolean
SDL3.surfaceHasAlternateImages
(@Nullable SDL_Surface surface) Return whether a surface has alternate versions available.boolean
SDL3.surfaceHasColorKey
(@Nullable SDL_Surface surface) Returns whether the surface has a color key.boolean
SDL3.surfaceHasRLE
(@Nullable SDL_Surface surface) Returns whether the surface is RLE enabled.void
SDL3.unlockSurface
(@Nullable SDL_Surface surface) Release a surface after directly accessing the pixels.boolean
SDL3.writeSurfacePixel
(@Nullable SDL_Surface surface, int x, int y, byte r, byte g, byte b, byte a) Writes a single pixel to a surface.boolean
SDL3.writeSurfacePixelFloat
(@Nullable SDL_Surface surface, int x, int y, float r, float g, float b, float a) Writes a single pixel to a surface. -
Uses of SDL_Surface in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_SurfaceModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_Surface
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_SurfaceModifier and TypeMethodDescription@Nullable SDL_Surface
SDL_Surface.Ptr.read()
@Nullable SDL_Surface
SDL_Surface.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_SurfaceMethods in club.doki7.sdl3.handle with parameters of type SDL_SurfaceModifier and TypeMethodDescriptionstatic SDL_Surface.Ptr
SDL_Surface.Ptr.allocate
(Arena arena, @Nullable SDL_Surface[] values) static SDL_Surface.Ptr
SDL_Surface.Ptr.allocateV
(Arena arena, @Nullable SDL_Surface value0, @Nullable SDL_Surface... values) void
SDL_Surface.Ptr.write
(long index, @Nullable SDL_Surface value) void
SDL_Surface.Ptr.write
(@Nullable SDL_Surface value) void
SDL_Surface.Ptr.write
(@Nullable SDL_Surface[] values) void
SDL_Surface.Ptr.writeV
(@Nullable SDL_Surface value0, @Nullable SDL_Surface... values)