Package org.bytedeco.cuda.cudart
Class cudaTextureDesc
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaTextureDesc
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaTextureDesc extends Pointer
CUDA texture descriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description cudaTextureDesc()Default native constructor.cudaTextureDesc(long size)Native array allocator.cudaTextureDesc(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntPointeraddressMode()intaddressMode(int i)Texture address mode for up to 3 dimensionscudaTextureDescaddressMode(int i, int setter)FloatPointerborderColor()floatborderColor(int i)Texture Border ColorcudaTextureDescborderColor(int i, float setter)intfilterMode()Texture filter modecudaTextureDescfilterMode(int setter)cudaTextureDescgetPointer(long i)intmaxAnisotropy()Limit to the anisotropy ratiocudaTextureDescmaxAnisotropy(int setter)floatmaxMipmapLevelClamp()Upper end of the mipmap level range to clamp access tocudaTextureDescmaxMipmapLevelClamp(float setter)floatminMipmapLevelClamp()Lower end of the mipmap level range to clamp access tocudaTextureDescminMipmapLevelClamp(float setter)intmipmapFilterMode()Mipmap filter modecudaTextureDescmipmapFilterMode(int setter)floatmipmapLevelBias()Offset applied to the supplied mipmap levelcudaTextureDescmipmapLevelBias(float setter)intnormalizedCoords()Indicates whether texture reads are normalized or notcudaTextureDescnormalizedCoords(int setter)cudaTextureDescposition(long position)intreadMode()Texture read modecudaTextureDescreadMode(int setter)intsRGB()Perform sRGB->linear conversion during texture readcudaTextureDescsRGB(int setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
cudaTextureDesc
public cudaTextureDesc()
Default native constructor.
-
cudaTextureDesc
public cudaTextureDesc(long size)
Native array allocator. Access withPointer.position(long).
-
cudaTextureDesc
public cudaTextureDesc(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaTextureDesc position(long position)
-
getPointer
public cudaTextureDesc getPointer(long i)
- Overrides:
getPointerin classPointer
-
addressMode
@Cast("cudaTextureAddressMode") public int addressMode(int i)
Texture address mode for up to 3 dimensions
-
addressMode
public cudaTextureDesc addressMode(int i, int setter)
-
addressMode
@MemberGetter @Cast("cudaTextureAddressMode*") public IntPointer addressMode()
-
filterMode
@Cast("cudaTextureFilterMode") public int filterMode()
Texture filter mode
-
filterMode
public cudaTextureDesc filterMode(int setter)
-
readMode
@Cast("cudaTextureReadMode") public int readMode()
Texture read mode
-
readMode
public cudaTextureDesc readMode(int setter)
-
sRGB
public int sRGB()
Perform sRGB->linear conversion during texture read
-
sRGB
public cudaTextureDesc sRGB(int setter)
-
borderColor
public float borderColor(int i)
Texture Border Color
-
borderColor
public cudaTextureDesc borderColor(int i, float setter)
-
borderColor
@MemberGetter public FloatPointer borderColor()
-
normalizedCoords
public int normalizedCoords()
Indicates whether texture reads are normalized or not
-
normalizedCoords
public cudaTextureDesc normalizedCoords(int setter)
-
maxAnisotropy
@Cast("unsigned int") public int maxAnisotropy()
Limit to the anisotropy ratio
-
maxAnisotropy
public cudaTextureDesc maxAnisotropy(int setter)
-
mipmapFilterMode
@Cast("cudaTextureFilterMode") public int mipmapFilterMode()
Mipmap filter mode
-
mipmapFilterMode
public cudaTextureDesc mipmapFilterMode(int setter)
-
mipmapLevelBias
public float mipmapLevelBias()
Offset applied to the supplied mipmap level
-
mipmapLevelBias
public cudaTextureDesc mipmapLevelBias(float setter)
-
minMipmapLevelClamp
public float minMipmapLevelClamp()
Lower end of the mipmap level range to clamp access to
-
minMipmapLevelClamp
public cudaTextureDesc minMipmapLevelClamp(float setter)
-
maxMipmapLevelClamp
public float maxMipmapLevelClamp()
Upper end of the mipmap level range to clamp access to
-
maxMipmapLevelClamp
public cudaTextureDesc maxMipmapLevelClamp(float setter)
-
-