Package org.bytedeco.cuda.cudart
Class textureReference
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.textureReference
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class textureReference extends Pointer
CUDA texture reference
-
-
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 textureReference()Default native constructor.textureReference(long size)Native array allocator.textureReference(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntPointer__cudaReserved()int__cudaReserved(int i)textureReference__cudaReserved(int i, int setter)IntPointeraddressMode()intaddressMode(int i)Texture address mode for up to 3 dimensionstextureReferenceaddressMode(int i, int setter)cudaChannelFormatDescchannelDesc()Channel descriptor for the texture referencetextureReferencechannelDesc(cudaChannelFormatDesc setter)intfilterMode()Texture filter modetextureReferencefilterMode(int setter)textureReferencegetPointer(long i)intmaxAnisotropy()Limit to the anisotropy ratiotextureReferencemaxAnisotropy(int setter)floatmaxMipmapLevelClamp()Upper end of the mipmap level range to clamp access totextureReferencemaxMipmapLevelClamp(float setter)floatminMipmapLevelClamp()Lower end of the mipmap level range to clamp access totextureReferenceminMipmapLevelClamp(float setter)intmipmapFilterMode()Mipmap filter modetextureReferencemipmapFilterMode(int setter)floatmipmapLevelBias()Offset applied to the supplied mipmap leveltextureReferencemipmapLevelBias(float setter)intnormalized()Indicates whether texture reads are normalized or nottextureReferencenormalized(int setter)textureReferenceposition(long position)intsRGB()Perform sRGB->linear conversion during texture readtextureReferencesRGB(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
-
textureReference
public textureReference()
Default native constructor.
-
textureReference
public textureReference(long size)
Native array allocator. Access withPointer.position(long).
-
textureReference
public textureReference(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public textureReference position(long position)
-
getPointer
public textureReference getPointer(long i)
- Overrides:
getPointerin classPointer
-
normalized
public int normalized()
Indicates whether texture reads are normalized or not
-
normalized
public textureReference normalized(int setter)
-
filterMode
@Cast("cudaTextureFilterMode") public int filterMode()
Texture filter mode
-
filterMode
public textureReference filterMode(int setter)
-
addressMode
@Cast("cudaTextureAddressMode") public int addressMode(int i)
Texture address mode for up to 3 dimensions
-
addressMode
public textureReference addressMode(int i, int setter)
-
addressMode
@MemberGetter @Cast("cudaTextureAddressMode*") public IntPointer addressMode()
-
channelDesc
@ByRef public cudaChannelFormatDesc channelDesc()
Channel descriptor for the texture reference
-
channelDesc
public textureReference channelDesc(cudaChannelFormatDesc setter)
-
sRGB
public int sRGB()
Perform sRGB->linear conversion during texture read
-
sRGB
public textureReference sRGB(int setter)
-
maxAnisotropy
@Cast("unsigned int") public int maxAnisotropy()
Limit to the anisotropy ratio
-
maxAnisotropy
public textureReference maxAnisotropy(int setter)
-
mipmapFilterMode
@Cast("cudaTextureFilterMode") public int mipmapFilterMode()
Mipmap filter mode
-
mipmapFilterMode
public textureReference mipmapFilterMode(int setter)
-
mipmapLevelBias
public float mipmapLevelBias()
Offset applied to the supplied mipmap level
-
mipmapLevelBias
public textureReference mipmapLevelBias(float setter)
-
minMipmapLevelClamp
public float minMipmapLevelClamp()
Lower end of the mipmap level range to clamp access to
-
minMipmapLevelClamp
public textureReference minMipmapLevelClamp(float setter)
-
maxMipmapLevelClamp
public float maxMipmapLevelClamp()
Upper end of the mipmap level range to clamp access to
-
maxMipmapLevelClamp
public textureReference maxMipmapLevelClamp(float setter)
-
__cudaReserved
public int __cudaReserved(int i)
-
__cudaReserved
public textureReference __cudaReserved(int i, int setter)
-
__cudaReserved
@MemberGetter public IntPointer __cudaReserved()
-
-