Modules

nvtt

moduleSource

Available on macOS, Linux, Windows·since 0.31.0

#import "nvtt";

Procedures#

OutputHandler_beginImage3 overloadssince 0.31.0Source
(this: *OutputHandler, size: s32, width: s32, height: s32, depth: s32, face: s32, miplevel: s32)
(this: *OutputHandler, size: s32, width: s32, height: s32, depth: s32, face: s32, miplevel: s32)
(this: *OutputHandler, size: s32, width: s32, height: s32, depth: s32, face: s32, miplevel: s32)
histogramforeign12 overloadsSource
(img: *Surface, width: s32, height: s32) -> Surface
(img: *Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
(img: *Surface, width: s32, height: s32) -> Surface
(img: *Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
(img: *Surface, width: s32, height: s32) -> Surface
(img: *Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
(img: Surface, width: s32, height: s32) -> Surface
(img: Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
(img: Surface, width: s32, height: s32) -> Surface
(img: Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
(img: Surface, width: s32, height: s32) -> Surface
(img: Surface, minRange: float, maxRange: float, width: s32, height: s32) -> Surface
operator_assignforeign12 overloadsSource
(this: *Surface, img: *Surface) -> void
(this: *CubeSurface, img: *CubeSurface) -> void
(this: *Surface, img: *Surface) -> void
(this: *CubeSurface, img: *CubeSurface) -> void
(this: *Surface, img: *Surface) -> void
(this: *CubeSurface, img: *CubeSurface) -> void
(this: *Surface, img: Surface)
(this: *CubeSurface, img: CubeSurface)
(this: *Surface, img: Surface)
(this: *CubeSurface, img: CubeSurface)
(this: *Surface, img: Surface)
(this: *CubeSurface, img: CubeSurface)

Types#

CubeLayoutenumforeignSource
:: enum
VerticalCross
HorizontalCross
Column
Row
LatitudeLongitude
ErrorenumforeignSource
:: enum
Unknown
InvalidInput
UnsupportedFeature
CudaError
FileOpen
FileWrite
UnsupportedOutputFormat
Count
FormatenumforeignSource
:: enum
RGB
RGBA
DXT1
DXT1a
DXT3
DXT5
DXT5n
BC1
BC1a
BC2
BC3
BC3n
BC4
BC5
DXT1n
CTX1
BC6
BC7
BC3_RGBM
ETC1
ETC2_R
ETC2_RG
ETC2_RGB
ETC2_RGBA
ETC2_RGB_A1
ETC2_RGBM
PVR_2BPP_RGB
PVR_4BPP_RGB
PVR_2BPP_RGBA
PVR_4BPP_RGBA
Count
:: struct
Destructor: #type (this: *OutputHandler, flags: Msvc_Destructor_Flags = .NONE) -> void #cpp_method
beginImage: #type (this: *OutputHandler, size: s32, width: s32, height: s32, depth: s32, face: s32, miplevel: s32) -> void #cpp_method
writeData: #type (this: *OutputHandler, data: *void, size: s32) -> bool #cpp_method
endImage: #type (this: *OutputHandler) -> void #cpp_method
PixelTypeenumforeignSource
:: enum
UnsignedNorm
SignedNorm
UnsignedInt
SignedInt
Float
UnsignedFloat
SharedExp
QualityenumforeignSource
:: enum
Fastest
Normal
Production
Highest
RoundModeenumforeignSource
:: enum
None
ToNextPowerOfTwo
ToNearestPowerOfTwo
ToPreviousPowerOfTwo
ToNextMultipleOfFour
ToNearestMultipleOfFour
ToPreviousMultipleOfFour
TasktypeforeignSource
:: #type (_context: *void, id: s32) -> void #c_call
:: #type (x: *float, y: *float, d: *float) -> void #c_call

Constants#