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 TypeMethodDescriptionbooleanSDL3.addSurfaceAlternateImage(@Nullable SDL_Surface surface, @Nullable SDL_Surface image) Add an alternate version of a surface.booleanSDL3.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.booleanSDL3.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.booleanSDL3.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.booleanSDL3.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.booleanSDL3.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.booleanSDL3.blitSurfaceUnchecked(@Nullable SDL_Surface src, @Nullable ISDL_Rect srcrect, @Nullable SDL_Surface dst, @Nullable ISDL_Rect dstrect) Perform low-level surface blitting only.booleanSDL3.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.booleanSDL3.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.voidSDL3.destroySurface(@Nullable SDL_Surface surface) Free a surface.SDL3.duplicateSurface(@Nullable SDL_Surface surface) Creates a new surface identical to the existing surface.booleanSDL3.fillSurfaceRect(@Nullable SDL_Surface dst, @Nullable ISDL_Rect rect, int color) Perform a fast fill of a rectangle with a specific color.booleanSDL3.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.booleanSDL3.flipSurface(@Nullable SDL_Surface surface, int flip) Flip a surface vertically or horizontally.booleanSDL3.getSurfaceAlphaMod(@Nullable SDL_Surface surface, @Nullable BytePtr alpha) Get the additional alpha value used in blit operations.booleanSDL3.getSurfaceBlendMode(@Nullable SDL_Surface surface, @Nullable IntPtr blendMode) Get the blend mode used for blit operations.booleanSDL3.getSurfaceClipRect(@Nullable SDL_Surface surface, @Nullable ISDL_Rect rect) Get the clipping rectangle for a surface.booleanSDL3.getSurfaceColorKey(@Nullable SDL_Surface surface, @Nullable IntPtr key) Get the color key (transparent pixel) for a surface.booleanSDL3.getSurfaceColorMod(@Nullable SDL_Surface surface, @Nullable BytePtr r, @Nullable BytePtr g, @Nullable BytePtr b) Get the additional color value multiplied into blit operations.intSDL3.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.intSDL3.getSurfaceProperties(@Nullable SDL_Surface surface) Get the properties associated with a surface.booleanSDL3.lockSurface(@Nullable SDL_Surface surface) Set up a surface for directly accessing the pixels.intSDL3.mapSurfaceRGB(@Nullable SDL_Surface surface, byte r, byte g, byte b) Map an RGB triple to an opaque pixel value for a surface.intSDL3.mapSurfaceRGBA(@Nullable SDL_Surface surface, byte r, byte g, byte b, byte a) Map an RGBA quadruple to a pixel value for a surface.booleanSDL3.premultiplySurfaceAlpha(@Nullable SDL_Surface surface, boolean linear) Premultiply the alpha in a surface.booleanSDL3.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.booleanSDL3.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.voidSDL3.releaseCameraFrame(@Nullable SDL_Camera camera, @Nullable SDL_Surface frame) Release a frame of video acquired from a camera.voidSDL3.removeSurfaceAlternateImages(@Nullable SDL_Surface surface) Remove all alternate versions of a surface.booleanSDL3.saveBMP(@Nullable SDL_Surface surface, @Nullable BytePtr file) Save a surface to a file.booleanSDL3.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.booleanSDL3.setSurfaceAlphaMod(@Nullable SDL_Surface surface, byte alpha) Set an additional alpha value used in blit operations.booleanSDL3.setSurfaceBlendMode(@Nullable SDL_Surface surface, int blendMode) Set the blend mode used for blit operations.booleanSDL3.setSurfaceClipRect(@Nullable SDL_Surface surface, @Nullable ISDL_Rect rect) Set the clipping rectangle for a surface.booleanSDL3.setSurfaceColorKey(@Nullable SDL_Surface surface, boolean enabled, int key) Set the color key (transparent pixel) in a surface.booleanSDL3.setSurfaceColorMod(@Nullable SDL_Surface surface, byte r, byte g, byte b) Set an additional color value multiplied into blit operations.booleanSDL3.setSurfaceColorspace(@Nullable SDL_Surface surface, int colorspace) Set the colorspace used by a surface.booleanSDL3.setSurfacePalette(@Nullable SDL_Surface surface, @Nullable ISDL_Palette palette) Set the palette used by a surface.booleanSDL3.setSurfaceRLE(@Nullable SDL_Surface surface, boolean enabled) Set the RLE acceleration hint for a surface.voidSDL3.setTrayIcon(@Nullable SDL_Tray tray, @Nullable SDL_Surface icon) Updates the system tray icon's icon.booleanSDL3.setWindowIcon(@Nullable SDL_Window window, @Nullable SDL_Surface icon) Set the icon for a window.booleanSDL3.setWindowShape(@Nullable SDL_Window window, @Nullable SDL_Surface shape) Set the shape of a transparent window.booleanSDL3.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.booleanSDL3.surfaceHasAlternateImages(@Nullable SDL_Surface surface) Return whether a surface has alternate versions available.booleanSDL3.surfaceHasColorKey(@Nullable SDL_Surface surface) Returns whether the surface has a color key.booleanSDL3.surfaceHasRLE(@Nullable SDL_Surface surface) Returns whether the surface is RLE enabled.voidSDL3.unlockSurface(@Nullable SDL_Surface surface) Release a surface after directly accessing the pixels.booleanSDL3.writeSurfacePixel(@Nullable SDL_Surface surface, int x, int y, byte r, byte g, byte b, byte a) Writes a single pixel to a surface.booleanSDL3.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 recordRepresents a pointer toSDL_Surfacehandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_SurfaceModifier and TypeMethodDescription@Nullable SDL_SurfaceSDL_Surface.Ptr.read()@Nullable SDL_SurfaceSDL_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.PtrSDL_Surface.Ptr.allocate(Arena arena, @Nullable SDL_Surface[] values) static SDL_Surface.PtrSDL_Surface.Ptr.allocateV(Arena arena, @Nullable SDL_Surface value0, @Nullable SDL_Surface... values) voidSDL_Surface.Ptr.write(long index, @Nullable SDL_Surface value) voidSDL_Surface.Ptr.write(@Nullable SDL_Surface value) voidSDL_Surface.Ptr.write(@Nullable SDL_Surface[] values) voidSDL_Surface.Ptr.writeV(@Nullable SDL_Surface value0, @Nullable SDL_Surface... values)