Skip to content
On this page

class ShaderParameterSamplerState

ShaderParameterSamplerState defines a named sampler state that override default sampler state and can be shared between multiple spShaderParameterSampler's.

Properties

PropertyDescription
AddressUThe addressing mode for U coordinate outside of [0,1)
AddressVThe addressing mode for V coordinate outside of [0,1)
AddressWThe addressing mode for W coordinate outside of [0,1)
MagFilterThe magnification filter to apply to texture lookups.
MinFilterThe minification filter to apply to texture lookups.
NameThe name of the ShaderParameterSamplerState object. (Inherited from Object)
UnNormalizedCoordinatesThe flag controls weather texture coordinates are normalized or not. If set to true the allowed coordinate range is zero to image. If set to false range is zero to one. Is false by default.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClassGet the name of the ShaderParameterSamplerState class. (Inherited from Object)
IsAReturns true if ShaderParameterSamplerState is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the ShaderParameterSamplerState object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the ShaderParameterSamplerState object is valid. (Inherited from Object)
NonNullReturns true if the ShaderParameterSamplerState object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the ShaderParameterSamplerState object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spShaderParameterSamplerState, and if this is the case, returns the object cast into spShaderParameterSamplerState. (Inherited from Object)

Properties details

AddressU

The addressing mode for U coordinate outside of [0,1)

AddressV

The addressing mode for V coordinate outside of [0,1)

AddressW

The addressing mode for W coordinate outside of [0,1)

MagFilter

The magnification filter to apply to texture lookups.

MinFilter

The minification filter to apply to texture lookups.

Name

The name of the ShaderParameterSamplerState object. (Inherited from Object)

UnNormalizedCoordinates

The flag controls weather texture coordinates are normalized or not. If set to true the allowed coordinate range is zero to image. If set to false range is zero to one. Is false by default.

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

GetClass

Get the name of the ShaderParameterSamplerState class. (Inherited from Object)

IsA

Returns true if ShaderParameterSamplerState is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the ShaderParameterSamplerState object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the ShaderParameterSamplerState object is valid. (Inherited from Object)

NonNull

Returns true if the ShaderParameterSamplerState object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the ShaderParameterSamplerState object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spShaderParameterSamplerState, and if this is the case, returns the object cast into spShaderParameterSamplerState. (Inherited from Object)