@Properties(inherit=cudart.class) public class cudaTextureDesc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
cudaTextureDesc()
Default native constructor.
|
cudaTextureDesc(long size)
Native array allocator.
|
cudaTextureDesc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IntPointer |
addressMode() |
int |
addressMode(int i)
Texture address mode for up to 3 dimensions
|
cudaTextureDesc |
addressMode(int i,
int setter) |
FloatPointer |
borderColor() |
float |
borderColor(int i)
Texture Border Color
|
cudaTextureDesc |
borderColor(int i,
float setter) |
int |
disableTrilinearOptimization()
Disable any trilinear filtering optimizations.
|
cudaTextureDesc |
disableTrilinearOptimization(int setter) |
int |
filterMode()
Texture filter mode
|
cudaTextureDesc |
filterMode(int setter) |
cudaTextureDesc |
getPointer(long i) |
int |
maxAnisotropy()
Limit to the anisotropy ratio
|
cudaTextureDesc |
maxAnisotropy(int setter) |
float |
maxMipmapLevelClamp()
Upper end of the mipmap level range to clamp access to
|
cudaTextureDesc |
maxMipmapLevelClamp(float setter) |
float |
minMipmapLevelClamp()
Lower end of the mipmap level range to clamp access to
|
cudaTextureDesc |
minMipmapLevelClamp(float setter) |
int |
mipmapFilterMode()
Mipmap filter mode
|
cudaTextureDesc |
mipmapFilterMode(int setter) |
float |
mipmapLevelBias()
Offset applied to the supplied mipmap level
|
cudaTextureDesc |
mipmapLevelBias(float setter) |
int |
normalizedCoords()
Indicates whether texture reads are normalized or not
|
cudaTextureDesc |
normalizedCoords(int setter) |
cudaTextureDesc |
position(long position) |
int |
readMode()
Texture read mode
|
cudaTextureDesc |
readMode(int setter) |
int |
seamlessCubemap()
Enable seamless cube map filtering.
|
cudaTextureDesc |
seamlessCubemap(int setter) |
int |
sRGB()
Perform sRGB->linear conversion during texture read
|
cudaTextureDesc |
sRGB(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public cudaTextureDesc()
public cudaTextureDesc(long size)
Pointer.position(long)
.public cudaTextureDesc(Pointer p)
Pointer(Pointer)
.public cudaTextureDesc position(long position)
public cudaTextureDesc getPointer(long i)
getPointer
in class Pointer
@Cast(value="cudaTextureAddressMode") public int addressMode(int i)
public cudaTextureDesc addressMode(int i, int setter)
@MemberGetter @Cast(value="cudaTextureAddressMode*") public IntPointer addressMode()
public cudaTextureDesc filterMode(int setter)
public cudaTextureDesc readMode(int setter)
public int sRGB()
public cudaTextureDesc sRGB(int setter)
public float borderColor(int i)
public cudaTextureDesc borderColor(int i, float setter)
@MemberGetter public FloatPointer borderColor()
public int normalizedCoords()
public cudaTextureDesc normalizedCoords(int setter)
public cudaTextureDesc maxAnisotropy(int setter)
@Cast(value="cudaTextureFilterMode") public int mipmapFilterMode()
public cudaTextureDesc mipmapFilterMode(int setter)
public float mipmapLevelBias()
public cudaTextureDesc mipmapLevelBias(float setter)
public float minMipmapLevelClamp()
public cudaTextureDesc minMipmapLevelClamp(float setter)
public float maxMipmapLevelClamp()
public cudaTextureDesc maxMipmapLevelClamp(float setter)
public int disableTrilinearOptimization()
public cudaTextureDesc disableTrilinearOptimization(int setter)
public int seamlessCubemap()
public cudaTextureDesc seamlessCubemap(int setter)
Copyright © 2024. All rights reserved.