@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 |
filterMode()
Texture filter mode
|
cudaTextureDesc |
filterMode(int setter) |
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 |
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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic cudaTextureDesc()
public cudaTextureDesc(long size)
Pointer.position(long).public cudaTextureDesc(Pointer p)
Pointer.Pointer(Pointer).public cudaTextureDesc position(long position)
@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)
Copyright © 2019. All rights reserved.